[Makefile] Added a basic manifest target to hash rtl/.v files
diff --git a/Makefile b/Makefile
index 0071b95..60af834 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# cannot commit files larger than 100 MB to GitHub
+# cannot commit files larger than 100 MB to GitHub
FILE_SIZE_LIMIT_MB = 100
LARGE_FILES := $(shell find ./gds -type f -name "*.gds")
LARGE_FILES += $(shell find . -type f -size +$(FILE_SIZE_LIMIT_MB)M -not -path "./.git/*" -not -path "./gds/*" -not -path "./openlane/*")
@@ -8,7 +8,6 @@
ARCHIVES := $(shell find . -type f -name "*.gz")
ARCHIVE_SOURCES := $(basename $(ARCHIVES))
-
# PDK setup configs
THREADS ?= $(shell nproc)
STD_CELL_LIBRARY ?= sky130_fd_sc_hd
@@ -134,6 +133,11 @@
$(MAKE) && \
$(MAKE) install-local
+.RECIPE: manifest
+manifest:
+ cd verilog/rtl/ && \
+ find * -type f ! -name "user_*.v" ! -name "README" ! -name "defines.v" -exec shasum {} \; > manifest
+
check-env:
ifndef PDK_ROOT
$(error PDK_ROOT is undefined, please export it before running make)
diff --git a/verilog/rtl/manifest b/verilog/rtl/manifest
new file mode 100644
index 0000000..9368b61
--- /dev/null
+++ b/verilog/rtl/manifest
@@ -0,0 +1,36 @@
+5f07b999756cdbae03068f084e8986ba159ba196 DFFRAM.v
+22d6b23a7ddcd2b086c9aa0e9c4839f6ef5e3c25 DFFRAMBB.v
+7f2e64ff567d4a745aaae296db34294f5bbeb7f6 caravel.v
+bcdb8849d0b51e13c5ae7e1319f3f9be3e1b3dfd caravel_clocking.v
+a8f79a3bcf1267487f31f47372fb0e35ea344510 chip_io.v
+7127595a39b7b17a01f93ca9f3e98c881e32c96f clock_div.v
+0e29484e514d47a9fe252ba0a297642f9cabe087 convert_gpio_sigs.v
+5124c2bb3daf1420ecc933d3ddf434c6a6a5225c counter_timer_high.v
+f23986ed2483690161b467eec998bfab05aa0b03 counter_timer_low.v
+5298552fa258a7b8daaebafb6a053aa40648f926 digital_pll.v
+084d689aa1db7894021c89ec7b57b696d7e86ca9 digital_pll_controller.v
+77e19ec53c463ca009675b4fad7e8ddd8807f9cf gpio_control_block.v
+1898b82b348087ab19df11fcf5fb15973bd4dcb4 gpio_wb.v
+339a4eb821b5aaecdb66156ec2f94afb1bb6222b housekeeping_spi.v
+37b86bdee00effa1dabb54f5e11d684b0eb4e0c4 la_wb.v
+e99f14f5ba1e805e463fda03e5bc50b261bf3148 manifest
+7e3130f7c5ad489917a4c1fc7a3c78faf188e210 mem_wb.v
+a8ae0a27e4d5cb5d8074abba260c1d0331f6fdb9 mgmt_core.v
+d4812358137bde6386ca760dcb217ec9dde71093 mgmt_protect.v
+04f9aaa505efa2cd4a44bb4420b27750a362c4bf mgmt_protect_hv.v
+20a482029168de93693a92ce03c00ec16e7b4776 mgmt_soc.v
+f3b1361415659a00c780d8cc88559852b70a2f74 mprj_ctrl.v
+5e882b71cf96fc207f10c1654be6882731e16b88 mprj_io.v
+2db90f0aed7d6f1c499910ac58d818fc7b45b399 pads.v
+5f1d9a90287fa5ae6635933c287e8e9e3e39931a picorv32.v
+bc077c1a35a2d44aed6ca0932a4c4afeda86e66a ring_osc2x13.v
+2ba0b16fce4bfb4a8da3470bb84d7833365e1867 simple_por.v
+293f678d44b30abfab6c6a065828c916f05fd917 simple_spi_master.v
+7a949db8a5665540e0125bfb7544852167e821b0 simpleuart.v
+639b2d189ebf27a1a67f96d7668547da99dc5b09 sky130_fd_sc_hvl__lsbufhv2lv_1_wrapped.v
+b77b7eb6ae4b253abf157a01f6f349719a81628c spimemio.v
+f4dae3c0ec6a461fd297db1a88d120b6115b32fd sram_1rw1r_32_256_8_sky130.v
+ece07d412bb175f13725fbdd0a48739761abc361 storage.v
+d1270ed63f604099c9c1c286a4cb89dc2f004e8d storage_bridge_wb.v
+456350f3add92a08465c2d372140b6e358a330e6 sysctrl.v
+4a64594935117e12cbf75de59f7adcf748485dbf wb_intercon.v