Altera_Forum
Honored Contributor
20 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?????