diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 0590eb8709..6bf1d6b7d1 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -100,22 +100,26 @@ configuration file. | ADDITIONAL_GDS| Hardened macro GDS files listed here.| | | ADDITIONAL_LEFS| Hardened macro LEF view files listed here. The LEF information of the macros is immutable and used throughout all stages. Stored in the .odb file.| | | ADDITIONAL_LIBS| Hardened macro library files listed here. The library information is immutable and used throughout all stages. Not stored in the .odb file.| | +| ADDITIONAL_SITES| Passed as -additional_sites to initialize_floorplan.| | | ASAP7_USE_VT| A space separated list of VT options to use with the ASAP7 standard cell library: RVT, LVT, SLVT.| RVT| | BALANCE_ROWS| Balance rows during placement.| 0| | BLOCKS| Blocks used as hard macros in a hierarchical flow. Do note that you have to specify block-specific inputs file in the directory mentioned by Makefile.| | | BUFFER_PORTS_ARGS| Specify arguments to the buffer_ports call during placement. Only used if DONT_BUFFER_PORTS=0.| | +| CACHED_REPORTS| List of pre-existing report files to copy into the reports directory before synthesis. Used when reusing prior synthesis results with SYNTH_NETLIST_FILES.| | | CAP_MARGIN| Specifies a capacitance margin when fixing max capacitance violations. This option allows you to overfix.| | +| CDL_FILE| CDL master netlist file used as the -masters argument to write_cdl for generating Circuit Description Language output.| | | CDL_FILES| Insert additional Circuit Description Language (`.cdl`) netlist files.| | | CELL_PAD_IN_SITES_DETAIL_PLACEMENT| Cell padding on both sides in site widths to ease routability in detail placement.| 0| | CELL_PAD_IN_SITES_GLOBAL_PLACEMENT| Cell padding on both sides in site widths to ease routability during global placement.| 0| | CLKGATE_MAP_FILE| Optional mapping file supplied to Yosys to map clock gating cells| | | CLUSTER_FLOPS| Enable clustering of flip-flops into multi-bit flip-flops, if the platform PDK includes multi-bit flip-flops| 0| -| CLUSTER_FLOPS_ARGS| Additional arguments passed to the cluster_flops command.| | +| CLUSTER_FLOPS_ARGS| Additional arguments passed to the cluster_flops command. Only used when CLUSTER_FLOPS is set.| | | CORE_AREA| The core area specified as a list of lower-left and upper-right corners in microns (X1 Y1 X2 Y2).| | | CORE_ASPECT_RATIO| The core aspect ratio (height / width). This variable is only used when `CORE_UTILIZATION` is set.| 1.0| | CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is set.| 1.0| | CORE_UTILIZATION| The core utilization percentage (0-100).| | | CORNER| PVT corner library selection. Only available for ASAP7 and GF180 PDKs.| | +| CORNERS| List of timing corner names for multi-corner analysis (e.g. "slow fast"). When set, liberty files are loaded per corner using uppercase _LIB_FILES environment variables (e.g. corner "slow" reads SLOW_LIB_FILES) and timing models are generated per corner.| | | CTS_ARGS| Override `clock_tree_synthesis` arguments.| | | CTS_BUF_DISTANCE| Distance (in microns) between buffers.| | | CTS_BUF_LIST| List of cells used to construct the clock tree. Overrides buffer inference.| | @@ -130,14 +134,16 @@ configuration file. | DETAILED_ROUTE_ARGS| Add additional arguments for debugging purposes during detail route.| | | DETAILED_ROUTE_END_ITERATION| Maximum number of iterations.| 64| | DETAIL_PLACEMENT_ARGS| Specify arguments to the detailed_placement call during placement.| | -| DFF_LIB_FILES| Technology mapping liberty files for flip-flops.| | +| DFF_LIB_FILE| Single Liberty file for flip-flop technology mapping (dfflibmap) during synthesis. Takes precedence over DFF_MAP_FILE when set.| | | DFF_MAP_FILE| Optional mapping file supplied to Yosys to map D flip-flops| | | DIE_AREA| The die area specified as a list of lower-left and upper-right corners in microns (X1 Y1 X2 Y2).| | +| DISABLE_VIA_GEN| Passed as -disable_via_gen to detailed_route.| | | DONT_BUFFER_PORTS| Do not buffer input/output ports during floorplanning.| 0| | DONT_USE_CELLS| Dont use cells eases pin access in detailed routing.| | | DPO_MAX_DISPLACEMENT| Specifies how far an instance can be moved when optimizing.| 5 1| | EARLY_SIZING_CAP_RATIO| Ratio between the input pin capacitance and the output pin load during initial gate sizing.| | | ENABLE_DPO| Enable detail placement with improve_placement feature.| 1| +| ENABLE_RESISTANCE_AWARE| Passed as -resistance_aware to global_route.| | | FASTROUTE_TCL| Specifies a Tcl script with commands to run before FastRoute.| | | FILL_CELLS| Fill cells are used to fill empty sites. If not set or empty, fill cell insertion is skipped.| | | FILL_CONFIG| JSON rule file for metal fill during chip finishing.| | @@ -151,6 +157,7 @@ configuration file. | GLOBAL_PLACEMENT_ARGS| Use additional tuning parameters during global placement other than default args defined in global_place.tcl.| | | GLOBAL_ROUTE_ARGS| Replaces default arguments for global route.| -congestion_iterations 30 -congestion_report_iter_step 5 -verbose| | GND_NETS_VOLTAGES| Used for IR Drop calculation.| | +| GPL_KEEP_OVERFLOW| Passed as -keep_resize_below_overflow to global_placement. Only used when GPL_TIMING_DRIVEN is enabled.| | | GPL_ROUTABILITY_DRIVEN| Specifies whether the placer should use routability driven placement.| 1| | GPL_TIMING_DRIVEN| Specifies whether the placer should use timing driven placement.| 1| | GUI_TIMING| Load timing information when opening GUI. For large designs, this can be quite time consuming. Useful to disable when investigating non-timing aspects like floorplan, placement, routing, etc.| 1| @@ -163,6 +170,7 @@ configuration file. | KLAYOUT_TECH_FILE| A mapping from LEF/DEF to GDS using the KLayout tool.| | | LATCH_MAP_FILE| Optional mapping file supplied to Yosys to map latches| | | LAYER_PARASITICS_FILE| Path to per layer parasitics file. Defaults to $(PLATFORM_DIR)/setRC.tcl.| | +| LEC_AUX_VERILOG_FILES| Additional Verilog files (e.g. blackbox stubs) to include in LEC equivalence checks. Appended to the generated Verilog netlist before running the formal equivalence check.| | | LEC_CHECK| Perform a formal equivalence check between before and after netlists. If this fails, report an issue to OpenROAD.| 0| | LIB_FILES| A Liberty file of the standard cell library with PVT characterization, input and output characteristics, timing and power definitions for each cell.| | | MACRO_BLOCKAGE_HALO| Distance beyond the edges of a macro that will also be covered by the blockage generated for that macro. Note that the default macro blockage halo comes from the largest of the specified MACRO_PLACE_HALO x or y values. This variable overrides that calculation.| | @@ -184,6 +192,8 @@ configuration file. | MIN_ROUTING_LAYER| The lowest metal layer name to be used in routing.| | | NUM_CORES| Passed to `openroad -threads $(NUM_CORES)`, defaults to numbers of cores in system as determined by system specific code in Makefile, `nproc` is tried first. OpenROAD does not limit itself to this number of cores across OpenROAD running instances, which can lead to overprovisioning in contexts such as bazel-orfs where there could be many routing, or place jobs running at the same time.| | | OPENROAD_HIERARCHICAL| Feature toggle to enable to run OpenROAD in hierarchical mode, otherwise considered flat. Will eventually be the default and this option will be retired.| 0| +| OR_K| Passed as -or_k to detailed routing.| | +| OR_SEED| Passed as -or_seed to detailed routing.| | | PDN_TCL| File path which has a set of power grid policies used by pdn to be applied to the design, such as layers to use, stripe width and spacing to generate the actual metal straps.| | | PLACE_DENSITY| The desired average placement density of cells: 1.0 = dense, 0.0 = widely spread. The intended effort is also communicated by this parameter. Use a low value for faster builds and higher value for better quality of results. If a too low value is used, the placer will not be able to place all cells and a recommended minimum placement density can be found in the logs. A too high value can lead to excessive runtimes, even timeouts and subtle failures in the flow after placement, such as in CTS or global routing when timing repair fails. The default is platform specific.| | | PLACE_DENSITY_LB_ADDON| Check the lower boundary of the PLACE_DENSITY and add PLACE_DENSITY_LB_ADDON if it exists.| | @@ -258,12 +268,13 @@ configuration file. | SDC_FILE| The path to design constraint (SDC) file.| | | SDC_GUT| Load design and remove all internal logic before doing synthesis. This is useful when creating a mock .lef abstract that has a smaller area than the amount of logic would allow. bazel-orfs uses this to mock SRAMs, for instance.| | | SEAL_GDS| Seal macro to place around the design.| | -| SETUP_REPAIR_SEQUENCE| Specifies the sequence of moves to do in repair_timing -setup. This should be a string of move keywords separated by commas such as the default when not used: "unbuffer,sizedown,sizeup,swap,buffer,clone,split".| | +| SETUP_MOVE_SEQUENCE| Passed as -sequence to repair_timing. This should be a string of move keywords separated by commas.| | | SETUP_SLACK_MARGIN| Specifies a time margin for the slack when fixing setup violations. This option allows you to overfix or underfix(negative value, terminate retiming before 0 or positive slack). See HOLD_SLACK_MARGIN for more details.| 0| | SET_RC_TCL| Metal & Via RC definition file path.| | | SKIP_ANTENNA_REPAIR| Skips antenna repair entirely.| 0| | SKIP_ANTENNA_REPAIR_POST_DRT| Skips antenna repair post-detailed routing.| 0| | SKIP_ANTENNA_REPAIR_PRE_GRT| Skips antenna repair pre-global routing.| 0| +| SKIP_BUFFER_REMOVAL| Passed as -skip_buffer_removal to repair_timing. Do not remove buffers as a transform to fix timing violations (default: allow buffer removal).| | | SKIP_CRIT_VT_SWAP| Do not perform VT swap on critical cells to improve QoR (default: do critical VT swap). This is an additional VT swap on critical cells that remain near the end of setup fixing. If SKIP_VT_SWAP is set to 1, this also disables critical cell VT swap.| | | SKIP_CTS_REPAIR_TIMING| Skipping CTS repair, which can take a long time, can be useful in architectural exploration or when getting CI up and running.| 0| | SKIP_DETAILED_ROUTE| Skips detailed route.| 0| @@ -291,6 +302,7 @@ configuration file. | 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| | SYNTH_MOCK_LARGE_MEMORIES| Reduce Yosys inferred memories larger than SYNTH_MEMORY_MAX_BITS to 1 row. Yosys will generally infer memories from behavioral Verilog code, whether the memories are in standalone modules or instantiated within some larger module. fakeram and empty Verilog memories(blackboxes) of memories will not be inferred memories by Yosys and are therefore not affected by this variable. This is useful and convenient to separate the concern of instantiating and placing memories from investigating other issues with a design, though it comes at the expense of the increased accuracy that using realistic fakemem would provide. Memories with a single 1 row will of course have unrealistically good timing and area characteristics, but timing will still correctly terminate in a register. Large port memories, typically register files, will still have the retain a lot of the port logic that can be useful to investigate issues. This can be especially useful during development of designs where the behavioral model comes first and suitable memories are matched up when the design RTL is stable. A typical use case would be Chisel which will generate a behavioral model for a memories with the required clocks, ports, etc. in addition to a computer readable file with the specification of the memories that is used to [automatically](https://chipyard.readthedocs.io/en/stable/Tools/Barstools.html/) match up suitable memory macros later in the flow. During an architectural screening study, a large range of memory configurations can be investigated quickly with this option, without getting bogged down in the concern of how to realize the memories in silicon for emphemral RTL configurations that exist only long enough to run through the ORFS flow to create a table of some characteristics of a design configuration.| 0| | 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.| | +| SYNTH_OPERATIONS_ARGS| Extra arguments appended to the Yosys synth command operations list. When set, replaces the default Kogge-Stone adder extra-map.| | | SYNTH_OPT_HIER| Optimize constants across hierarchical boundaries.| | | SYNTH_REPEATABLE_BUILD| License to prune anything that makes builds less repeatable, typically used with Bazel to ensure that builds are bit-for-bit identical so that caching works optimally. Removes debug information that encodes paths, timestamps, etc.| 0| | SYNTH_RETIME_MODULES| *This is an experimental option and may cause adverse effects.* *No effort has been made to check if the retimed RTL is logically equivalent to the non-retimed RTL.* List of modules to apply automatic retiming to. These modules must not get dissolved and as such they should either be the top module or be included in SYNTH_KEEP_MODULES. The main use case is to quickly identify if performance can be improved by manually retiming the input RTL. Retiming will treat module ports like register endpoints/startpoints. The objective function of retiming isn't informed by SDC, even the clock period is ignored. As such, retiming will optimize for best delay at potentially high register number cost. Automatic retiming can produce suboptimal results as its timing model is crude and it doesn't find the optimal distribution of registers on long pipelines. See OR discussion #8080.| | @@ -311,6 +323,8 @@ configuration file. | VERILOG_FILES| The path to the design Verilog/SystemVerilog files providing a description of modules.| | | VERILOG_INCLUDE_DIRS| Specifies the include directories for the Verilog input files.| | | VERILOG_TOP_PARAMS| Apply toplevel params (if exist). Passed in as a list of key value pairs in tcl syntax; separated by spaces: PARAM1 VALUE1 PARAM2 VALUE2| | +| VIA_IN_PIN_MAX_LAYER| Passed as -via_in_pin_top_layer to pin_access and detailed_route.| | +| VIA_IN_PIN_MIN_LAYER| Passed as -via_in_pin_bottom_layer to pin_access and detailed_route.| | | WRITE_ODB_AND_SDC_EACH_STAGE| Save out .sdc and .odb file after each stage, useful to disable when using a single OpenROAD instance to run all stages of the flow.| 1| | YOSYS_FLAGS| Flags to pass to yosys.| -v 3| ## synth variables @@ -320,7 +334,9 @@ configuration file. - [ABC_DRIVER_CELL](#ABC_DRIVER_CELL) - [ABC_LOAD_IN_FF](#ABC_LOAD_IN_FF) - [ADDER_MAP_FILE](#ADDER_MAP_FILE) +- [CACHED_REPORTS](#CACHED_REPORTS) - [CLKGATE_MAP_FILE](#CLKGATE_MAP_FILE) +- [DFF_LIB_FILE](#DFF_LIB_FILE) - [DFF_MAP_FILE](#DFF_MAP_FILE) - [LATCH_MAP_FILE](#LATCH_MAP_FILE) - [MIN_BUF_CELL_AND_PORTS](#MIN_BUF_CELL_AND_PORTS) @@ -343,6 +359,7 @@ configuration file. - [SYNTH_MINIMUM_KEEP_SIZE](#SYNTH_MINIMUM_KEEP_SIZE) - [SYNTH_MOCK_LARGE_MEMORIES](#SYNTH_MOCK_LARGE_MEMORIES) - [SYNTH_NETLIST_FILES](#SYNTH_NETLIST_FILES) +- [SYNTH_OPERATIONS_ARGS](#SYNTH_OPERATIONS_ARGS) - [SYNTH_OPT_HIER](#SYNTH_OPT_HIER) - [SYNTH_REPEATABLE_BUILD](#SYNTH_REPEATABLE_BUILD) - [SYNTH_RETIME_MODULES](#SYNTH_RETIME_MODULES) @@ -360,6 +377,7 @@ configuration file. ## floorplan variables +- [ADDITIONAL_SITES](#ADDITIONAL_SITES) - [CELL_PAD_IN_SITES_GLOBAL_PLACEMENT](#CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) - [CORE_AREA](#CORE_AREA) - [CORE_ASPECT_RATIO](#CORE_ASPECT_RATIO) @@ -413,8 +431,9 @@ configuration file. - [RTLMP_OUTLINE_WT](#RTLMP_OUTLINE_WT) - [RTLMP_RPT_DIR](#RTLMP_RPT_DIR) - [RTLMP_WIRELENGTH_WT](#RTLMP_WIRELENGTH_WT) -- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) +- [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) +- [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) - [SKIP_GATE_CLONING](#SKIP_GATE_CLONING) - [SKIP_LAST_GASP](#SKIP_LAST_GASP) @@ -441,6 +460,7 @@ configuration file. - [EARLY_SIZING_CAP_RATIO](#EARLY_SIZING_CAP_RATIO) - [FLOORPLAN_DEF](#FLOORPLAN_DEF) - [GLOBAL_PLACEMENT_ARGS](#GLOBAL_PLACEMENT_ARGS) +- [GPL_KEEP_OVERFLOW](#GPL_KEEP_OVERFLOW) - [GPL_ROUTABILITY_DRIVEN](#GPL_ROUTABILITY_DRIVEN) - [GPL_TIMING_DRIVEN](#GPL_TIMING_DRIVEN) - [IO_PLACER_H](#IO_PLACER_H) @@ -483,14 +503,16 @@ configuration file. - [CTS_SNAPSHOTS](#CTS_SNAPSHOTS) - [DETAILED_METRICS](#DETAILED_METRICS) - [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN) +- [LEC_AUX_VERILOG_FILES](#LEC_AUX_VERILOG_FILES) - [LEC_CHECK](#LEC_CHECK) - [MATCH_CELL_FOOTPRINT](#MATCH_CELL_FOOTPRINT) - [MAX_REPAIR_TIMING_ITER](#MAX_REPAIR_TIMING_ITER) - [POST_CTS_TCL](#POST_CTS_TCL) - [PRE_CTS_TCL](#PRE_CTS_TCL) - [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW) -- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) +- [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) +- [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) - [SKIP_CTS_REPAIR_TIMING](#SKIP_CTS_REPAIR_TIMING) - [SKIP_GATE_CLONING](#SKIP_GATE_CLONING) @@ -504,6 +526,7 @@ configuration file. - [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT) - [DETAILED_METRICS](#DETAILED_METRICS) +- [ENABLE_RESISTANCE_AWARE](#ENABLE_RESISTANCE_AWARE) - [GLOBAL_ROUTE_ARGS](#GLOBAL_ROUTE_ARGS) - [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN) - [MAX_REPAIR_ANTENNAS_ITER_GRT](#MAX_REPAIR_ANTENNAS_ITER_GRT) @@ -514,10 +537,11 @@ configuration file. - [PRE_GLOBAL_ROUTE_TCL](#PRE_GLOBAL_ROUTE_TCL) - [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW) - [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT) -- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE) +- [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE) - [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN) - [SKIP_ANTENNA_REPAIR](#SKIP_ANTENNA_REPAIR) - [SKIP_ANTENNA_REPAIR_PRE_GRT](#SKIP_ANTENNA_REPAIR_PRE_GRT) +- [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL) - [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP) - [SKIP_GATE_CLONING](#SKIP_GATE_CLONING) - [SKIP_INCREMENTAL_REPAIR](#SKIP_INCREMENTAL_REPAIR) @@ -526,16 +550,21 @@ configuration file. - [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS) - [SKIP_VT_SWAP](#SKIP_VT_SWAP) - [TNS_END_PERCENT](#TNS_END_PERCENT) +- [VIA_IN_PIN_MAX_LAYER](#VIA_IN_PIN_MAX_LAYER) +- [VIA_IN_PIN_MIN_LAYER](#VIA_IN_PIN_MIN_LAYER) ## route variables - [DETAILED_ROUTE_ARGS](#DETAILED_ROUTE_ARGS) - [DETAILED_ROUTE_END_ITERATION](#DETAILED_ROUTE_END_ITERATION) +- [DISABLE_VIA_GEN](#DISABLE_VIA_GEN) - [FILL_CELLS](#FILL_CELLS) - [MATCH_CELL_FOOTPRINT](#MATCH_CELL_FOOTPRINT) - [MAX_REPAIR_ANTENNAS_ITER_DRT](#MAX_REPAIR_ANTENNAS_ITER_DRT) - [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER) - [MIN_ROUTING_LAYER](#MIN_ROUTING_LAYER) +- [OR_K](#OR_K) +- [OR_SEED](#OR_SEED) - [POST_DETAIL_ROUTE_TCL](#POST_DETAIL_ROUTE_TCL) - [POST_FILLCELL_TCL](#POST_FILLCELL_TCL) - [PRE_DETAIL_ROUTE_TCL](#PRE_DETAIL_ROUTE_TCL) @@ -545,10 +574,13 @@ configuration file. - [SKIP_ANTENNA_REPAIR_POST_DRT](#SKIP_ANTENNA_REPAIR_POST_DRT) - [SKIP_DETAILED_ROUTE](#SKIP_DETAILED_ROUTE) - [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS) +- [VIA_IN_PIN_MAX_LAYER](#VIA_IN_PIN_MAX_LAYER) +- [VIA_IN_PIN_MIN_LAYER](#VIA_IN_PIN_MIN_LAYER) ## final variables - [ADDITIONAL_GDS](#ADDITIONAL_GDS) +- [CDL_FILE](#CDL_FILE) - [GDS_ALLOW_EMPTY](#GDS_ALLOW_EMPTY) - [GND_NETS_VOLTAGES](#GND_NETS_VOLTAGES) - [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER) @@ -566,6 +598,7 @@ configuration file. ## All stages variables - [ASAP7_USE_VT](#ASAP7_USE_VT) +- [CORNERS](#CORNERS) - [KEEP_VARS](#KEEP_VARS) - [NUM_CORES](#NUM_CORES) - [OPENROAD_HIERARCHICAL](#OPENROAD_HIERARCHICAL) @@ -592,7 +625,6 @@ configuration file. - [CORNER](#CORNER) - [DESIGN_NAME](#DESIGN_NAME) - [DESIGN_NICKNAME](#DESIGN_NICKNAME) -- [DFF_LIB_FILES](#DFF_LIB_FILES) - [DONT_USE_CELLS](#DONT_USE_CELLS) - [DPO_MAX_DISPLACEMENT](#DPO_MAX_DISPLACEMENT) - [ENABLE_DPO](#ENABLE_DPO) diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index dba1268e62..cf531c9e23 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -128,6 +128,14 @@ PROCESS: CORNER: description: > PVT corner library selection. Only available for ASAP7 and GF180 PDKs. +CORNERS: + description: > + List of timing corner names for multi-corner analysis (e.g. "slow fast"). + When set, liberty files are loaded per corner using uppercase + _LIB_FILES environment variables (e.g. corner "slow" reads + SLOW_LIB_FILES) and timing models are generated per corner. + stages: + - All stages TECH_LEF: description: > A technology LEF file of the PDK that includes all relevant information @@ -450,6 +458,11 @@ BALANCE_ROWS: stages: - place default: 0 +ADDITIONAL_SITES: + description: > + Passed as -additional_sites to initialize_floorplan. + stages: + - floorplan PLACE_SITE: description: | Placement site for core cells defined in the technology LEF file. @@ -615,6 +628,12 @@ GPL_ROUTABILITY_DRIVEN: stages: - place default: 1 +GPL_KEEP_OVERFLOW: + description: > + Passed as -keep_resize_below_overflow to global_placement. + Only used when GPL_TIMING_DRIVEN is enabled. + stages: + - place MIN_PLACE_STEP_COEF: description: > Sets the minimum phi coefficient (pcof_min / ยต_k Lower Bound) for global @@ -714,11 +733,10 @@ SETUP_SLACK_MARGIN: - grt default: 0 tunable: 1 -SETUP_REPAIR_SEQUENCE: - description: | - Specifies the sequence of moves to do in repair_timing -setup. This should be a string - of move keywords separated by commas such as the default when not used: - "unbuffer,sizedown,sizeup,swap,buffer,clone,split". +SETUP_MOVE_SEQUENCE: + description: > + Passed as -sequence to repair_timing. This should be a string of move + keywords separated by commas. stages: - cts - floorplan @@ -739,6 +757,14 @@ SKIP_LAST_GASP: - cts - floorplan - grt +SKIP_BUFFER_REMOVAL: + description: > + Passed as -skip_buffer_removal to repair_timing. Do not remove buffers + as a transform to fix timing violations (default: allow buffer removal). + stages: + - cts + - floorplan + - grt SKIP_PIN_SWAP: description: > Do not use pin swapping as a transform to fix timing violations (default: @@ -794,11 +820,28 @@ MAX_ROUTING_LAYER: - grt - route - final +VIA_IN_PIN_MIN_LAYER: + description: > + Passed as -via_in_pin_bottom_layer to pin_access and detailed_route. + stages: + - grt + - route +VIA_IN_PIN_MAX_LAYER: + description: > + Passed as -via_in_pin_top_layer to pin_access and detailed_route. + stages: + - grt + - route DETAILED_ROUTE_ARGS: description: | Add additional arguments for debugging purposes during detail route. stages: - route +DISABLE_VIA_GEN: + description: > + Passed as -disable_via_gen to detailed_route. + stages: + - route MACRO_EXTENSION: description: | Sets the number of GCells added to the blockages boundaries from macros. @@ -808,6 +851,16 @@ DETAILED_ROUTE_END_ITERATION: default: 64 stages: - route +OR_K: + description: > + Passed as -or_k to detailed routing. + stages: + - route +OR_SEED: + description: > + Passed as -or_seed to detailed routing. + stages: + - route RCX_RULES: description: | RC Extraction rules file path. @@ -907,9 +960,12 @@ BLOCKS: CDL_FILES: description: | Insert additional Circuit Description Language (`.cdl`) netlist files. -DFF_LIB_FILES: - description: | - Technology mapping liberty files for flip-flops. +DFF_LIB_FILE: + description: > + Single Liberty file for flip-flop technology mapping (dfflibmap) during + synthesis. Takes precedence over DFF_MAP_FILE when set. + stages: + - synth SYNTH_KEEP_MODULES: description: | Mark modules to keep from getting removed in flattening. @@ -920,6 +976,12 @@ SYNTH_ARGS: Optional synthesis variables for yosys. stages: - synth +SYNTH_OPERATIONS_ARGS: + description: > + Extra arguments appended to the Yosys synth command operations list. + When set, replaces the default Kogge-Stone adder extra-map. + stages: + - synth SYNTH_HIER_SEPARATOR: description: | Separator used for the synthesis flatten stage. @@ -1009,6 +1071,7 @@ CLUSTER_FLOPS: CLUSTER_FLOPS_ARGS: description: > Additional arguments passed to the cluster_flops command. + Only used when CLUSTER_FLOPS is set. stages: - place default: "" @@ -1227,6 +1290,11 @@ GLOBAL_ROUTE_ARGS: stages: - grt default: -congestion_iterations 30 -congestion_report_iter_step 5 -verbose +ENABLE_RESISTANCE_AWARE: + description: > + Passed as -resistance_aware to global_route. + stages: + - grt MATCH_CELL_FOOTPRINT: description: > Enforce sizing operations to only swap cells that have the same layout @@ -1477,6 +1545,13 @@ LEC_CHECK: default: 0 stages: - cts +LEC_AUX_VERILOG_FILES: + description: > + Additional Verilog files (e.g. blackbox stubs) to include in LEC + equivalence checks. Appended to the generated Verilog netlist before + running the formal equivalence check. + stages: + - cts REMOVE_CELLS_FOR_LEC: description: > String patterns directly passed to write_verilog -remove_cells <> for @@ -1489,3 +1564,16 @@ ASAP7_USE_VT: stages: - All stages default: RVT +CACHED_REPORTS: + description: > + List of pre-existing report files to copy into the reports directory + before synthesis. Used when reusing prior synthesis results with + SYNTH_NETLIST_FILES. + stages: + - synth +CDL_FILE: + description: > + CDL master netlist file used as the -masters argument to write_cdl + for generating Circuit Description Language output. + stages: + - final