Skip to content

Commit

Permalink
更新 compile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon-Git authored Jun 17, 2024
1 parent 047a48b commit 56e88bd
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,4 +1,4 @@
#!/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 --binary +define+NOUVM -top top test/svuvm_pkg.sv test/api.sv $(python -c "import sysconfig; print(sysconfig.get_path('svuvm'))")/svuvm.cpython-312-darwin.so -LDFLAGS "$(python3-config --ldflags --embed)"
verilator --binary +define+NOUVM -top top test/svuvm_pkg.sv test/api.sv $(python -c "import sysconfig as sc; print(sc.get_path('purelib'))")/svuvm$(python3-config --extension-suffix) -LDFLAGS "$(python3-config --ldflags --embed)"
./obj_dir/Vtop

0 comments on commit 56e88bd

Please sign in to comment.