From 4c438bbc672b225404ce2d447c0f494810785bad Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 25 Feb 2020 19:01:14 -0500 Subject: [PATCH] Commentary --- bin/verilator | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/verilator b/bin/verilator index 41be3b13d..0a3beebf0 100755 --- a/bin/verilator +++ b/bin/verilator @@ -1906,13 +1906,13 @@ Now we run Verilator on our little example. We then can compile it - cd obj_dir - make -j -f Vour.mk Vour__ALL.a - make -j -f Vour.mk ../sc_main.o verilated.o + make -j -C obj_dir -f Vour.mk Vour__ALL.a + make -j -C obj_dir -f Vour.mk ../sc_main.o verilated.o And link with SystemC. Note your path to the libraries may vary, depending on the operating system. + cd obj_dir export SYSTEMC_LIBDIR=/path/to/where/libsystemc.a/exists export LD_LIBRARY_PATH=$SYSTEMC_LIBDIR:$LD_LIBRARY_PATH # Might be needed if SystemC 2.3.0