From e6c4372332d1381fc8055d8bc08d474911de5f20 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Mon, 6 Jun 2016 15:02:54 -0700 Subject: [PATCH] Fix "make run-asm-tests" for Chisel 3 This was just a missing Makefrag-verilog dependency (the .d file). --- vsim/Makefrag-verilog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vsim/Makefrag-verilog b/vsim/Makefrag-verilog index d270b72a..f91c08d6 100644 --- a/vsim/Makefrag-verilog +++ b/vsim/Makefrag-verilog @@ -21,10 +21,10 @@ $(FIRRTL): # files. .SECONDARY: $(generated_dir)/$(MODEL).$(CONFIG).fir -$(generated_dir)/%.$(CONFIG).fir: $(chisel_srcs) +$(generated_dir)/%.$(CONFIG).fir $(generated_dir)/%.$(CONFIG).d: $(chisel_srcs) mkdir -p $(dir $@) - cd $(base_dir) && $(SBT) "run $(PROJECT) $(patsubst %.$(CONFIG).fir,%,$(notdir $@)) $(CONFIG) $(CHISEL_ARGS) --configDump --noInlineMem" - mv $(patsubst %.$(CONFIG).fir,%.fir,$@) $@ + cd $(base_dir) && $(SBT) "run $(PROJECT) $(patsubst %.$(CONFIG).fir,%,$(patsubst %.d,%.fir,$(notdir $@))) $(CONFIG) $(CHISEL_ARGS) --configDump --noInlineMem" + mv $(generated_dir)/$(MODEL).fir $(generated_dir)/$(MODEL).$(CONFIG).fir $(generated_dir)/%.v $(generated_dir)/%.prm: $(generated_dir)/%.fir $(FIRRTL) mkdir -p $(dir $@)