mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-21 22:48:41 +00:00
Update Makefiles in examples directory to also invoke a Verilator compile
This commit is contained in:
parent
ba45cfc64a
commit
fc26817c33
@ -2,7 +2,10 @@ RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
default: $(RTL_TARGETS)
|
||||
default: verilog_compile
|
||||
|
||||
verilog_compile: $(RTL_TARGETS)
|
||||
verilator -cc -sv $(shell ls srdl2sv_out/*.sv)
|
||||
|
||||
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
|
||||
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
|
||||
|
@ -2,7 +2,10 @@ RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
default: $(RTL_TARGETS)
|
||||
default: verilog_compile
|
||||
|
||||
verilog_compile: $(RTL_TARGETS)
|
||||
verilator -cc -sv $(shell ls srdl2sv_out/*.sv)
|
||||
|
||||
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
|
||||
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
|
||||
|
@ -2,7 +2,10 @@ RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
default: $(RTL_TARGETS)
|
||||
default: verilog_compile
|
||||
|
||||
verilog_compile: $(RTL_TARGETS)
|
||||
verilator -cc -sv $(shell ls srdl2sv_out/*.sv)
|
||||
|
||||
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
|
||||
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
|
||||
|
@ -2,7 +2,10 @@ RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
default: $(RTL_TARGETS)
|
||||
default: verilog_compile
|
||||
|
||||
verilog_compile: $(RTL_TARGETS)
|
||||
verilator -cc -sv $(shell ls srdl2sv_out/*.sv)
|
||||
|
||||
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
|
||||
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
|
||||
|
@ -2,7 +2,10 @@ RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
default: $(RTL_TARGETS)
|
||||
default: verilog_compile
|
||||
|
||||
verilog_compile: $(RTL_TARGETS)
|
||||
verilator -cc -sv $(shell ls srdl2sv_out/*.sv)
|
||||
|
||||
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
|
||||
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
|
||||
|
Loading…
Reference in New Issue
Block a user