Forum Discussion

JKASingh's avatar
JKASingh
Icon for New Contributor rankNew Contributor
5 years ago

1 Port Rom MegaFunc, Only z output, with MIF. Max 10DA. DE10-Lite board

I am using a small 1 port ROM, size 8bits by 64 locations. (Quartus 20.1 Lite)

When I simulate it using ModelSim Altera, providing Clocks and Address, I am only getting Z output.

I have the MIF file in the same directory where the RTL code is.

I am suspecting, as if ModelSim-Altera is not including the MIF file, when running the Sim. How to check and fix this?

What could be possibly wrong?

Thank you,

10 Replies

  • JKASingh's avatar
    JKASingh
    Icon for New Contributor rankNew Contributor

    Is it true, that the Lite version won't support ROM IP, and only the Licensed version do it?

    I never got any warning or error related to that though in Quartus.

    What about just running a Sim with ModelSim Altera, using the files which Quartus generated for the ROM and the MIF file.

    Thank you

  • We do not receive any response from you to the previous question/reply/answer that I have provided. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.


    • JKASingh's avatar
      JKASingh
      Icon for New Contributor rankNew Contributor

      Hello,

      I was able to use the MIF file.

      However I used a VHDL model of the ROM, instead of the Verilog, as I could not get it working as mentioned.

      The link you provided, is about converting MIF to HEX. And I was still able to use the MIF file.

      So the problem is still there, when I use the Verilog model, but not when I switched to the VHDL model of ROM.

      I have been using the ModelSim Altera version, which comes with Quartus 20.1 Lite edition.

      Thank you,

      • RichardT_altera's avatar
        RichardT_altera
        Icon for Super Contributor rankSuper Contributor

        Could you help to share a simplified design files with the issue duplicable so I could investigate further?

        Please help to provide briefly the steps to reproduce the issue. It helps to duplicate the issue faster.