Forum Discussion
Altera_Forum
Honored Contributor
21 years agohow to change the class file for the sram
I wanna use a sram named is61lv25616 in nios system!
so I change the parameters in up3 sram! the parameters in up3 sram is: WIZARD_SCRIPT_ARGUMENTS { sram_memory_size = "128"; sram_memory_units = "1024"; sram_data_width = "16"; } SLAVE s1 { PORT_WIRING { PORT data { width = "16"; is_shared = "1"; direction = "inout"; type = "data"; } PORT address { width = "16"; is_shared = "1"; direction = "input"; type = "address"; the result I changed is: WIZARD_SCRIPT_ARGUMENTS { sram_memory_size = "512"; sram_memory_units = "2048"; sram_data_width = "16"; } SLAVE s1 { PORT_WIRING { PORT data { width = "16"; is_shared = "1"; direction = "inout"; type = "data"; } PORT address { width = "18"; is_shared = "1"; direction = "input"; type = "address"; } but after I gererate the system ,the the address in symbol is from 19 to 0, but I think 18 to 0 is right! who can help me?????1 Reply
- Altera_Forum
Honored Contributor
Hi sybase2008,
That's not a good idea to modify the sram component of up3. You can make that sram component under SOPC component editor, very easy. Up3 board has some special feature: besides databus. Its address bus is shared by sram, sdram, flash, etc. A multiplexer is needed in the top design. Up3 board may be different from your board, so just get ride of sram_up3. Cheers,