Skip to content

Commit

Permalink
更新 compile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon-Git authored Oct 7, 2024
1 parent 65213f1 commit 970501e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# g++ -O3 -Wall -shared -std=c++17 -fPIC -undefined dynamic_lookup $(python3 -m pybind11 --includes) src/svuvm.cpp -o svuvm$(python3-config --extension-suffix) $(python3-config --ldflags --embed) -I inc
verilator -j $(nproc) --vpi --binary +define+UVM_NO_DPI -top top -Mdir build \
verilator -j $(nproc) --vpi --binary +define+UVM_NO_DPI -top top -Mdir build -MAKEFLAGS VM_PARALLEL_BUILDS=O --output-groups $(($(nproc)*4)) \
+incdir+$PWD/uvm-verilator/src $PWD/uvm-verilator/src/uvm_pkg.sv \
$(python -m svuvm.config) -LDFLAGS "$(python3-config --ldflags --embed)" \
$PWD/test/api.sv \
Expand Down

0 comments on commit 970501e

Please sign in to comment.