Altera_Forum
Honored Contributor
17 years ago"IORD_8DIRECT" reads 32 Bit ?
Hi,
(I've tried to find something related to my problem, but without success. So I'm sorry if there is already a thread about this!) I've connected a parallel RAM over a tristate bridge to my Cyclone III, running a NIOS2. Using "SignalTap", I've seen the following strange behaviour. Performing write accesses with the IO-macros: IOWR: 32 Bit write IOWR_8DIRECT: 8 Bit write IOWR_16DIRECT: 16 Bit write IOWR_32DIRECT: 32 Bit write (as intended) but performing read accesses: IORD: 32 Bit read IORD_8DIRECT: 32 Bit read IORD_16DIRECT: 32 Bit read IORD_32DIRECT: 32 Bit read (as NOT intended) I know, that NIOS2 has 32bit width, but the external memory I use is a DPRAM of an ASIC using 8 bit mode and I somehow need to get a 8-bit read-access working, because the ASIC recognizes each read-access and for example toggles some status flags after it. And thats why it is not sufficient, that NIOS is ignoring the other 24 bits. I would be glad, if someone has got an answer about the question, if this is a bug or a feature ;) (Or maybe my incompetence). Thank you, bye Harry.