• 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. irun: Simulating an already generated snap-shot.

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 65
  • Views 15793
  • 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

irun: Simulating an already generated snap-shot.

Abid
Abid over 12 years ago

 Hi,

 I want to generate a snap-shot with name house and simulate it later.

To generate snap-shot, I use the following command,

irun -elaborate -snapshot house source.sv

This results in a folder INCA_libs/house.lnx86.11.10.nc

To simulate the snap-shot house, I use the following command,

irun -r  worklib.house:sv

I get an error stating that the folder  INCA_libs/irun.lnx86.11.10.nc is missing.

I see that even though I use the -r option with irun, it does not use the snap-shot house.

I also tried the -R option, but even with that I get the same error.

I see that if snap-shot name is chosen as "irun", this error is not seen. 

How do I make irun simulate the snap-shot house (snap-shot name other than "irun")?

Regards,

Abid.

 

  • Cancel
  • Shalom B
    Shalom B over 12 years ago

    I tried it using Incisive 12.20, not 11.10.

     irun -r house

     gave me

    irun: *N,NOSNPR: The default work directory (./INCA_libs/irun.lnx86.12.20.nc) is missing.  -r house was used and a matching -snapshot house scratch directory was found.  irun will imply the option -snapshot house.
    Loading snapshot worklib.house:sv .................... Done
    ncsim> source /p/icom/eda/cadence/incisive/12.20.002/tools/inca/files/ncsimrc
    ncsim> run
    ncsim: *W,RNQUIE: Simulation is complete.

    That is, I got a NOTE from irun, not an error. It still ran.

    If I run it like this:

    irun -r house -snapshot house

    I did not get even the note.

    Regards,

    Shalom 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Abid
    Abid over 12 years ago

    Hi Shalom,

    Even with 11.10, irun -r house -snapshot house gives the correct output.

    Earlier, I used irun -r house which gave error. On adding, the -snapshot option, the error goes aways.

    But when we look at the output of irun -helpall, we see that -snapshot option is used to generate a snapshot. And in this case, we do not want to generate a snapshot, but want to simulate an already existing snapshot. So I am not sure if using -snapshot option in this case is correct.

    Regards,

    Abid.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Shalom B
    Shalom B over 12 years ago

    Hi,

    The answer is in the documentation.

     

    In the irun User Guide, it says,

    Note: If you run irun with the -snapshot option (or its alias -name) to specify a name for

    the simulation snapshot, you must include the original -snapshot option when you invoke

    irun with irun -r snapshot_name.

    -helpall just gives you a one-line description, not all the information.

    Regards,

    Shalom

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Abid
    Abid over 12 years ago

    That answers my question.

    Thanks for your help Shalom.

    Regards,

    Abid.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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