• Setting up SystemC and Eclipse for C++ hardware simulation


    https://karibe.co.ke/2014/02/setting-up-systemc-and-eclipse-for-c-hardware-simulation/

    25 responses to “Setting up SystemC and Eclipse for C++ hardware simulation”

      1. kevin

        probably you should have indicated …that one needs the “build-essentials to proceed with installation of systemC” at the top

      2. katontwo

        i have tried several times to set the library path, but after running an err message .
        01:25:31 **** Incremental Build of configuration Debug for project systemc_test ****
        make all
        Building target: systemc_test
        Invoking: GCC C++ Linker
        g++ -L/home/katontwo/systemc-2.3.0/lib-linux -o “systemc_test” ./src/main.o ./main.o -lsystemc
        /usr/bin/ld: cannot find -lsystemc
        collect2: error: ld returned 1 exit status
        make: *** [systemc_test] Error 1

        01:25:32 Build Finished (took 74ms)
        HOW CAN I SOLVE THIS?

      3. Myzel

        Very detailed guide, very helpful! Great work! Thank you!

      4. Frank

        Hello Karibe,

        Thank you very much for the tutorial; I would probably be struggling much more had it not been for your detailed, step by step instructions.

        With that said, I am still having one issue. I followed your instructions to a T, except that I’m using Fedora 20 rather than Ubuntu and I’m using the newer version of SystemC, 2.3.1 (and so I modified your steps to reflect that). I can build my projects fine, but when I try to run them, I encounter the following error:

        “error while loading shared libraries: libsystemc-2.3.1.so: cannot open shared object file: No such file or directory”

        I did create the soft link as instructed and verified that it was correct, so I’m not entirely sure what I could be doing wrong. I’d appreciate any advice you can give here. Thanks

      5. Frank

        Hey David,

        I think I solved my problem. For whatever reason I needed to add “m” to the libraries list in addition to “systemc” as was done on this tutorial: http://geekwentfreak-raviteja.rhcloud.com/blog/2011/01/21/eclipse-as-development-environmentide-for-systemc-in-ubuntu/

        I’m not sure what the reasons was, but I figured I’d post here for other people who have the same problem. If you get a chance to look into it, I’d love to get your feedback on this issue.

        Frank

        1. Frank

          Just for the record, I’m running Fedora 20, the latest version of Eclipse (Luna) and the latest version of SystemC (2.3.1).

      6. Meshack Mbuvi

        Mr karibe i have followed all the steps but on build, am given this error
        Description Resource Path Location Type
        make: *** [systemc-test] Error 1 systemc-test C/C++ Problem

      7. Meshack Mbuvi

        Sir….I have had to re-install the eclipse and it has worked…Thanx alot

      8. Setting up SystemC-AMS and Eclipse >> Karibe

        […] procedure is really simple! You just need to follow the same steps as those in the previous post on Setting up SystemC and Eclipse for C++ hardware simulation. BUT in addition to configuring the SystemC library and includes, add those of SystemC-ams as well […]

      9. alexua

        I have tried it but it is not working well I am having “Type sc_signal_resolved could not be resolved” error, and at times an undefined reference to “sc_main”

      10. Setting up SystemC-AMS and Eclipse >> Karibe

        […] procedure is really simple! You just need to follow the same steps as those in the previous post on Setting up SystemC and Eclipse for C++ hardware simulation. BUT in addition to configuring the SystemC library and includes, add those of SystemC-ams as […]

  • 相关阅读:
    Springboot~多个数据源时自定义datasource的bean
    springboot~aspose操作word模板实现导出功能
    spring-security-jwt的总结与实现
    mybatis+maven自动生成代码框架
    chrome 插件 vimium 像操作vim一样的操作浏览器
    递归计算过程和迭代计算过程
    找工作--Java相关
    《Linux程序设计》--读书笔记---第十三章进程间通信:管道
    poj 1474 Video Surveillance
    动态包含与静态包含的区别
  • 原文地址:https://www.cnblogs.com/ztguang/p/15835548.html
Copyright © 2020-2023  润新知