mirror of
https://github.com/verilator/verilator.git
synced 2025-01-19 12:54:02 +00:00
Commentary
This commit is contained in:
parent
5b83484f20
commit
4c438bbc67
@ -1906,13 +1906,13 @@ Now we run Verilator on our little example.
|
|||||||
|
|
||||||
We then can compile it
|
We then can compile it
|
||||||
|
|
||||||
cd obj_dir
|
make -j -C obj_dir -f Vour.mk Vour__ALL.a
|
||||||
make -j -f Vour.mk Vour__ALL.a
|
make -j -C obj_dir -f Vour.mk ../sc_main.o verilated.o
|
||||||
make -j -f Vour.mk ../sc_main.o verilated.o
|
|
||||||
|
|
||||||
And link with SystemC. Note your path to the libraries may vary,
|
And link with SystemC. Note your path to the libraries may vary,
|
||||||
depending on the operating system.
|
depending on the operating system.
|
||||||
|
|
||||||
|
cd obj_dir
|
||||||
export SYSTEMC_LIBDIR=/path/to/where/libsystemc.a/exists
|
export SYSTEMC_LIBDIR=/path/to/where/libsystemc.a/exists
|
||||||
export LD_LIBRARY_PATH=$SYSTEMC_LIBDIR:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=$SYSTEMC_LIBDIR:$LD_LIBRARY_PATH
|
||||||
# Might be needed if SystemC 2.3.0
|
# Might be needed if SystemC 2.3.0
|
||||||
|
Loading…
Reference in New Issue
Block a user