diff options
author | dianshi <dianshi@main.lv> | 2022-02-14 07:48:24 +0000 |
---|---|---|
committer | dianshi <dianshi@main.lv> | 2022-02-14 07:48:24 +0000 |
commit | f52f1af38851b784862175ff2806bda622b0ec47 (patch) | |
tree | b867a56d42f4006b171bbd547aafaaa6d736d101 /datapath/v0.1/Makefile | |
parent | 2a54718dc842d1be84d1470827b538bdaab2cb28 (diff) | |
download | cpu8_v-f52f1af38851b784862175ff2806bda622b0ec47.tar.gz cpu8_v-f52f1af38851b784862175ff2806bda622b0ec47.zip |
Add datapatch v0.1
Diffstat (limited to 'datapath/v0.1/Makefile')
-rw-r--r-- | datapath/v0.1/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/datapath/v0.1/Makefile b/datapath/v0.1/Makefile new file mode 100644 index 0000000..b4aa522 --- /dev/null +++ b/datapath/v0.1/Makefile @@ -0,0 +1,17 @@ + +I_INSTRMEM=-I../../instrmem/v0.1 ../../instrmem/v0.1/instr_memory.v +I_GPR=-I../../gpr/v0.1 ../../gpr/v0.1/gpr_register.v +I_ALUCONTROL=-I../../alu_control/v0.1 ../../alu_control/v0.1/alu_control.v +I_ALU8=-I../../alu/v0.1 ../../alu/v0.1/alu.v +I_DATAMEM=-I../../datamem/v0.1 ../../datamem/v0.1/data_memory.v + +make: + iverilog -g2005-sv -o data_path data_path.v $(I_INSTRMEM) $(I_GPR) $(I_ALUCONTROL) $(I_ALU8) $(I_DATAMEM) + iverilog -g2005-sv -o test_data_path data_path.v test_data_path.v $(I_INSTRMEM) $(I_GPR) $(I_ALUCONTROL) $(I_ALU8) $(I_DATAMEM) + +test: + ./test_data_path + + +wave: + gtkwave test_data_path.vcd
\ No newline at end of file |