Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12605 Discussions

Different number of address pins

Altera_Forum
Honored Contributor II
1,182 Views

The LAN91c111 chip has 15 address pins. The NIOS II module for LAN91c111 has 16. How do I have to connect the pins? What&#39;s about the remaining pin? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif  

I&#39;m using quartus 4.2.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
233 Views

I don&#39;t know if it is an answer to your question, but when I looked at the standard reference designs, I noticed that the reset_n_to_the_lan91c111 isn&#39;t connected.

0 Kudos
Altera_Forum
Honored Contributor II
233 Views

I think I was a little bit unclear.  

The lan91c111 chip has 15 address bits [15..1]. But my SOPC module generates 16 [15..0] address bits. The other pins are OK.
0 Kudos
Altera_Forum
Honored Contributor II
233 Views

The reference designs in the Nios II kits don&#39;t have reset_n_to_the_lan91c111 connected because the MAX part on the PCB is controlling the reset. If you don&#39;t have such a setup then you would have to use it. Also I forget if that chip used reset_n or reset (the lan controller in SOPC builder used to export the wrong polarity). So check the data sheet of the lan91c111 to determine if you should throw an inverter on the reset signal or not. 

 

Because the controller is hooked up to the tri-state bridge, those addresses are byte addresses (15..0). The chip uses 16 bit wide data so just use the top 15 bits when you wire it (take a look at the schematic for the Nios development boards and you will see this wiring).
0 Kudos
Reply