Home > Community > Forums > Functional Verification > irun: Simulating an already generated snap-shot.

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 irun: Simulating an already generated snap-shot. 

Last post Mon, Jan 14 2013 11:21 PM by Abid. 4 replies.
Started by Abid 14 Jan 2013 10:02 PM. Topic has 4 replies and 1156 views
Page 1 of 1 (5 items)
Sort Posts:
  • Mon, Jan 14 2013 10:02 PM

    • Abid
    • Not Ranked
    • Joined on Mon, Jan 14 2013
    • Posts 3
    • Points 45
    irun: Simulating an already generated snap-shot. Reply

     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.

     

    • Post Points: 20
  • Mon, Jan 14 2013 10:18 PM

    • Shalom B
    • Top 150 Contributor
    • Joined on Mon, Jul 14 2008
    • Jerusalem, 00-IL
    • Posts 42
    • Points 585
    Re: irun: Simulating an already generated snap-shot. Reply

    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 

     

    Shalom.Bresticker@intel.com
    • Post Points: 20
  • Mon, Jan 14 2013 10:45 PM

    • Abid
    • Not Ranked
    • Joined on Mon, Jan 14 2013
    • Posts 3
    • Points 45
    Re: irun: Simulating an already generated snap-shot. Reply

    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.

    • Post Points: 20
  • Mon, Jan 14 2013 10:50 PM

    • Shalom B
    • Top 150 Contributor
    • Joined on Mon, Jul 14 2008
    • Jerusalem, 00-IL
    • Posts 42
    • Points 585
    Re: irun: Simulating an already generated snap-shot. Reply

    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

    Shalom.Bresticker@intel.com
    • Post Points: 20
  • Mon, Jan 14 2013 11:21 PM

    • Abid
    • Not Ranked
    • Joined on Mon, Jan 14 2013
    • Posts 3
    • Points 45
    Re: irun: Simulating an already generated snap-shot. Reply

    That answers my question.

    Thanks for your help Shalom.

    Regards,

    Abid.

     

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by Abid at 14 Jan 2013 10:02 PM. Topic has 4 replies.