aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7781e40..e7bfd27 100644
--- a/Makefile
+++ b/Makefile
@@ -156,9 +156,12 @@ $(PROG_ROM_FILE): $(PROG_BINARY_FILE)
$(BUILD_DIR):
mkdir -p $(BUILD_DIR)
+wave:
+ $(GTKWAVE) -a debug/cpu.gtkw $(BUILD_DIR)/waveform_cpu.vcd
+
# Clean
clean:
rm -rf $(BUILD_DIR)
-.PHONY: all simulate rom bitsream upload flash clean
+.PHONY: all simulate rom bitsream upload flash wave clean