Home > Community > Forums > Functional Verification > Specman plusargs

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

 Specman plusargs 

Last post Tue, Nov 26 2013 4:39 AM by Tudor Timi. 2 replies.
Started by Tudor Timi 26 Nov 2013 03:48 AM. Topic has 2 replies and 1577 views
Page 1 of 1 (3 items)
Sort Posts:
  • Tue, Nov 26 2013 3:48 AM

    • Tudor Timi
    • Not Ranked
    • Joined on Thu, Jul 25 2013
    • Neubiberg, Bavaria
    • Posts 16
    • Points 215
    Specman plusargs Reply

    Hi,

    I would like to pass some parameters to my e testbench at run time. Does Specman have the nifty feature of plusargs (what SystemVerilog simulators have). A similar feature would also be welcome.

    Thanks,

    Tudor 

     

    • Post Points: 20
  • Tue, Nov 26 2013 3:54 AM

    • StephenH
    • Top 25 Contributor
    • Joined on Tue, Sep 2 2008
    • Bristol, Avon
    • Posts 278
    • Points 4,450
    Re: Specman plusargs Reply

     Yes, starting from Incisive version 13.10, Specman has support for plusargs.

    sn_plusarg_exists(arg: string): bool
    - will return TRUE if arg is a plusarg on the command line

    sn_plusarg_value(arg: string): string
    - if there exists a plusarg 'arg' on the command line followed by an equal sign ('='), then the routine will return the string that follows the equal sign. Otherwise it will return an empty string

     

    Steve Hobbs / Applications Engineer / Cadence Functional Verification
    Filed under:
    • Post Points: 20
  • Tue, Nov 26 2013 4:39 AM

    • Tudor Timi
    • Not Ranked
    • Joined on Thu, Jul 25 2013
    • Neubiberg, Bavaria
    • Posts 16
    • Points 215
    Re: Specman plusargs Reply
    Thanks a lot, Stephen. I'll try it out when we migrate.
    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Tudor Timi at 26 Nov 2013 03:48 AM. Topic has 2 replies.