From 9fe8d26364c462621799e2416f8fb82c1dc7bb91 Mon Sep 17 00:00:00 2001 From: Nam Tran Date: Thu, 22 Oct 2020 22:15:18 -0500 Subject: [PATCH] little improvement on Makefile --- tdc/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tdc/Makefile b/tdc/Makefile index e0cc137..f08fb8c 100644 --- a/tdc/Makefile +++ b/tdc/Makefile @@ -34,15 +34,16 @@ $(SIM_TARGET): $(SIM_SRC) $(BUILD_DIR)/Vtop__ALL.a @echo "Run simulation with ./$(SIM_TARGET)" $(BUILD_DIR)/top.json: $(RTL_SRC) - @echo "Synthesizing" + @echo "Synthesizing ..." @mkdir -p $(BUILD_DIR) @$(YOSYS) -p "synth_ice40 -top top -json build/top.json" -q $^ $(BIN_TARGET): $(BUILD_DIR)/top.json $(PCF) - @echo "Routing and building binary stream" + @echo "Routing and building binary stream ..." @$(PNR) -r --hx8k --json $< --package cb132 \ - --asc build/top.asc --opt-timing --pcf $(PCF) -q - @$(IPACK) build/top.asc build/top.bin + --asc $(BUILD_DIR)/top.asc --opt-timing --pcf $(PCF) -q + @$(IPACK) $(BUILD_DIR)/top.asc $@ + @echo "Done!" burn: $(BIN_TARGET) @$(BURN) $<