ultraembedded / riscv

RISC-V CPU Core (RV32IM)
BSD 3-Clause "New" or "Revised" License
1.14k stars 216 forks source link

Need $SYSTEMC_INCLUDE in environment or when Verilator configured, and need $SYSTEMC_LIBDIR in environment or when Verilator configured Probably System-C isn't installed, see http://www.systemc.org #12

Open Dennishor123 opened 1 year ago

Dennishor123 commented 1 year ago

I have systemc installed in my machine but this problem still exists

image

Ashish-neo commented 1 year ago

hi you got any solution for this one.?

riverchen306 commented 11 months ago

hi, you can coding the makefile:

###############################################################################

Tool paths

############################################################################### VERILATOR_SRC ?= /usr/share/verilator/include SYSTEMC_HOME ?= /usr/local/systemc-2.3.1

SYSTEMC_INCLUDE = VERILATOR_SRC/include SYSTEMC_LIBDIR = VERILATOR_SRC/iib-linux64

TEST_IMAGE ?= ../../isa_sim/images/basic.elf

CORE ?= riscv

export VERILATOR_SRC export SYSTEMC_HOME export SYSTEMC_INCLUDE export SYSTEMC_LIBDIR