Home > Community > Forums > Functional Verification > Need help regarding interface usage in Systemverilog...

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

 Need help regarding interface usage in Systemverilog... 

Last post Wed, Sep 20 2006 12:18 AM by archive. 1 replies.
Started by archive 20 Sep 2006 12:18 AM. Topic has 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Sep 20 2006 12:18 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,740
    Need help regarding interface usage in Systemverilog... Reply

    Hi All,

    I'm having problem when i used the interface declaration in module. Pls see the error i got.
    My UART DUT is a verilog module.

    ncelab: *E,CUINMD (./sips_uart_bfm.sv,13|43): An interface connection must be connected to a Verilog parent (sips_uart_bfm).

    module sips_uart_bfm(sips_uart_bfm_if  bfm_if, sips_uart_uart_if  uart_if, input reset,input clock);

    This is an incompatible connection.  A Verilog interface must be connected
           to a port of a Verilog instance.  All other languages and connection
           types are disallowed.

    Pls suggest me how to go about this.

    Thanks & Regards,
    Prabhu Kumar


    Originally posted in cdnusers.org by prabhuk
    • Post Points: 0
  • Wed, Sep 20 2006 9:30 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,740
    RE: Need help regarding interface usage in Systemverilog... Reply

    I've seen this error when I tried to compile an intermediate file (i.e. not top level). I'm guessing you need to have a level above sips_uart_bfm that instantiates the sips_uart_bfm_if as well as sips_uart_bfm. Then you need to compile all three of those files (top, bfm, if) and that should resolve this problem.

    Tim


    Originally posted in cdnusers.org by tpylant
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 20 Sep 2006 12:18 AM. Topic has 1 replies.