Forum Discussion
Altera_Forum
Honored Contributor
17 years ago8-bit progam memory problem
I have a Nios II, Quartus 8.1 project running on a board with 8-bit wide external SRAM. If I load the program to on-chip memory it runs correctly and is able to do a memory test of the SRAM withou...
Altera_Forum
Honored Contributor
17 years agoProblem solved.
I had to edit the EXT_SRAM_hw.tcl file created by the component editor, using a text editor. Then change the line: set_interface_property MemoryInterface addressAlignment NATIVE to: set_interface_property MemoryInterface addressAlignment DYNAMIC or just delete the whole line. This causes the system to do four byte reads to the SRAM for every Avalon bus read. This line got put in automatically but there is no user interface control to change it.