Coder Social home page Coder Social logo

Comments (5)

AlessandroVeronesi avatar AlessandroVeronesi commented on August 17, 2024

Can you share your tree.make file?
It may be that the actual SystemC path might be slightly different from what you specified in such file.

from hw.

179691368 avatar 179691368 commented on August 17, 2024

##=======================

Project Name Setup, multiple projects supported

##=======================
PROJECTS := nv_small

##=======================
##Linux Environment Setup
##=======================

USE_DESIGNWARE := 0
DESIGNWARE_DIR := /home/tools/synopsys/syn_2011.09/dw/sim_ver
CPP := /usr/bin/cpp
GCC := /usr/bin/gcc
CXX := /usr/bin/g++
PERL := /usr/bin/perl
JAVA := /usr/bin/java
SYSTEMC := /usr/local/systemc-2.3.0
PYTHON := /usr/bin/python3
VERDI_HOME := /usr/Synopsys/verdi/R-2020.12-SP1
NOVAS_HOME := /usr/Synopsys/verdi/R-2020.12-SP1
VCS_HOME := /usr/Synopsys/vcs/Q-2020.03-SP2-7
CLANG := /usr/bin/clang
VERILATOR := verilator ////////////////Hello, I'm having the same issue. How did you solve it?

from hw.

179691368 avatar 179691368 commented on August 17, 2024

Can you share your tree.make file? It may be that the actual SystemC path might be slightly different from what you specified in such file.
Hello, I'm having the same issue, my tree.make is put below by me.

from hw.

AlessandroVeronesi avatar AlessandroVeronesi commented on August 17, 2024

##=======================

Project Name Setup, multiple projects supported

##======================= PROJECTS := nv_small

##======================= ##Linux Environment Setup ##=======================

USE_DESIGNWARE := 0 DESIGNWARE_DIR := /home/tools/synopsys/syn_2011.09/dw/sim_ver CPP := /usr/bin/cpp GCC := /usr/bin/gcc CXX := /usr/bin/g++ PERL := /usr/bin/perl JAVA := /usr/bin/java SYSTEMC := /usr/local/systemc-2.3.0 PYTHON := /usr/bin/python3 VERDI_HOME := /usr/Synopsys/verdi/R-2020.12-SP1 NOVAS_HOME := /usr/Synopsys/verdi/R-2020.12-SP1 VCS_HOME := /usr/Synopsys/vcs/Q-2020.03-SP2-7 CLANG := /usr/bin/clang VERILATOR := verilator ////////////////Hello, I'm having the same issue. How did you solve it?

"Unfortunately", the library path seems correct.
There are two major issues I experienced when generating the environment:

  1. GCC version: for newer gcc versions, there are compatibility issues as reported alreeady in #330 and #298. A proposed bugfix have been posted in #191. Unfortunately, this solved the cmod compilation, but not the testbenches compilation in my case. In case this is your issue, I would recommend you to install a legacy GCC version which produces no problem (e.g., I am working with 4.8.5).

  2. Minor bug in the tmake's ready_for_test target: it happened to me that if I run tmake -build ready_for_test, it ends with an error message if I previously generate part of the outdir content through other tmake targets. Since ready_for_test already generates the vmod and the cmod too, I would suggest to clean your outdir and directly run such target.

from hw.

AlessandroVeronesi avatar AlessandroVeronesi commented on August 17, 2024

With respect to your comment about verilator, I cannot help since I only used Synopsys tools so far.
However, other people already reported issues when working with such tool (e.g., #334)

from hw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.