From 7809654477167686e34819b13356393e74f7df67 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 3 Aug 2024 13:28:51 -0400 Subject: tb: Add build scripts Signed-off-by: Ian Moffett --- build.sh | 8 ++++++++ tb/soc/irq/Makefile | 5 +++++ 2 files changed, 13 insertions(+) create mode 100755 build.sh create mode 100644 tb/soc/irq/Makefile diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..d4c03b2 --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +dirlist=$(find tb/ -type f -name "Makefile") + +for dir in $dirlist +do + make -C $(dirname $dir) +done diff --git a/tb/soc/irq/Makefile b/tb/soc/irq/Makefile new file mode 100644 index 0000000..33e94e5 --- /dev/null +++ b/tb/soc/irq/Makefile @@ -0,0 +1,5 @@ +.PHONY: all +all: + verilator -Wall --trace -cc ../../../sv/soc/irq/pimc.sv --exe tb_pimc.cpp + make -C obj_dir/ -f Vpimc.mk Vpimc + ./obj_dir/Vpimc -- cgit v1.2.3