Add firrtl and verilog Makefile targets to vsim
This commit is contained in:
parent
cde104b3fa
commit
a304695ffd
@ -5,6 +5,11 @@
|
|||||||
# files.
|
# files.
|
||||||
.SECONDARY: $(generated_dir)/$(MODEL).$(CONFIG).fir
|
.SECONDARY: $(generated_dir)/$(MODEL).$(CONFIG).fir
|
||||||
|
|
||||||
|
firrtl: $(generated_dir)/$(MODEL).$(CONFIG).fir
|
||||||
|
verilog: $(generated_dir)/$(MODEL).$(CONFIG).v
|
||||||
|
|
||||||
|
.PHONY: firrtl verilog
|
||||||
|
|
||||||
$(generated_dir)/%.$(CONFIG).fir $(generated_dir)/%.$(CONFIG).d $(generated_dir)/%.prm: $(chisel_srcs) $(bootrom_img)
|
$(generated_dir)/%.$(CONFIG).fir $(generated_dir)/%.$(CONFIG).d $(generated_dir)/%.prm: $(chisel_srcs) $(bootrom_img)
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
cd $(base_dir) && $(SBT) "run $(generated_dir) $(PROJECT) $(notdir $*) $(CFG_PROJECT) $(CONFIG)"
|
cd $(base_dir) && $(SBT) "run $(generated_dir) $(PROJECT) $(notdir $*) $(CFG_PROJECT) $(CONFIG)"
|
||||||
|
Loading…
Reference in New Issue
Block a user