Forum Discussion
Altera_Forum
Honored Contributor
14 years agoSharing access to SDRAM between NIOS and hardware
I want to develop a system where nios would run on and read data from the RAM, but i want to store a constantly updating data on the RAM using hardware. Is is possible to implement such a system on C...
Altera_Forum
Honored Contributor
14 years agoIf you put an Avalon MM master interface on your verilog block it can use that to access memory that can be also be accessed from the NIos, the Avalon 'bus' interface logic will hande arbitration between the two masters.
For on-chip memory blocks you can dual-port them between a nios cpu tightly-coupled data block and the avalon bus - this gives the cpu faster access and avoids any issues with the data cache 'interfering' with IO accesses.