Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions flow/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,8 @@ endef
# Custom target to go from synthesis to placement in a single OpenROAD run
$(eval $(call do-step,1_3_floorplan_to_place, $(RESULTS_DIR)/1_synth.odb $(RESULTS_DIR)/1_synth.sdc,floorplan_to_place))

$(eval $(call OPEN_GUI_SHORTCUT,yosys,1_2_yosys.v))

.PHONY: floorplan_to_place
floorplan_to_place: $(RESULTS_DIR)/1_synth.odb $(RESULTS_DIR)/1_synth.sdc
$(UNSET_AND_MAKE) do-1_3_floorplan_to_place
Expand Down Expand Up @@ -777,6 +779,7 @@ $(eval $(call OPEN_GUI_SHORTCUT,final,6_final.odb))

$(foreach file,$(RESULTS_DEF),$(eval $(call OPEN_GUI,$(file),DEF_FILE)))
$(foreach file,$(RESULTS_ODB),$(eval $(call OPEN_GUI,$(file),ODB_FILE)))
$(foreach file,$(RESULTS_V),$(eval $(call OPEN_GUI,$(file),V_FILE)))

# Write a def for the corresponding odb
$(foreach file,$(RESULTS_ODB),$(file).def): %.def:
Expand Down
4 changes: 4 additions & 0 deletions flow/designs/asap7/minimal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ gui_synth
The module hierarchy can here be examined to give a sense of
area required for the default placement density.

## `make gui_yosys` OpenROAD GUI information for Yosys netlist

It is possible to set up hierarchical synthesis using ORFS, in which case it can be helpful to view a netlist with blackboxed submodules, in which case there's no .odb file and `make gui_synth` is not available.

## `make gui_floorplan` OpenROAD GUI information

Next to iterate on floorplan settings:
Expand Down
11 changes: 11 additions & 0 deletions flow/scripts/open.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ if { [env_var_exists_and_non_empty DEF_FILE] } {
}
set input_file $::env(DEF_FILE)
log_cmd read_def $input_file
} elseif { [env_var_exists_and_non_empty V_FILE] } {
log_cmd read_lef $::env(TECH_LEF)
log_cmd read_lef $::env(SC_LEF)
if { [env_var_exists_and_non_empty ADDITIONAL_LEFS] } {
foreach lef $::env(ADDITIONAL_LEFS) {
log_cmd read_lef $lef
}
}
set input_file $::env(V_FILE)
log_cmd read_verilog $input_file
log_cmd link_design {*}[hier_options] $::env(DESIGN_NAME)
} else {
set input_file $::env(ODB_FILE)
log_cmd read_db {*}[hier_options] $input_file
Expand Down
1 change: 1 addition & 0 deletions flow/scripts/variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export RESULTS_ODB = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.odb)))
export RESULTS_DEF = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.def)))
export RESULTS_GDS = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.gds)))
export RESULTS_OAS = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.oas)))
export RESULTS_V = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.v)))
export GDS_MERGED_FILE = $(RESULTS_DIR)/6_1_merged.$(STREAM_SYSTEM_EXT)

define get_variables
Expand Down