• 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. Hardware/Software Co-Development, Verification…
  3. Linking the library doesn't work properly at co-verific...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 49
  • Views 1021
  • 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

Linking the library doesn't work properly at co-verification

Coverification
Coverification over 13 years ago

The following are the flow in the environment:

1) Testbennch top at SystemC

-> Compiled separately and kept in work_sc folder with specific dynamic library linking (-test) using ncsc_run command.

2) Design in VHDL with quite lot of internal modules.

-> Compiled and kept in work_dut and link all the other internal module libraries based on configuration. Only work_dut is used at elaboration.

3) One of the design module has to replace the dut with SystemC.

-> Compiled separately  (along with shell (vhdl file -> foriegn language interface), configuration) and created a library work_dut_sc using ncsc_run with option link alone.

4) While in elabration, it ends with error when linking work_dut, work_sc and work_dut_sc

          i)  When i am not using the work_dut_sc and actual RTL, it works fine.

                           a) In irun command with -sclib_sc -sctop <system top> and so on.

         ii) But, while i am linking the work_dut_sc, it gives an error by saying work_dut.configuration is not found. I have done the proper update of cds.lib and hdl.var .

                          a) In irun command with -Llib_sc -Llib_dut_sc -sctop <system top> and so on.

        iii) if i compile work_dut_sc with separate on SHELL and SystemC files and kept in separate folder (work_dut_sc/INCA_Objs for SHELL and work_dut_sc/INCA_Libs for SystemC). The configuration issues will not be there, but foriegn language interface issue araise, by reporting "can't find the SystemC foriegn module"

Can anyone help me in making the environment work with best options.

 

 

 

 

  • Cancel
  • Coverification
    Coverification over 13 years ago

    I am able to fix it by compiling the SystemC model files (work_dut_sc) into the loading dynamic object ( work_sc itself) at final elaboration.

    Like, in the irun command, there is a option -loadsc which takes the final linked object to be loaded. So i compiled into the same object and able to simulate it. But still not solved the problem by having separate library and more than one .so linking and elaboration is not happening.

    Regards, Prasanna.

    • 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