Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

DP83847 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&#39;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&#39;ve to connect these pins or, at least, their meanings/functions?

Thanks a lot.

7 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by jdhar@Apr 13 2006, 04:24 PM

    no, you don&#39;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&#39;m in trouble for a lot of question. I&#39;ve to make a New Component in SOPC Builder, that&#39;s right? But, when I start the New Component Wizard, SOPC ask me for many question like "signal", in example, which I don&#39;t have any idea. In documentation, I don&#39;t see any reference about this and I haven&#39;t find any manual for implement this OpenCore driver in Nios.

    Can you help me?

    Thanks a lot.

    G.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    can you give the name of your dev board?

    maybe you can request a avalon core from your altera fae.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You have the correct core, but as you have found, it&#39;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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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&#39;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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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&#39;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&#39;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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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