• 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. CTS/IUS SystemC missing files ...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 49
  • Views 2021
  • 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

CTS/IUS SystemC missing files ...

NJSH
NJSH over 16 years ago

I am trying to compile files from the CTS tutorial simply running the make command, but some files seems missing in the IUS installation. I have just done some minor modification in the Makefile to set the correct path for my tools and avoid deleting things without an explicit 'make clean' command.

ld: cannot find -lsystemc_sh

after searching for libsystemc_sh.so I found the file in  /opt/IUS82/tools.lnx86/systemc/lib/64bit/ and /opt/IUS82/tools.lnx86/systemc/lib but they are symbolic links to gnu/libsystemc_sh.so and there is no gnu directory under theses path.

I had the same problem for TLM libraries (I have no $(NCROOT)/tools/systemc/tlm directory) but I have solved this using an external installation of TLM libraries and changing the search path in the Makefile.

 There is lots of missing files (links pointing to a 'gnu' subdir) in systemc/lib 

jpeg_idct_tutorial/xilinx> ls -l /opt/IUS82/tools/systemc/lib/64bit/
total 0
lrwxrwxrwx 1 softwares FRONT-END 27 2009-04-15 13:12 libncscCoroutines_sh.so -> gnu/libncscCoroutines_sh.so
lrwxrwxrwx 1 softwares FRONT-END 22 2009-04-15 13:12 libncscCoSim_sh.so -> gnu/libncscCoSim_sh.so
lrwxrwxrwx 1 softwares FRONT-END 21 2009-04-15 13:12 libncsctlm2_sh.so -> gnu/libncsctlm2_sh.so
lrwxrwxrwx 1 softwares FRONT-END 20 2009-04-15 13:12 libncsctlm_sh.so -> gnu/libncsctlm_sh.so
lrwxrwxrwx 1 softwares FRONT-END 12 2009-04-15 13:12 libovm.a -> gnu/libovm.a
lrwxrwxrwx 1 softwares FRONT-END 13 2009-04-15 13:12 libovm.so -> gnu/libovm.so
lrwxrwxrwx 1 softwares FRONT-END 19 2009-04-15 13:12 libsystemc_ar.a -> gnu/libsystemc_ar.a
lrwxrwxrwx 1 softwares FRONT-END 20 2009-04-15 13:12 libsystemc_sh.so -> gnu/libsystemc_sh.so
lrwxrwxrwx 1 softwares FRONT-END 12 2009-04-15 13:12 ncscpi.o -> gnu/ncscpi.o
lrwxrwxrwx 1 softwares FRONT-END 11 2009-04-15 13:12 qtmdc.o -> gnu/qtmdc.o
lrwxrwxrwx 1 softwares FRONT-END 11 2009-04-15 13:12 qtmds.o -> gnu/qtmds.o
lrwxrwxrwx 1 softwares FRONT-END  8 2009-04-15 13:12 qt.o -> gnu/qt.o
lrwxrwxrwx 1 softwares FRONT-END 15 2009-04-15 13:12 sc_fpi_nc.o -> gnu/sc_fpi_nc.o
lrwxrwxrwx 1 softwares FRONT-END 13 2009-04-15 13:12 sc_main.o -> gnu/sc_main.o

 How can I fix this ?

 

Nicolas

---
Nicolas J. S. Hervé, PhD
SoPC architect
LSITEC, www.lsitec.org.br/dh

---

