Skip to content

Commit a6dde74

Browse files
committed
Merge remote-tracking branch 'origin/master' into secure-gpl-modify-td-max-weight
2 parents 1d76e8e + 372e213 commit a6dde74

File tree

178 files changed

+57915
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+57915
-47
lines changed

docs/user/FlowVariables.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ configuration file.
9494
| <a name="FILL_CELLS"></a>FILL_CELLS| Fill cells are used to fill empty sites. If not set or empty, fill cell insertion is skipped.| | |
9595
| <a name="FILL_CONFIG"></a>FILL_CONFIG| JSON rule file for metal fill during chip finishing.| | |
9696
| <a name="FLOORPLAN_DEF"></a>FLOORPLAN_DEF| Use the DEF file to initialize floorplan.| | |
97+
| <a name="FLOW_VARIANT"></a>FLOW_VARIANT| Flow variant to use, used in the flow variant directory name.| base| |
9798
| <a name="GDS_ALLOW_EMPTY"></a>GDS_ALLOW_EMPTY| Regular expression of module names of macros that have no .gds file| | |
9899
| <a name="GDS_FILES"></a>GDS_FILES| Path to platform GDS files.| | |
99100
| <a name="GENERATE_ARTIFACTS_ON_FAILURE"></a>GENERATE_ARTIFACTS_ON_FAILURE| For instance Bazel needs artifacts (.odb and .rpt files) on a failure to allow the user to save hours on re-running the failed step locally, but when working with a Makefile flow, it is more natural to fail the step and leave the user to manually inspect the logs and artifacts directly via the file system. Set to 1 to change the behavior to generate artifacts upon failure to e.g. do a global route. The exit code will still be non-zero on all other failures that aren't covered by the "useful to inspect the artifacts on failure" use-case. Example: just like detailed routing, a global route that fails with congestion, is not a build failure(as in exit code non-zero), it is a successful(as in zero exit code) global route that produce reports detailing the problem. Detailed route will not proceed, if there is global routing congestion This allows build systems, such as bazel, to create artifacts for global and detailed route, even if the operation had problems, without having know about the semantics between global and detailed route. Considering that global and detailed route can run for a long time and use a lot of memory, this allows inspecting results on a laptop for a build that ran on a server.| 0| |
@@ -182,7 +183,7 @@ configuration file.
182183
| <a name="SYNTH_HIERARCHICAL"></a>SYNTH_HIERARCHICAL| Enable to Synthesis hierarchically, otherwise considered flat synthesis.| 0| |
183184
| <a name="SYNTH_KEEP_MODULES"></a>SYNTH_KEEP_MODULES| Mark modules to keep from getting removed in flattening.| | |
184185
| <a name="SYNTH_MEMORY_MAX_BITS"></a>SYNTH_MEMORY_MAX_BITS| Maximum number of bits for memory synthesis.| 4096| |
185-
| <a name="SYNTH_MINIMUM_KEEP_SIZE"></a>SYNTH_MINIMUM_KEEP_SIZE| For hierarchical synthesis, we keep modules of larger area than given by this variable and flatten smaller modules. The area unit used is the size of a basic nand2 gate from the platform's standard cell library. The default value is platform specific.| | |
186+
| <a name="SYNTH_MINIMUM_KEEP_SIZE"></a>SYNTH_MINIMUM_KEEP_SIZE| For hierarchical synthesis, we keep modules of larger area than given by this variable and flatten smaller modules. The area unit used is the size of a basic nand2 gate from the platform's standard cell library. The default value is platform specific.| 0| |
186187
| <a name="SYNTH_NETLIST_FILES"></a>SYNTH_NETLIST_FILES| Skips synthesis and uses the supplied netlist files. If the netlist files contains duplicate modules, which can happen when using hierarchical synthesis on indvidual netlist files and combining here, subsequent modules are silently ignored and only the first module is used.| | |
187188
| <a name="SYNTH_WRAPPED_OPERATORS"></a>SYNTH_WRAPPED_OPERATORS| Synthesize multiple architectural options for each arithmetic operator in the design. These options are available for switching among in later stages of the flow.| | |
188189
| <a name="TAPCELL_TCL"></a>TAPCELL_TCL| Path to Endcap and Welltie cells file.| | |
@@ -392,6 +393,7 @@ configuration file.
392393
- [ENABLE_DPO](#ENABLE_DPO)
393394
- [FASTROUTE_TCL](#FASTROUTE_TCL)
394395
- [FILL_CONFIG](#FILL_CONFIG)
396+
- [FLOW_VARIANT](#FLOW_VARIANT)
395397
- [GDS_FILES](#GDS_FILES)
396398
- [GENERATE_ARTIFACTS_ON_FAILURE](#GENERATE_ARTIFACTS_ON_FAILURE)
397399
- [GLOBAL_PLACEMENT_ARGS](#GLOBAL_PLACEMENT_ARGS)

flow/MODULE.bazel.lock

Lines changed: 132 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flow/Makefile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# settings.mk is not under source control. Put variables into this
2-
# file to avoid having to adding the to the make command line.
3-
-include settings.mk
4-
51
# ==============================================================================
62
# Uncomment or add the design to run
73
# ==============================================================================
@@ -159,15 +155,10 @@ include $(PLATFORM_DIR)/config.mk
159155
# is no way to escape space in defaults.py and get "foreach" to work.
160156
$(foreach line,$(shell $(SCRIPTS_DIR)/defaults.py),$(eval export $(subst __SPACE__, ,$(line))))
161157

162-
# If the design, nor $(PLATFORM_DIR)/config.mk provided a default, provide one here
163-
export SYNTH_MINIMUM_KEEP_SIZE ?= 0
164-
165158
# Not normally adjusted by user
166159
export SYNTH_OPERATIONS_ARGS ?= -extra-map $(FLOW_HOME)/platforms/common/lcu_kogge_stone.v
167160
export SYNTH_FULL_ARGS ?= $(SYNTH_ARGS) $(SYNTH_OPERATIONS_ARGS)
168161

169-
export FLOW_VARIANT ?= base
170-
171162
# Setup working directories
172163
export DESIGN_NICKNAME ?= $(DESIGN_NAME)
173164

flow/designs/asap7/jpeg/jpeg_encoder15_7nm.sdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ current_design jpeg_encoder
22

33
set clk_name clk
44
set clk_port_name clk
5-
set clk_period 1100
5+
set clk_period 900
66
set clk_io_pct 0.2
77

88
set clk_port [get_ports $clk_port_name]

flow/designs/asap7/jpeg/rules-base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": 0.0,
51+
"value": -71.1,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {

flow/designs/gf180/uart-blocks/constraint.sdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set clk_name clk
22
set clk_port_name clk
3-
set clk_period 6
3+
set clk_period 6
44
set clk_io_pct 0.2
55

66
set clk_port [get_ports $clk_port_name]

flow/designs/ihp-sg13g2/ibex/constraint.sdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ current_design ibex_core
22

33
set clk_name core_clock
44
set clk_port_name clk_i
5-
set clk_period 10.75
5+
set clk_period 10.0
66
set clk_io_pct 0.2
77

88
set clk_port [get_ports $clk_port_name]

flow/designs/ihp-sg13g2/ibex/rules-base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -0.43,
51+
"value": -1.03,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {

flow/designs/ihp-sg13g2/riscv32i/constraint.sdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set clk_name clk
22
set clk_port_name clk
3-
set clk_period 10.0
3+
set clk_period 6.0
44
set clk_io_pct 0.2
55

66
set clk_port [get_ports $clk_port_name]

flow/designs/ihp-sg13g2/riscv32i/rules-base.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,43 +28,43 @@
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
31-
"value": 322,
31+
"value": 310,
3232
"compare": "<="
3333
},
3434
"detailedroute__route__wirelength": {
35-
"value": 771955,
35+
"value": 771195,
3636
"compare": "<="
3737
},
3838
"detailedroute__route__drc_errors": {
3939
"value": 0,
4040
"compare": "<="
4141
},
4242
"detailedroute__antenna__violating__nets": {
43-
"value": 16,
43+
"value": 14,
4444
"compare": "<="
4545
},
4646
"detailedroute__antenna_diodes_count": {
4747
"value": 5,
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": 0.0,
51+
"value": -0.98,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
5555
"value": 411968,
5656
"compare": "<="
5757
},
5858
"finish__timing__drv__setup_violation_count": {
59-
"value": 10,
59+
"value": 523,
6060
"compare": "<="
6161
},
6262
"finish__timing__drv__hold_violation_count": {
6363
"value": 10,
6464
"compare": "<="
6565
},
6666
"finish__timing__wns_percent_delay": {
67-
"value": -10.0,
67+
"value": -24.94,
6868
"compare": ">="
6969
}
7070
}

0 commit comments

Comments
 (0)