Home > Community > Forums > Functional Verification > Passing e defines through Model Sim

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: *

 Passing e defines through Model Sim 

Last post Mon, Apr 23 2007 4:26 AM by archive. 2 replies.
Started by archive 23 Apr 2007 04:26 AM. Topic has 2 replies and 1156 views
Page 1 of 1 (3 items)
Sort Posts:
  • Mon, Apr 23 2007 4:26 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Passing e defines through Model Sim Reply

    Is it possible to pass specman defines through Model Sim while restarting.
    On Model Sim command prompt
    VSIM 1> restart -f ; sn "reload;test"
    I need to pass a "define ABCD" based on which reloading sequence of specman works. (Inclusion/exclusion of certain files)


    Originally posted in cdnusers.org by rprashant
    • Post Points: 0
  • Tue, Apr 24 2007 5:48 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Passing e defines through Model Sim Reply

    Hi Prashant,

    "define" can be used as a Specman command. I suggest trying the following:

    VSIM 1> restart -f ; sn "restore"; sn "define ABCD new_value; reload; test"

    I tried it with Specman standalone and found that you need to have the "restore" to remove a previously defined value. The new "define" must be issued separately from the "restore"

    Hope that helps,
    Dean


    Originally posted in cdnusers.org by ddmello
    • Post Points: 0
  • Wed, Apr 25 2007 4:11 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Passing e defines through Model Sim Reply

    Thanks Dean,
    It worked with co-simulator (Model sim) with the command line you mentioned.


    Originally posted in cdnusers.org by rprashant
    • Post Points: 0
Page 1 of 1 (3 items)
Sort Posts:
Started by archive at 23 Apr 2007 04:26 AM. Topic has 2 replies.