Forum Discussion
Altera_Forum
Honored Contributor
12 years agoGetting Nios to talk to on chip logic
Total newbie question but what is the best way to get Nios to talk to custom on chip logic ? I'm setting up a special counter in logic that I'd like to have Nios control and read. Do I need to set up...
Altera_Forum
Honored Contributor
12 years agoYou need to access the logic via the avalon bus.
I think you can use a generic 'pio' interface, but writing a avalon slave isn't that hard and will give greater flexibility (and probably remove some clock delays). Do make sure you generate a 32bit slave - even if you ignore the high bytes. Also the nios always asserts all 4 byte enables on reads.