Skip to content

Commit e15c613

Browse files
committed
Merge branch 'master' of https://github.com/The-OpenROAD-Project-private/OpenROAD-flow-scripts into secure-est_via_res
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
2 parents 8b20c61 + 058b452 commit e15c613

9 files changed

Lines changed: 31 additions & 18 deletions

File tree

flow/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ endef
389389
# Custom target to go from synthesis to placement in a single OpenROAD run
390390
$(eval $(call do-step,1_3_floorplan_to_place, $(RESULTS_DIR)/1_synth.odb $(RESULTS_DIR)/1_synth.sdc,floorplan_to_place))
391391

392+
$(eval $(call OPEN_GUI_SHORTCUT,yosys,1_2_yosys.v))
393+
392394
.PHONY: floorplan_to_place
393395
floorplan_to_place: $(RESULTS_DIR)/1_synth.odb $(RESULTS_DIR)/1_synth.sdc
394396
$(UNSET_AND_MAKE) do-1_3_floorplan_to_place
@@ -777,6 +779,7 @@ $(eval $(call OPEN_GUI_SHORTCUT,final,6_final.odb))
777779

778780
$(foreach file,$(RESULTS_DEF),$(eval $(call OPEN_GUI,$(file),DEF_FILE)))
779781
$(foreach file,$(RESULTS_ODB),$(eval $(call OPEN_GUI,$(file),ODB_FILE)))
782+
$(foreach file,$(RESULTS_V),$(eval $(call OPEN_GUI,$(file),V_FILE)))
780783

781784
# Write a def for the corresponding odb
782785
$(foreach file,$(RESULTS_ODB),$(file).def): %.def:

flow/designs/asap7/minimal/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ gui_synth
6262
The module hierarchy can here be examined to give a sense of
6363
area required for the default placement density.
6464

65+
## `make gui_yosys` OpenROAD GUI information for Yosys netlist
66+
67+
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.
68+
6569
## `make gui_floorplan` OpenROAD GUI information
6670

6771
Next to iterate on floorplan settings:

flow/designs/nangate45/bp_fe_top/rules-base.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@
8080
"compare": "<="
8181
},
8282
"finish__timing__setup__ws": {
83-
"value": -0.123,
83+
"value": -0.222,
8484
"compare": ">="
8585
},
8686
"finish__timing__setup__tns": {
87-
"value": -6.88,
87+
"value": -13.8,
8888
"compare": ">="
8989
},
9090
"finish__timing__hold__ws": {

flow/designs/nangate45/swerv_wrapper/config.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,5 @@ export MACRO_PLACE_HALO = 10 10
2222
export PLACE_DENSITY_LB_ADDON = 0.08
2323
export TNS_END_PERCENT = 100
2424

25-
export FASTROUTE_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/fastroute.tcl
26-
2725
export SWAP_ARITH_OPERATORS = 1
2826
export OPENROAD_HIERARCHICAL = 1

flow/designs/nangate45/swerv_wrapper/fastroute.tcl

Lines changed: 0 additions & 4 deletions
This file was deleted.

flow/designs/nangate45/swerv_wrapper/rules-base.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
"compare": "<="
2929
},
3030
"cts__timing__setup__ws": {
31-
"value": -0.316,
31+
"value": -0.114,
3232
"compare": ">="
3333
},
3434
"cts__timing__setup__tns": {
35-
"value": -221.0,
35+
"value": -0.926,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
@@ -48,11 +48,11 @@
4848
"compare": "<="
4949
},
5050
"globalroute__timing__setup__ws": {
51-
"value": -0.312,
51+
"value": -0.273,
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -179.0,
55+
"value": -7.04,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
@@ -64,7 +64,7 @@
6464
"compare": ">="
6565
},
6666
"detailedroute__route__wirelength": {
67-
"value": 4011972,
67+
"value": 3659075,
6868
"compare": "<="
6969
},
7070
"detailedroute__route__drc_errors": {
@@ -80,19 +80,19 @@
8080
"compare": "<="
8181
},
8282
"finish__timing__setup__ws": {
83-
"value": -0.379,
83+
"value": -0.236,
8484
"compare": ">="
8585
},
8686
"finish__timing__setup__tns": {
87-
"value": -256.0,
87+
"value": -2.16,
8888
"compare": ">="
8989
},
9090
"finish__timing__hold__ws": {
91-
"value": -0.11,
91+
"value": -0.107,
9292
"compare": ">="
9393
},
9494
"finish__timing__hold__tns": {
95-
"value": -1.73,
95+
"value": -0.407,
9696
"compare": ">="
9797
},
9898
"finish__design__instance__area": {

flow/scripts/open.tcl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ if { [env_var_exists_and_non_empty DEF_FILE] } {
1616
}
1717
set input_file $::env(DEF_FILE)
1818
log_cmd read_def $input_file
19+
} elseif { [env_var_exists_and_non_empty V_FILE] } {
20+
log_cmd read_lef $::env(TECH_LEF)
21+
log_cmd read_lef $::env(SC_LEF)
22+
if { [env_var_exists_and_non_empty ADDITIONAL_LEFS] } {
23+
foreach lef $::env(ADDITIONAL_LEFS) {
24+
log_cmd read_lef $lef
25+
}
26+
}
27+
set input_file $::env(V_FILE)
28+
log_cmd read_verilog $input_file
29+
log_cmd link_design {*}[hier_options] $::env(DESIGN_NAME)
1930
} else {
2031
set input_file $::env(ODB_FILE)
2132
log_cmd read_db {*}[hier_options] $input_file

flow/scripts/variables.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ export RESULTS_ODB = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.odb)))
187187
export RESULTS_DEF = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.def)))
188188
export RESULTS_GDS = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.gds)))
189189
export RESULTS_OAS = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.oas)))
190+
export RESULTS_V = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.v)))
190191
export GDS_MERGED_FILE = $(RESULTS_DIR)/6_1_merged.$(STREAM_SYSTEM_EXT)
191192

192193
define get_variables

0 commit comments

Comments
 (0)