Home > Community > Forums > Functional Verification > c routines used in specman

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

 c routines used in specman 

Last post Thu, Apr 5 2007 2:56 AM by archive. 1 replies.
Started by archive 05 Apr 2007 02:56 AM. Topic has 1 replies and 1018 views
Page 1 of 1 (2 items)
Sort Posts:
  • Thu, Apr 5 2007 2:56 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    c routines used in specman Reply

    Hi,

    I am using a c routine inside specman method. I declared routine as like this.

    routine exp_viterbi_op() is C routine viterbi_c_func

    I linked c and specman and created new specman binary.I am getting the following error message in my compilation.


    *** Error: Cannot load a file containing a 'routine' statement - must
    # compile
    #               at line 72 in
    # /project/EDGE/ASIC/sim/rtl/blk/x_with_c/tb/x_output_bfm.e
    # routine exp_viterbi_op() is C routine viterbi_c_func;


    With regards
    S.Kesav


    Originally posted in cdnusers.org by kesava
    • Post Points: 0
  • Thu, Apr 5 2007 8:15 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: c routines used in specman Reply

    Kesav,
         As the error is clear,

    >> Cannot load a file containing a 'routine' statement - must

    You must compile it using sn_compile.sh

    Regards
    Ajeetha, CVC
    www.noveldv.com  


    Originally posted in cdnusers.org by ajeetha
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 05 Apr 2007 02:56 AM. Topic has 1 replies.