Forum Discussion

LGlie1's avatar
LGlie1
Icon for New Contributor rankNew Contributor
7 years ago

I am trying to use modelsim_ae with command line and use the built in libraries. But it doesn't find the -Lf Belowis the command line: But if finds none of the -Lf libraries?

vlog -work tst17301.ulogsim -incr +libext+.bv+.vp+.v+.V+.sv+.vo -sv -sv_pragma -sv12compat -timescale=1ns/1ps +v2k -Lf 220model_ver -Lf altera_mf_ver -Lf twentynm_ver -Lf altera_ver -Lf altera_lnsim_ver

6 Replies

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

    No. I tried both but made no difference.

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

    Its not an Error per say. It doesn't find the modules needed from the libraries.

    Referenced (but uncompiled) modules or primitives:

    twentynm_io_obuf

    twentynm_io_ibuf

    twentynm_lcell_comb

    dffeas

    twentynm_mlab_cell

    twentynm_ram_block

    altddio_out

    altera_iopll

    altsyncram

  • Modelsim-Altera libraries have been pre-compiled for both functional and gate-level simulation. We should not compile the library files before running a simulation.

    Document: https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/qts/qts_qii53001.pdf#page=page2

    Can you run the simulation without the need to compile the library?

    Could you help to share the screenshot of your current modelsim-ae GUI with the library on the left-hand side?