Altera_Forum
Honored Contributor
12 years agoProblems inferring memory for Arria V
Hello
With my transition from Startix III to Arria V, i thought it to be a good idea to have my block memory inferred instead of instantiated/MegaWizzard generated for better portability. My idea is to just replace whats there, which works perfect for the easier cases. However, I have not found any solution for the following issues: A: True dual port read enable signals. How can this be realized. Up to now I tried many variants, always ending up with "inferring not possible due to asynchronous output logic". Read-during-write is not a need for me, as this is not occuring by design. In a first step, a single clock is viable. Is there any way to get this running (obviously the HW is there, as the MegaWizzard can do it)? B: Initialisation of RAM content. I see a correct internal .mif file beeing generated, when I assign hard coded values to the RAM array initialisation (e.g. Info (286033): Parameter INIT_FILE set to db/....mif). However, when assigning data read from a file in the init part of my VHDL code, no initialisation .mif is generated (the assignment itself succeeded well, Modelsim simulation yields perfect results). Does Quartus not support the textio library? How can I get this to run (I dont want to use the synthesis attribute ram_init_file, as simulation does not get that)? Thanks for any hint!