Add parameters example RDL file

This commit is contained in:
2021-11-04 23:33:06 -07:00
parent cc0d961a41
commit ba45cfc64a
5 changed files with 872 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
.PHONY: clean
default: $(RTL_TARGETS)
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
clean:
rm -rf srdl2sv_out