Altera_Forum
Honored Contributor
16 years agoNIOS II byte enables?
I have a nios II system and some custom slaves. I understand that the Nios II address space is mapped to 32 bit wide registers. When I make readdata or writedata in my slaves 8 or 16 bits the CPU executes 4 or 2 writes and increments the original address when doing subsequent writes. I have read throught the documentation and undrestand that this is normal.
Is there a way to make the CPU only write once to an 8 or 16 bit register? Will byte enables help? My fix at the moment is make all read and write data lines in my slaves 32 bits. But for something like a uart, they really only need to be 8 bits. Please advise.:confused: