Forum Discussion
Tomoya3
New Contributor
2 years agoHow to assign memory bits?
I have created a TrueDualPortMemory in VerilogHDL. I can't assign reg to memorybit. reg [15:0]mem_a16_h[7:0]; I used Assignment Editor but it did not work. How to assign it? FPGA:10M04SCU Qua...
sstrell
Super Contributor
2 years agoYes as long as you've used a template or followed the recommended coding guidelines (https://www.intel.com/content/www/us/en/docs/programmable/683082/23-1/recommended-design-practices.html), RAM blocks are inferred and used automatically. That assignment is more often used to *prevent* using on-chip RAM for a memory, usually in cases where you don't need the performance of a dedicated RAM block, devoting the actual RAM blocks for more critical functions.