Home > Community > Forums > Functional Verification > ncsim for System Verilog

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

 ncsim for System Verilog 

Last post Sun, Aug 27 2006 11:10 PM by archive. 2 replies.
Started by archive 27 Aug 2006 11:10 PM. Topic has 2 replies and 1979 views
Page 1 of 1 (3 items)
Sort Posts:
  • Sun, Aug 27 2006 11:10 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    ncsim for System Verilog Reply

    Hi All,
    I want to run the DPI in system verilog along with cadence ncsim.
    After writing the code what are the steps to compile and simulate the code?

    I am using ncsim 5.40-s012.

    I am using the following command for compilation :

    ncsim -sv my_file.v

    The place at which i am importing the 'c' function, is giving the error: parenthesis missing ('(').

     


    Originally posted in cdnusers.org by prasad_vc
    • Post Points: 0
  • Tue, Aug 29 2006 9:23 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: ncsim for System Verilog Reply

    Hello,

    Can you paste the code where you are importing the DPI? Without that, it's hard to know what the problem is.

    Thanks,
    Tim


    Originally posted in cdnusers.org by tpylant
    • Post Points: 0
  • Wed, Sep 20 2006 2:00 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: ncsim for System Verilog Reply

    Thanx tim,

    The problem was with tool, it needs atleast 5.60v of ncsim to do DPI.

    The steps i found out are:

    gcc -shared -fPIC -o libdpi.so c-file-name.c

    ncverilog +sv31a sv-file-name.sv


    Vivek.


    Originally posted in cdnusers.org by prasad_vc
    • Post Points: 0
Page 1 of 1 (3 items)
Sort Posts:
Started by archive at 27 Aug 2006 11:10 PM. Topic has 2 replies.