jpeg_idct_tutorial/xilinx> make
Test run at [...]
Test run in [...]/jpeg_idct_tutorial/xilinx
rm -rf run/*
ncsc_run -dynamic -gnu -I/home/CadenceServer/CTS09/tools/ctos/include -I. -VLOGEXT vg -SCTOP sc_main -I../tb/jpeg-6b -I../tb/xbus -I../Baseline/src -Imodel ../Baseline/src/xbus_hw_idct.cc -I/home/users/nicolas/Applications/SystemC/TLM-2008-06-09/include/tlm -DFUNC_COVERAGE -DTRANS_RECORDING ../tb/xbus/xbus_master.cc ../tb/xbus/xbus_mem_slave.cc  ../tb/demo_top.cc ../tb/xbus_sw_jpeg.cc ../tb/xbus_master_transactor.cc ../tb/djpeg.c ../tb/jidctint.cc ../tb/jidctint_orig.c ../tb/tutorial_lib.v ../tb/jpeg-6b/cdjpeg.c ../tb/jpeg-6b/jcapimin.c ../tb/jpeg-6b/jcapistd.c ../tb/jpeg-6b/jccoefct.c ../tb/jpeg-6b/jccolor.c ../tb/jpeg-6b/jcdctmgr.c ../tb/jpeg-6b/jchuff.c ../tb/jpeg-6b/jcinit.c ../tb/jpeg-6b/jcmainct.c ../tb/jpeg-6b/jcmarker.c ../tb/jpeg-6b/jcmaster.c ../tb/jpeg-6b/jcomapi.c ../tb/jpeg-6b/jcparam.c ../tb/jpeg-6b/jcphuff.c ../tb/jpeg-6b/jcprepct.c ../tb/jpeg-6b/jcsample.c ../tb/jpeg-6b/jctrans.c ../tb/jpeg-6b/jdapimin.c ../tb/jpeg-6b/jdapistd.c ../tb/jpeg-6b/jdatadst.c ../tb/jpeg-6b/jdatasrc.c ../tb/jpeg-6b/jdcoefct.c ../tb/jpeg-6b/jdcolor.c ../tb/jpeg-6b/jddctmgr.c ../tb/jpeg-6b/jdhuff.c ../tb/jpeg-6b/jdinput.c ../tb/jpeg-6b/jdmainct.c ../tb/jpeg-6b/jdmarker.c ../tb/jpeg-6b/jdmaster.c ../tb/jpeg-6b/jdmerge.c ../tb/jpeg-6b/jdphuff.c ../tb/jpeg-6b/jdpostct.c ../tb/jpeg-6b/jdsample.c ../tb/jpeg-6b/jdtrans.c ../tb/jpeg-6b/jerror.c ../tb/jpeg-6b/jfdctflt.c ../tb/jpeg-6b/jfdctfst.c ../tb/jpeg-6b/jfdctint.c ../tb/jpeg-6b/jidctflt.c ../tb/jpeg-6b/jidctfst.c ../tb/jpeg-6b/jidctred.c ../tb/jpeg-6b/jmemmgr.c ../tb/jpeg-6b/jmemnobs.c ../tb/jpeg-6b/jquant1.c ../tb/jpeg-6b/jquant2.c ../tb/jpeg-6b/jutils.c ../tb/jpeg-6b/rdbmp.c ../tb/jpeg-6b/rdcolmap.c ../tb/jpeg-6b/rdgif.c ../tb/jpeg-6b/rdppm.c ../tb/jpeg-6b/rdrle.c ../tb/jpeg-6b/rdswitch.c ../tb/jpeg-6b/rdtarga.c ../tb/jpeg-6b/transupp.c ../tb/jpeg-6b/wrbmp.c ../tb/jpeg-6b/wrgif.c ../tb/jpeg-6b/wrppm.c ../tb/jpeg-6b/wrrle.c ../tb/jpeg-6b/wrtarga.c  \
                -DCTOS_sim -DCTOS_MODEL=sim \
                model/jpeg_idct_tutorial_sim.v \
                -out ncsc_work_sim > log/ncsc_sim_v.log 2>&1
make: *** [ncsc_sim_v] Error 1


Here what I have at end of my ..../jpeg_idct_tutorial/xilinx/log/ncsc_sim_v.log:

 

jpeg_idct_tutorial/xilinx> tail log/ncsc_sim_v.log
building library ncsc_model.so
ld: cannot find -lsystemc_sh
collect2: ld returned 1 exit status
make: *** [libncsc_model.so] Error 1
ncsc_run: *E,TBBLDF: Failed to build test library
          ./libncsc_model.so

  • Cancel
  • NJSH
    NJSH over 16 years ago

    Help please !

    We do not have a GNU subdirectory in our IUS82/tools/SystemC/lib and lib/64bit/.
    However, their is symbolink links pointing to that dir and theses libraries are needed in our project.

    What is wrong is our installation ?
    Can someone just send us an archive file of the lib/GNU and lib/64bit/GNU directory to fix the problem ?

    Nicolas

    ---
    % ls -l /opt/IUS82/tools/systemc/lib/
    drwxr-xr-x 2 softwares FRONT-END  480 2009-07-28 15:58 64bit
    drwxr-xr-x 2 softwares FRONT-END  200 2008-11-05 22:35 compat
    lrwxrwxrwx 1 softwares FRONT-END   27 2009-04-15 13:12 libncscCoroutines_sh.so -> gnu/libncscCoroutines_sh.so
    lrwxrwxrwx 1 softwares FRONT-END   22 2009-04-15 13:12 libncscCoSim_sh.so -> gnu/libncscCoSim_sh.so
    -rwxr-xr-x 1 softwares FRONT-END 3812 2008-11-06 01:18 libncscdbgsrvrcomms.a
    lrwxrwxrwx 1 softwares FRONT-END   21 2009-04-15 13:12 libncsctlm2_sh.so -> gnu/libncsctlm2_sh.so
    lrwxrwxrwx 1 softwares FRONT-END   20 2009-04-15 13:12 libncsctlm_sh.so -> gnu/libncsctlm_sh.so
    lrwxrwxrwx 1 softwares FRONT-END   12 2009-04-15 13:12 libovm.a -> gnu/libovm.a
    lrwxrwxrwx 1 softwares FRONT-END   13 2009-04-15 13:12 libovm.so -> gnu/libovm.so
    lrwxrwxrwx 1 softwares FRONT-END   19 2009-04-15 13:12 libsystemc_ar.a -> gnu/libsystemc_ar.a
    lrwxrwxrwx 1 softwares FRONT-END   20 2009-04-15 13:12 libsystemc_sh.so -> gnu/libsystemc_sh.so
    lrwxrwxrwx 1 softwares FRONT-END   12 2009-04-15 13:12 ncscpi.o -> gnu/ncscpi.o
    lrwxrwxrwx 1 softwares FRONT-END   11 2009-04-15 13:12 qtmdc.o -> gnu/qtmdc.o
    lrwxrwxrwx 1 softwares FRONT-END   11 2009-04-15 13:12 qtmds.o -> gnu/qtmds.o
    lrwxrwxrwx 1 softwares FRONT-END    8 2009-04-15 13:12 qt.o -> gnu/qt.o
    lrwxrwxrwx 1 softwares FRONT-END   15 2009-04-15 13:12 sc_fpi_nc.o -> gnu/sc_fpi_nc.o
    lrwxrwxrwx 1 softwares FRONT-END   13 2009-04-15 13:12 sc_main.o -> gnu/sc_main.o
    > ls -l /opt/IUS82/tools/systemc/lib/64bit/
    total 0
    lrwxrwxrwx 1 softwares FRONT-END 27 2009-04-15 13:12 libncscCoroutines_sh.so -> gnu/libncscCoroutines_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 22 2009-04-15 13:12 libncscCoSim_sh.so -> gnu/libncscCoSim_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 21 2009-04-15 13:12 libncsctlm2_sh.so -> gnu/libncsctlm2_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 20 2009-04-15 13:12 libncsctlm_sh.so -> gnu/libncsctlm_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 12 2009-04-15 13:12 libovm.a -> gnu/libovm.a
    lrwxrwxrwx 1 softwares FRONT-END 13 2009-04-15 13:12 libovm.so -> gnu/libovm.so
    lrwxrwxrwx 1 softwares FRONT-END 19 2009-04-15 13:12 libsystemc_ar.a -> gnu/libsystemc_ar.a
    lrwxrwxrwx 1 softwares FRONT-END 20 2009-04-15 13:12 libsystemc_sh.so -> gnu/libsystemc_sh.so
    lrwxrwxrwx 1 softwares FRONT-END 12 2009-04-15 13:12 ncscpi.o -> gnu/ncscpi.o
    lrwxrwxrwx 1 softwares FRONT-END 11 2009-04-15 13:12 qtmdc.o -> gnu/qtmdc.o
    lrwxrwxrwx 1 softwares FRONT-END 11 2009-04-15 13:12 qtmds.o -> gnu/qtmds.o
    lrwxrwxrwx 1 softwares FRONT-END  8 2009-04-15 13:12 qt.o -> gnu/qt.o
    lrwxrwxrwx 1 softwares FRONT-END 15 2009-04-15 13:12 sc_fpi_nc.o -> gnu/sc_fpi_nc.o
    lrwxrwxrwx 1 softwares FRONT-END 13 2009-04-15 13:12 sc_main.o -> gnu/sc_main.o

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • michaelw
    michaelw over 16 years ago

    Hello Nicolas,

    I have taken a close look at your problem, including running some tests on installing IUS.  At first I suspected that you might have an IUS installation that was not configured as needed, but your symptoms do not match that situation, although you are missing some critical files.  Even without configuration, you should still have the gnu subdirectories, but you do not.  That leads me to conclude that some other activity has damaged or corrupted your installation.

    Given the above, the best action for you to take is to create a brand new empty directory and do a new clean install of IUS 8.2.  The latest available version is 08.20.013.  It is not possible for anyone to send you just the gnu subdirectories, and those may not be sufficient if there are other problems with your installation.

    When you install, please also remember to configure it (although I do not believe this the cause of your issue, from what you have reported).  This will ensure that all the other needed files are expanded and available for use.

    [By the way, about the TLM files, when your installation is complete and configured, the TLM directory will not be $(NCROOT)/tools/systemc/tlm but rather $(NCROOT)/tools/systemc/include/tlm.  Please let me know if you do not see this.] 

     

    Regards,

    -Mike Williamson

    IUS SystemC Product Engineering Manager

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • NJSH
    NJSH over 16 years ago

    Problem solved !
    Thank you.

    michaelw said:
    When you install, please also remember to configure it (although I do not believe this the cause of your issue, from what you have reported).  This will ensure that all the other needed files are expanded and available for use.

    Indeed it was the problem, It lacks the configuration step, theses files (and so does the TLM directory) are added after the configuration of ncsc. I never had install Cadence software myself before. I will forward this info to our system administrator that usually does the install.

     Nicolas

    • 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