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

Commit

Permalink
Fix: Default make recipe not dump firrtl file. (#67)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Yakkhini authored Jun 3, 2024
1 parent 165440a commit 3eda724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sbt:
compile: $(gen_dir)/Tile.sv

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

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

Expand Down

0 comments on commit 3eda724

Please sign in to comment.