Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Commit 3eda724

Browse files
authored
Fix: Default make recipe not dump firrtl file. (#67)
According to README in riscv-mini, running `make` would dump .fir firrtl file and .sv file. But there is only a SystemVerilog file output in the generated dir. Some projects maybe relies to this behavior to work, such as ussc-vama/essent-chisel-gallery. So I append a flag to SBT to avoid some potential issue. Running `make` will also generate firrtl file now.
1 parent 165440a commit 3eda724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ sbt:
1515
compile: $(gen_dir)/Tile.sv
1616

1717
$(gen_dir)/Tile.sv: $(wildcard $(src_dir)/scala/*.scala)
18-
$(SBT) $(SBT_FLAGS) "run --target-dir=$(gen_dir)"
18+
$(SBT) $(SBT_FLAGS) "run --target-dir=$(gen_dir) --dump-fir"
1919

2020
CXXFLAGS += -std=c++14 -Wall -Wno-unused-variable
2121

0 commit comments

Comments
 (0)