- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
My question is regarding simulating a multi-port memory using QuartusII. I have the code given in the Recommended HDL Coding Styles chapter for a simple dual port ram. I have written the test bench for it. We cannot simulate using Quartus II. How will Altera ModelSim recognize the code as a RAM block?!!! :confused: Thanks.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think that ModelSim must "recognize" the RAM block. It will model the functional behaviour defined in your code whatever it is, being synthesizable or not. Most likely it will be shown as memory object.
The more interesting question is, if your RAM code will be recognized (inferred) by Quartus, which can be read from the compilation report. You can by the way, still simulate the code in recent Quartus versions using Qsim. And you can perform a gate level simulation of the synthesized code.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for you reply FvM.
I have one more question. I created a .hex file to initialise the RAM memory and I want to use it in Modelsim. I referred the document which said - Search for the following lines in the modelsim.ini file: ; List of dynamically loaded objects for Verilog PLI applications ; Veriuser = veriuser.sl Remove the semicolon (;) from the "Veriuser" line and point to the location of the .dll file as follows: Veriuser = \eda\mentor\modelsim\convert_hex2ver.dll I do not have the modelsim folder in \eda\mentor However, in another Altera s document it is mentioned that convert_hex2ver.dll can be found in : <modelsim-altera_install_dir>\win32aloem/../win32aloem/convert_hex2ver.dll But I dont have the .dll file there as well!!! I dont know why...Is there any reason why that .dll is missing? Can anybody kindly attach the convert_hex2ver.dll file so that I can download it and use it. It will help me proceed with my work. Thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Hi know this thread is old, but I have the same matter. Then, Jedstevens, Did you solve it? How? It would be so helpful!! Thanks in advance, Luana --- Quote Start --- Thanks for you reply FvM. I have one more question. I created a .hex file to initialise the RAM memory and I want to use it in Modelsim. I referred the document which said - Search for the following lines in the modelsim.ini file: ; List of dynamically loaded objects for Verilog PLI applications ; Veriuser = veriuser.sl Remove the semicolon (;) from the "Veriuser" line and point to the location of the .dll file as follows: Veriuser = \eda\mentor\modelsim\convert_hex2ver.dll I do not have the modelsim folder in \eda\mentor However, in another Altera s document it is mentioned that convert_hex2ver.dll can be found in : <modelsim-altera_install_dir>\win32aloem/../win32aloem/convert_hex2ver.dll But I dont have the .dll file there as well!!! I dont know why...Is there any reason why that .dll is missing? Can anybody kindly attach the convert_hex2ver.dll file so that I can download it and use it. It will help me proceed with my work. Thanks. --- Quote End ---
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page