reset from top.v.
This commit is contained in:
parent
31c90f22f6
commit
5fb3787307
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue