minor update

This commit is contained in:
Blaise Tine
2020-05-22 19:14:07 -07:00
parent b02fc14da6
commit 1512138a15
8 changed files with 45 additions and 132 deletions

View File

@@ -2,7 +2,7 @@
ASE_BUILD_DIR=build_ase
FPGA_BUILD_DIR=build_fpga
all: ase fpga fpga-1c
all: ase ase-1c fpga fpga-1c
ase: setup-ase
make -C $(ASE_BUILD_DIR)
@@ -12,6 +12,14 @@ setup-ase: $(ASE_BUILD_DIR)/Makefile
$(ASE_BUILD_DIR)/Makefile:
afu_sim_setup -s sources.txt $(ASE_BUILD_DIR)
ase-1c: setup-ase-1c
make -C $(ASE_BUILD_DIR)_1c
setup-ase-1c: $(ASE_BUILD_DIR)_1c/Makefile
$(ASE_BUILD_DIR)_1c/Makefile:
afu_sim_setup -s sources_1c.txt $(ASE_BUILD_DIR)_1c
fpga: setup-fpga
cd $(FPGA_BUILD_DIR) && qsub-synth
@@ -31,6 +39,9 @@ $(FPGA_BUILD_DIR)_1c/build/dcp.qpf:
run-ase:
cd $(ASE_BUILD_DIR) && make sim
run-ase-1c:
cd $(ASE_BUILD_DIR)_1c && make sim
wave:
vsim -view $(ASE_BUILD_DIR)/work/vsim.wlf -do wave.do
@@ -40,5 +51,11 @@ run-fpga:
clean-ase:
rm -rf $(ASE_BUILD_DIR)
clean-ase-1c:
rm -rf $(ASE_BUILD_DIR)_1c
clean-fpga:
rm -rf $(FPGA_BUILD_DIR)
rm -rf $(FPGA_BUILD_DIR)
clean-fpga-1c:
rm -rf $(FPGA_BUILD_DIR)_1c