• 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. SystemC ncelab error

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 65
  • Views 16051
  • 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

SystemC ncelab error

MJT45
MJT45 over 11 years ago

I'm trying to get a SystemC / Verilog simulation to run and am getting the following error messages:

There is no information on any of the warning or error codes in Cadence help or on this site. Has anyone got more information in these or suggestions on how to resolve them?

ncelab: *W,CUSRCH: Resolved design unit 'BLAH' at 'U_BLAH' to 'work.BLAH:v' through a global search of all libraries.
ncelab: *E,SCK109: complete binding failed: port is not bound to any interface: port 'tb.dut.signal_in' (sc_in)
In file: sc_port.cpp:247
In phase: end_of_elaboration.
ncelab: *E,SCK940: Error in SystemC elaboration
In file: sc_cosim.cpp:1249
In phase: end_of_elaboration.
ncelab: Memory Usage - 31.4M program + 72.5M data = 103.9M total (Peak 104.6M)
ncelab: CPU Usage - 0.1s system + 1.6s user = 1.6s total (2.2s, 74.7% cpu)
ncsc_run: *E,TBELABF: ncelab returned non-zero exit status
make: *** [comp_sc] Error 1

  • Cancel
  • muffi
    muffi over 11 years ago

     > nchelp ncelab sck109
    nchelp: 12.20-s028: (c) Copyright 1995-2014 Cadence Design Systems, Inc.
    ncelab/sck109 =
            Port binding resolution done at end of elaboration has failed.
            This can happen if:
            1) A port is unbound.
            2) A port is bound to more interfaces than the maximum specified.
            3) A port declared with the SC_ALL_BOUND policy has less interfaces
               bound to it than the maximum specified.
            4) A port is bound more than once to the same interface.

    Ports in SystemC must be bound to at least 1 channel.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MJT45
    MJT45 over 11 years ago

     Thanks. I've fixed the error which was causing the port binding problem but now get the following error:

     ncsim: sc_cor_qt.cpp:161: virtual void sc_core::sc_cor_qt::stack_protect(bool): Assertion `ret == 0' failed.

    The same code simulated in Modelsim doesn't give this error. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • muffi
    muffi over 11 years ago

    Please check your code to see if an sc_module is being instantiated as a global variable before sc_main

    We may require more information to debug this. For that, can you send in a mail to support@cadence.com?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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