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 and PlusArgs 

Last post Tue, Dec 11 2012 11:55 AM by Xinwei. 1 replies.
Started by jlang 03 Aug 2012 10:57 AM. Topic has 1 replies and 2384 views
Page 1 of 1 (2 items)
Sort Posts:
  • Fri, Aug 3 2012 10:57 AM

    • jlang
    • Not Ranked
    • Joined on Tue, Mar 17 2009
    • Dallas, TX
    • Posts 2
    • Points 40
    IRUN and PlusArgs Reply

    I am having issues trying to pass a $plus$args using IRUN.  Anyone have any clues?  Can we NOT use the +plusarg on irun command line?  

     ------------------------------

    irun command line:

    **   irun -file simopts/rtl_opts.def -file chipfiles/chip_rtl.h -file chipfiles/chip_tb.h -top test -input scripts/core_test.rtl.0.tcl  +mytest

    Code snippet to check for +mytest

    ------------------------------

    // Code snippet to check for +mytest

     if ($test$plusargs(“mytest”)) begin

        $display("FOUND MYTEST");

    end

     

    // Here is what I see on the failed attempt to run simulation, which appears during elaboration step.

             Top level design units:
                    test
    if ($test$plusargs(âmytestâ)) begin
                                  |
    ncelab: *E,CUVHNF (./tbsource/tb_test_apcm_demo.sv,39|30): Hierarchical name component lookup failed at 'mytest'.
    irun: *E,ELBERR: Error during elaboration (status 1), exiting.

     

    • Post Points: 20
  • Tue, Dec 11 2012 11:55 AM

    • Xinwei
    • Not Ranked
    • Joined on Wed, Jan 4 2012
    • Posts 7
    • Points 80
    Re: IRUN and PlusArgs Reply

     when you run it , pass it to irun like  irun -ncsimargs "+mytest"

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by jlang at 03 Aug 2012 10:57 AM. Topic has 1 replies.