Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHi,
Thanks very much for your replying. I had checked the system function you mentioned, and found that they seemed can only initialize rams declared by registers, for I hadn't found any example of initializing instance of altsyncram by readmemh. I'm not sure if I had lost any message or example, so I'll try your suggestion and post the result latter. In other words, I'm trying to use ' dont_replicate ' attribute to workaround the duplication of resource by declaring RAM like this:(* romstyle = "M-RAM", dont_replicate *) reg rams; But the time consumed by analyze&synthesis seems too long, I don't know if it really works and feel it will go bad... Is there any other way to implement a onchip-ram based dual-port RAM block?