diff --git a/emulator/Makefrag-verilator b/emulator/Makefrag-verilator index 8aef2e9e..ff61405b 100644 --- a/emulator/Makefrag-verilator +++ b/emulator/Makefrag-verilator @@ -14,12 +14,12 @@ $(FIRRTL): .SECONDARY: $(firrtl) $(firrtl_debug) $(verilog) $(verilog_debug) -$(firrtl) $(params_file) $(generated_dir)/%.$(CONFIG).d: $(chisel_srcs) +$(generated_dir)/%.$(CONFIG).fir $(generated_dir)/%.$(CONFIG).prm $(generated_dir)/%.$(CONFIG).d: $(chisel_srcs) mkdir -p $(dir $@) cd $(base_dir) && $(SBT) "run $(PROJECT) $(MODEL) $(CONFIG) --targetDir $(generated_dir)" mv $(generated_dir)/$(MODEL).fir $(generated_dir)/$(MODEL).$(CONFIG).fir -$(firrtl_debug) $(params_file_debug): $(chisel_srcs) +$(generated_dir_debug)/%.$(MODEL).$(CONFIG).fir $(generated_dir_debug)/%.$(CONFIG).prm $(generated_dir_debug)/%.$(CONFIG).d: $(chisel_srcs) mkdir -p $(dir $@) cd $(base_dir) && $(SBT) "run $(PROJECT) $(MODEL) $(CONFIG) --targetDir $(generated_dir_debug)" mv $(generated_dir_debug)/$(MODEL).fir $(generated_dir_debug)/$(MODEL).$(CONFIG).fir