From b4f2410e9db0b1a09294a65e28ef00d23b58012c Mon Sep 17 00:00:00 2001 From: Zihao Yu Date: Mon, 21 Feb 2022 12:29:54 +0800 Subject: [PATCH] trace code --- .gitignore | 18 ++++++++++++++++-- Makefile | 7 +++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 32ea314..a507599 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,22 @@ +*.* +* +!*/ +!Makefile +!*.mk +!*.scala +!*.[cSh] +!*.v +!*.cpp +!*.cc +!.gitignore +!.scalafmt.conf +!build.sc +!README.md +build/ + # mill out/ .bsp/ .idea/ .idea_modules/ test_run_dir/ - -build/ diff --git a/Makefile b/Makefile index 221552b..a7b47b8 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ test: mill -i $(PRJ).test verilog: + $(call git_commit, "generate verilog") mkdir -p $(BUILD_DIR) mill -i $(PRJ).runMain Elaborate -td $(BUILD_DIR) @@ -22,3 +23,9 @@ clean: -rm -rf $(BUILD_DIR) .PHONY: test verilog help reformat checkformat clean + +sim: + $(call git_commit, "sim RTL") # DO NOT REMOVE THIS LINE!!! + @echo "Write this Makefile by yourself." + +-include ../Makefile