• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. Binding systemverilog modules (module ports' directions...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 66
  • Views 15224
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Binding systemverilog modules (module ports' directions)

mkamal
mkamal over 11 years ago

Hello,

I'm using some binding modules in sytemverilog VIP. They are binded to VHDL modules.

The systemverilog modules' ports are all defined as logic without  specifying direction (input, output or inout).

Compilation passes without any errors. Elaboration fails. It requires direction to be specified for some ports in sys-verilog bind modules definitions as te direction for the VHDL modules.

This isn't the case with modelsim which doesn'r produce elaboration errors.

Also Why this is required for some ports and not all the ports ?

The error code is: ncvhdl_p: *E,CFMPMC

And an example on the eror msg is: "(./INCA_libs/irun.lnx8664.11.10.nc/.cdssvbind/cds_tmp_svbind0000422d_a8c0620a_0x2a003d41.sva,2|762): Port mode mismatch: Verilog(fsm_sink_bind.send_ack) is mode 'input'; VHDL(FSM.SEND_ACK) is mode 'out'."

Note that it says  fsm_sink_bind.send_ack direction is "input", although I declare it as logic without specifying direction !

 

  • Cancel
Parents
  • Tudor Timi
    Tudor Timi over 11 years ago
    Input is implied for ports where you don't give the direction. In your case, it seems like you're trying to connect a VHDL output of the block to a bind module input. In VHDL, connecting an output to an internal signal is illegal. Incisive just enforces that rule regardless if this internal signal is a VHDL signal or an SV signal in a bound module, whereas Questa does not.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Tudor Timi
    Tudor Timi over 11 years ago
    Input is implied for ports where you don't give the direction. In your case, it seems like you're trying to connect a VHDL output of the block to a bind module input. In VHDL, connecting an output to an internal signal is illegal. Incisive just enforces that rule regardless if this internal signal is a VHDL signal or an SV signal in a bound module, whereas Questa does not.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information