Nios & external RAM

Hi,

Is there a chance to use 32bit Nios with 16 bit external SRAM? When I add 16bit RAM in SOPC, I got upper and lower words written with the same value. For example:

Nios32_ram16bit.A

+m40000 #00040000: 35C0 35C0 6C40 6C40 3000 3000 736F 736F #00040010: 3301 3301 0038 0038 0038 0038 7FDF 7FDF #00040020: 7817 7817 9801 9801 9800 9800 9853 9853 #00040030: 9800 9800 7FF2 7FF2 3208 3208 0430 0430

Have you got any ideas how to do it? BTW: Device is EP1C6

--
Jerry
Reply to
jerry1111
Loading thread data ...

Ehhh... It was completely my fault. I forgot that RAM pin A0 is connected to A1/A17 _not_ to A1 (on Nios EP20K200 board).

Now everything is working perfectly :-)

--
Jerry
Reply to
jerry1111

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.