reset from top.v.

This commit is contained in:
colin.liang 2023-01-06 21:19:54 +08:00
parent 31c90f22f6
commit 5fb3787307
1 changed files with 2 additions and 2 deletions

View File

@ -36,11 +36,11 @@ top.v:
./ivlpp -F include.f -f soc.mk -o top.v ./ivlpp -F include.f -f soc.mk -o top.v
verilator-build: top.v verilator-build: top.v
# verilator-build:
verilator --cc -CFLAGS ${CFLAGS} \ verilator --cc -CFLAGS ${CFLAGS} \
-Wno-WIDTH \ -Wno-WIDTH \
-Wno-UNOPTFLAT \ -Wno-UNOPTFLAT \
top.v \ -I../src \
-F ./soc.mk \
--top-module soc_sim -exe test_soc_sim.cpp --autoflush $(VERILATOR_DEBUG) --top-module soc_sim -exe test_soc_sim.cpp --autoflush $(VERILATOR_DEBUG)
cp ${DEMODIR}/test_soc_sim.cpp obj_dir cp ${DEMODIR}/test_soc_sim.cpp obj_dir
$(MAKE) -j -e -C obj_dir/ -f Vsoc_sim.mk $(VERILATOR_MAKE_FLAGS) $(MAKE) -j -e -C obj_dir/ -f Vsoc_sim.mk $(VERILATOR_MAKE_FLAGS)