Forum Discussion
Altera_Forum
Honored Contributor
20 years agoDP83847 and NiosII
Good Morning,
I purchased a (f****d) development board with a National DP83847 Ethernet Phy chip. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif Is it possible to use lan91c111 SOPC Builder component? I tried to generate a cpu with this component and I get 4 new pins, but I don't know where they have to be connected. These pins are: - irq_from_the_lan91c111 - ior_n_to_the_lan91c111 - iow_n_to_the_lan91c111 - reset_to_the_lan91c111 Someone knows where I've to connect these pins or, at least, their meanings/functions? Thanks a lot.7 Replies
- Altera_Forum
Honored Contributor
no, you don't want that core:
http://forum.niosforum.com/forum/index.php?showtopic=3693 (http://forum.niosforum.com/forum/index.php?showtopic=3693) Get the latest snapshot of 2.6.12, and use the OpenCores driver. You need to implement the OpenCores 10/100 MAC inside the FPGA - you have a PHY chip, while teh LAN91C111 is a MAC/PHY - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by jdhar@Apr 13 2006, 04:24 PM no, you don't want that core:http://forum.niosforum.com/forum/index.php?showtopic=3693 (http://forum.niosforum.com/forum/index.php?showtopic=3693)
get the latest snapshot of 2.6.12, and use the opencores driver. you need to implement the opencores 10/100 mac inside the fpga - you have a phy chip, while teh lan91c111 is a mac/phy
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14337)
--- quote end ---
--- Quote End --- Thanks. But the OpenCores 10/100 MAC which you refer is this? http://www.opencores.org/cvsweb.shtml/ethernet/ (http://www.opencores.org/cvsweb.shtml/ethernet/) I tried to compile it in Quartus but I'm in trouble for a lot of question. I've to make a New Component in SOPC Builder, that's right? But, when I start the New Component Wizard, SOPC ask me for many question like "signal", in example, which I don't have any idea. In documentation, I don't see any reference about this and I haven't find any manual for implement this OpenCore driver in Nios. Can you help me? Thanks a lot. G.
- Altera_Forum
Honored Contributor
can you give the name of your dev board?
maybe you can request a avalon core from your altera fae. - Altera_Forum
Honored Contributor
You have the correct core, but as you have found, it's a Wishbone core, not an Avalon core. You need a wrapper for it. Unfortunately, I cannot give you mine since it was obtained from Marc in MaCo engineering (do a search and email him, he gives it out free usually). Or as hippo mentioned, FAEs have the core sometimes as well.
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Apr 14 2006, 09:15 AM can you give the name of your dev board?maybe you can request a avalon core from your altera fae.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14364)
--- quote end ---
--- Quote End --- My DevBoard is the f***d "DBC1C12" devboards.de's board. For more informations, http://www.devboards.de/index.php?mode=products&kategorie=14 (http://www.devboards.de/index.php?mode=products&kategorie=14) Thanks.
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by g.sanzi@Apr 13 2006, 05:22 AM good morning,i purchased a (f****d) development board with a national dp83847 ethernet phy chip. http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/unsure.gif
is it possible to use lan91c111 sopc builder component? i tried to generate a cpu with this component and i get 4 new pins, but i don't know where they have to be connected. these pins are:
- irq_from_the_lan91c111
- ior_n_to_the_lan91c111
- iow_n_to_the_lan91c111
- reset_to_the_lan91c111
someone knows where i've to connect these pins or, at least, their meanings/functions?
thanks a lot.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14326)
--- quote end ---
--- Quote End --- I have the same problem. - irq_from_the_lan91c111 maybe ENET_INTRQ - ior_n_to_the_lan91c111 maybe ENET_IOR_N - iow_n_to_the_lan91c111 maybe ENET_IOW_N - reset_to_the_lan91c111 ???? Someone Help ,please. thanks a lot.
- Altera_Forum
Honored Contributor
If you have the DBC2C20 board than their homepage states: "Several Ethernet based reference designs, a NIOSII getting started tutorial, and a standard reference designs are delivered with the board."
If you would like to conect a LAN91C111 chip to your custom board than: - check the schematic and Quartus project for one of the Altera Nios II Development Kits (the one that uses the same Altera chip) - check Quartus II projects for the board for example the Full Featured The schematic and projects can be found in your Quartus and Nios installation directory under: C:\altera\kits\nios2_60\documents C:\altera\kits\nios2_60\examples\vhdl IzI