From 970501ea1a8dc30b2b78ac9e979ffbc08c2a47bf Mon Sep 17 00:00:00 2001 From: Dragon-Git <42856316+Dragon-Git@users.noreply.github.com> Date: Tue, 8 Oct 2024 07:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20compile.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index 3477e65..df51859 100644 --- a/compile.sh +++ b/compile.sh @@ -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 \