• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. IUS 10.2 irun - how to re-run an already compiled snaps...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 66
  • Views 11125
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

IUS 10.2 irun - how to re-run an already compiled snapshot

cubicle82
cubicle82 over 13 years ago

Under the old 3-step process (ncvlog+ncelab+ncsim), I could compile the testbench once.  Then call ncsim multiple times to run the sim again(without recompiling.)

How do I do that with irun? What are the proper command-line switches?

  • Cancel
Parents
  • sivauvm
    sivauvm over 13 years ago
    Hi Stewart,

    Thanks for the quick reply.

    As you said, on the first invocation of irun, I am adding  -elaborate. My working directory is /home/proj/compile. To simulate, irun is expecting the current working directory should be the directory where INCA_libs(/home/proj/compile) are stored. I want to simulate the tests in /home/proj/simulations/test1, /home/proj/simulations/test2... so on.

    Sofar, I was working without UVM. I used to compile and elaborate with IRUN and simulate from /home/proj/simulations/test1, test2... with NCSIM. It works. I used NCSIM to simulate because I had the same issue with IRUN as it is expecting to simulate in the directory where INCA_libs residing.

    Now I moved to UVM and I am able to compile with IRUN but while simulating with NCSIM(the old method) there is an error. In my IRUN/NCSIM simulation command I am providing the complete path of hdl.var and cds.lib files.
    "
    ncsim: *W,LIBRUN: Could not load the dynamic library:  ./INCA_libs/irun.lnx8664.10.20.nc/librun
    System ERROR:  ./INCA_libs/irun.lnx8664.10.20.nc/librun.so: cannot open shared object file: No such file or directory or file is not valid ELFCLASS64 library..
    ncsim: *F,FLDRUN: Failed to load dynamic library librun for DPI.
    OSDLERROR:  ./INCA_libs/irun.lnx8664.10.20.nc/librun.so: cannot open shared object file: No such file or directory or file is not valid ELFCLASS64 library..
    FATAL ERROR: NCSIM Simulation exited with error status 512
    "
    If I simulate from compile directory(/home/proj/compile), then it works(with both IRUN and NCSIM).
     
    Regards, Siva
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • sivauvm
    sivauvm over 13 years ago
    Hi Stewart,

    Thanks for the quick reply.

    As you said, on the first invocation of irun, I am adding  -elaborate. My working directory is /home/proj/compile. To simulate, irun is expecting the current working directory should be the directory where INCA_libs(/home/proj/compile) are stored. I want to simulate the tests in /home/proj/simulations/test1, /home/proj/simulations/test2... so on.

    Sofar, I was working without UVM. I used to compile and elaborate with IRUN and simulate from /home/proj/simulations/test1, test2... with NCSIM. It works. I used NCSIM to simulate because I had the same issue with IRUN as it is expecting to simulate in the directory where INCA_libs residing.

    Now I moved to UVM and I am able to compile with IRUN but while simulating with NCSIM(the old method) there is an error. In my IRUN/NCSIM simulation command I am providing the complete path of hdl.var and cds.lib files.
    "
    ncsim: *W,LIBRUN: Could not load the dynamic library:  ./INCA_libs/irun.lnx8664.10.20.nc/librun
    System ERROR:  ./INCA_libs/irun.lnx8664.10.20.nc/librun.so: cannot open shared object file: No such file or directory or file is not valid ELFCLASS64 library..
    ncsim: *F,FLDRUN: Failed to load dynamic library librun for DPI.
    OSDLERROR:  ./INCA_libs/irun.lnx8664.10.20.nc/librun.so: cannot open shared object file: No such file or directory or file is not valid ELFCLASS64 library..
    FATAL ERROR: NCSIM Simulation exited with error status 512
    "
    If I simulate from compile directory(/home/proj/compile), then it works(with both IRUN and NCSIM).
     
    Regards, Siva
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information