Skip to content

Commit a208c83

Browse files
committed
makefile: add a yosys target
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent bf7e2bc commit a208c83

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

flow/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,13 @@ $(foreach file,$(RESULTS_ODB),$(file).def): %.def:
885885
$(foreach file,$(RESULTS_ODB),$(file).v): %.v:
886886
ODB_FILE=$(RESULTS_DIR)/$* VERILOG_FILE=$(RESULTS_DIR)/$@ $(OPENROAD_CMD) $(SCRIPTS_DIR)/write_verilog.tcl
887887

888+
# Drop into yosys with all environment variables, useful to for instance
889+
# debug synthesis, or run other commands aftewards, such as "show" to
890+
# generate a .dot file of the design to visualize designs.
891+
.PHONY: yosys
892+
yosys:
893+
$(YOSYS_CMD)
894+
888895
.PHONY: all_defs
889896
all_defs : $(foreach file,$(RESULTS_ODB),$(file).def)
890897
.PHONY: all_verilog

0 commit comments

Comments
 (0)