Add ivlpp to gen single file of RTL.
This commit is contained in:
parent
44161e293f
commit
c57450fa1c
|
@ -32,15 +32,14 @@ clean:
|
||||||
rm -rf build obj_dir
|
rm -rf build obj_dir
|
||||||
|
|
||||||
##################### Verilog Builds #####################################
|
##################### Verilog Builds #####################################
|
||||||
|
top.v:
|
||||||
|
./ivlpp -F include.f -f soc.mk -o top.v
|
||||||
|
|
||||||
verilator-build:
|
verilator-build: top.v
|
||||||
verilator --cc -CFLAGS ${CFLAGS} \
|
verilator --cc -CFLAGS ${CFLAGS} \
|
||||||
-Wno-WIDTH \
|
-Wno-WIDTH \
|
||||||
-Wno-UNOPTFLAT \
|
-Wno-UNOPTFLAT \
|
||||||
-Wno-LATCH \
|
top.v \
|
||||||
-I../src \
|
|
||||||
-F ./soc.mk \
|
|
||||||
soc_sim.v \
|
|
||||||
--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)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
I:../src/
|
Binary file not shown.
|
@ -8,4 +8,5 @@
|
||||||
|
|
||||||
./soc_top.v
|
./soc_top.v
|
||||||
./tcm_mem_ram.v
|
./tcm_mem_ram.v
|
||||||
./tcm_mem.v
|
./tcm_mem.v
|
||||||
|
./soc_sim.v
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue