Altera_Forum
Honored Contributor
10 years agowhy nios occupy much more M9K blocks than its on-chip memory size?
hi, everyone.
i use max10 08SAE, it has 387.072 bits , 44 M9K i build a nios system, with 20480 bytes on chip memory (20480*8=163840 bits), after compile the project, the report shows the project use 33% of the total memory. but when i check the ram summary in fitter=>resource sention=>ram summary i find the nios use 42 M9K rams!, almost use all of the block ram on the chip! in the report, the on-chip memory use 32 M9Ks! but it size is only 163840 bits! the report shows the on-chip memory depth is 5120, width is 32bits i have following questions: 1. why is cost so many M9Ks? is there any way to prevent this situation? 2.how should i set the on-chip memory size, to use the rams on fpga more efficiently? btw: i up load the ram report