Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
431cf67
makeIssue: in Python, with unit tests
oharboe Nov 18, 2026
3dd1218
generate_vars: in Python, with unit tests
oharboe Nov 18, 2026
31f1486
test: make issue archives each file a flow variable names
oharboe Nov 18, 2026
91638fd
test: make issue's file variables are ones the flow reads
oharboe Nov 18, 2026
75b7212
test: run-me runs the step's tool on the step's script
oharboe Nov 18, 2026
3b025b2
test: issue archive members are relative to the archive's root
oharboe Nov 18, 2026
573554c
test: an issue archive's vars files run on another machine
oharboe Nov 18, 2026
1fd41f1
test: make issue archives the platform's scripts and the config files
oharboe Nov 18, 2026
d25c3c5
test: the vars hold the flow's variables, not make's or the machine's
oharboe Nov 18, 2026
238099e
test: vars values are written as make holds them
oharboe Nov 18, 2026
1296f7c
test: vars spell the flow's paths through FLOW_HOME
oharboe Nov 18, 2026
1b60b2b
makeIssue: the file variables are the ones variables.yaml marks
oharboe Nov 18, 2026
fdca039
generate_vars: the vars files are written afresh
oharboe Nov 18, 2026
4c7395d
makeIssue: EXCLUDE_PLATFORM with any WORK_HOME
oharboe Nov 18, 2026
ba028ea
makeIssue: run-me finds the archive's root from a relative WORK_HOME
oharboe Nov 18, 2026
e5c8a59
Merge remote-tracking branch 'origin/master' into make-issue-relative…
oharboe Nov 19, 2026
d592917
makeIssue: EXCLUDE_PLATFORM drops the platform variables by name
oharboe Nov 19, 2026
329a41a
makeIssue: EXCLUDE_PLATFORM keeps the design's LEF files
oharboe Nov 19, 2026
774e032
makeIssue: run-me follows a relative WORK_HOME as spelled
oharboe Nov 24, 2026
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
2 changes: 2 additions & 0 deletions docs/user/FlowVariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ configuration file.
| <a name="SETUP_MOVE_SEQUENCE"></a>SETUP_MOVE_SEQUENCE| Passed as -sequence to repair_timing. This should be a string of move keywords separated by commas.| |
| <a name="SETUP_REPAIR_PHASES"></a>SETUP_REPAIR_PHASES| Passed as -phases to repair_timing. This should be a string of setup repair phase names separated by spaces. Set to PARALLEL_EVAL to repair setup timing with the experimental parallel evaluation policy. When unset, repair_timing runs its default phases.| |
| <a name="SETUP_SLACK_MARGIN"></a>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|
| <a name="SIG_MAP_FILE"></a>SIG_MAP_FILE| Signal map file for ICeWall-based floorplan initialization: the signal each pad of the FOOTPRINT file connects to.| |
| <a name="SKIP_ANTENNA_REPAIR"></a>SKIP_ANTENNA_REPAIR| Skips antenna repair entirely.| 0|
| <a name="SKIP_ANTENNA_REPAIR_POST_DRT"></a>SKIP_ANTENNA_REPAIR_POST_DRT| Skips antenna repair post-detailed routing.| 0|
| <a name="SKIP_BUFFER_REMOVAL"></a>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).| |
Expand Down Expand Up @@ -480,6 +481,7 @@ configuration file.
- [SETUP_MOVE_SEQUENCE](#SETUP_MOVE_SEQUENCE)
- [SETUP_REPAIR_PHASES](#SETUP_REPAIR_PHASES)
- [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN)
- [SIG_MAP_FILE](#SIG_MAP_FILE)
- [SKIP_BUFFER_REMOVAL](#SKIP_BUFFER_REMOVAL)
- [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP)
- [SKIP_FLOORPLAN_REPAIR_TIMING](#SKIP_FLOORPLAN_REPAIR_TIMING)
Expand Down
2 changes: 1 addition & 1 deletion flow/scripts/variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export COMMAND_LINE_ARGS := $(foreach V,$(.VARIABLES),$(if $(filter command% lin
.PHONY: vars
vars:
mkdir -p $(OBJECTS_DIR)
$(UTILS_DIR)/generate-vars.sh $(OBJECTS_DIR)/vars
$(PYTHON_EXE) $(UTILS_DIR)/generate_vars.py $(OBJECTS_DIR)/vars

.PHONY: print-%
print-%:
Expand Down
58 changes: 58 additions & 0 deletions flow/scripts/variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,13 @@ TECH_LEF:
description: >
A technology LEF file of the PDK that includes all relevant information
regarding metal layers, vias, and spacing requirements.
type: file
platform: true
SC_LEF:
description: |
Path to technology standard cell LEF file.
type: file
platform: true
GDS_FILES:
description: |
Path to platform GDS files.
Expand All @@ -145,6 +149,8 @@ LIB_FILES:
A Liberty file of the standard cell library with PVT characterization,
input and output characteristics, timing and power definitions for each
cell.
type: file
platform: true
LIB_MODEL:
description: >
Selects between NLDM and CCS timing models for the ASAP7 platform.
Expand Down Expand Up @@ -398,6 +404,7 @@ SYNTH_NETLIST_FILES:
subsequent modules are silently ignored and only the first module is used.
stages:
- synth
type: file
SYNTH_CANONICALIZE_TCL:
description: >
Specifies a Tcl script with commands to run as part of the synth
Expand Down Expand Up @@ -450,16 +457,22 @@ LATCH_MAP_FILE:
Optional mapping file supplied to Yosys to map latches
stages:
- synth
type: file
platform: true
CLKGATE_MAP_FILE:
description: |
Optional mapping file supplied to Yosys to map clock gating cells
stages:
- synth
type: file
platform: true
ADDER_MAP_FILE:
description: |
Optional mapping file supplied to Yosys to map adders
stages:
- synth
type: file
platform: true
INFER_CLKGATES:
description: >
Enables Yosys clock gate inference. By default, it uses the Liberty cell
Expand Down Expand Up @@ -634,6 +647,8 @@ TAPCELL_TCL:
Path to Endcap and Welltie cells file.
stages:
- floorplan
type: file
platform: true
MACRO_PLACEMENT_TCL:
description: |
Specifies the path of a TCL file on how to place macros manually.
Expand All @@ -646,13 +661,16 @@ MACRO_PLACEMENT_TCL:
and those locations impact global placement.
stages:
- floorplan
type: file
PDN_TCL:
description: >
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.
stages:
- floorplan
type: file
platform: true
GLOBAL_CONNECT_TCL:
description: >
File path to the add_global_connection rules that connect the supply pins
Expand All @@ -663,16 +681,21 @@ GLOBAL_CONNECT_TCL:
grids.
stages:
- floorplan
type: file
platform: true
MAKE_TRACKS:
description: |
Tcl file that defines add routing tracks to a floorplan.
stages:
- floorplan
type: file
platform: true
IO_CONSTRAINTS:
description: |
File path to the IO constraints .tcl file. Also used for manual placement.
stages:
- floorplan
type: file
IO_PLACER_H:
description: >
A list of metal layers on which the I/O pins are placed horizontally (top and
Expand Down Expand Up @@ -1068,9 +1091,13 @@ OR_SEED:
RCX_RULES:
description: |
RC Extraction rules file path.
type: file
platform: true
FILL_CONFIG:
description: |
JSON rule file for metal fill during chip finishing.
type: file
platform: true
KLAYOUT_TECH_FILE:
description: |
A mapping from LEF/DEF to GDS using the KLayout tool.
Expand Down Expand Up @@ -1106,6 +1133,7 @@ VERILOG_FILES:
of modules.
stages:
- synth
type: file
VERILOG_DEFINES:
description: >
Preprocessor defines passed to the language frontend.
Expand All @@ -1118,13 +1146,17 @@ SDC_FILE:
The path to design constraint (SDC) file.
stages:
- synth
type: file
ADDITIONAL_FILES:
description: |
Additional files to be added to `make issue` archive.
type: file
platform: true
ADDITIONAL_LEFS:
description: >
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.
type: file
ADDITIONAL_LIBS:
description: >
Hardened macro library files listed here. The library information is
Expand Down Expand Up @@ -1182,6 +1214,8 @@ DFF_LIB_FILE:
synthesis. Takes precedence over DFF_MAP_FILE when set.
stages:
- synth
type: file
platform: true
SYNTH_KEEP_MODULES:
description: |
Mark modules to keep from getting removed in flattening.
Expand Down Expand Up @@ -1268,6 +1302,7 @@ MACRO_WRAPPERS:
The wrapper file that replaces existing macros with their wrapped version.
stages:
- floorplan
type: file
CTS_BUF_DISTANCE:
description: |
Distance (in microns) between buffers.
Expand Down Expand Up @@ -1324,6 +1359,8 @@ POST_CTS_TCL:
Specifies a Tcl script with commands to run after CTS is completed.
stages:
- cts
type: file
platform: true
POST_DENSITY_FILL_TCL:
description: |
Specifies a Tcl script with commands to run after density fill.
Expand All @@ -1339,6 +1376,8 @@ POST_DETAIL_ROUTE_TCL:
Specifies a Tcl script with commands to run after detailed route.
stages:
- route
type: file
platform: true
POST_FILLCELL_TCL:
description: |
Specifies a Tcl script with commands to run after fillcell insertion.
Expand All @@ -1354,6 +1393,8 @@ POST_FLOORPLAN_TCL:
Specifies a Tcl script with commands to run after floorplan is completed.
stages:
- floorplan
type: file
platform: true
POST_GLOBAL_PLACE_SKIP_IO_TCL:
description: |
Specifies a Tcl script with commands to run after global placement (skip IO).
Expand Down Expand Up @@ -1384,6 +1425,8 @@ POST_PDN_TCL:
Specifies a Tcl script with commands to run after PDN generation.
stages:
- floorplan
type: file
platform: true
POST_RESIZE_TCL:
description: |
Specifies a Tcl script with commands to run after resize.
Expand Down Expand Up @@ -1477,6 +1520,8 @@ PRE_TAPCELL_TCL:
FASTROUTE_TCL:
description: |
Specifies a Tcl script with commands to run before FastRoute.
type: file
platform: true
USE_FILL:
description: >
Whether to perform metal density filling.
Expand All @@ -1494,6 +1539,8 @@ PRE_GLOBAL_ROUTE_TCL:
Specifies a Tcl script with commands to run before global route.
stages:
- grt
type: file
platform: true
GLOBAL_ROUTE_ARGS:
description: >
Replaces default arguments for global route. The -congestion_iterations
Expand Down Expand Up @@ -1679,11 +1726,20 @@ FOOTPRINT:
Custom footprint definition file for ICeWall-based floorplan initialization. Mutually exclusive with FLOORPLAN_DEF or DIE_AREA/CORE_AREA or CORE_UTILIZATION.
stages:
- floorplan
type: file
SIG_MAP_FILE:
description: |
Signal map file for ICeWall-based floorplan initialization: the signal
each pad of the FOOTPRINT file connects to.
stages:
- floorplan
type: file
FOOTPRINT_TCL:
description: |
Specifies a Tcl script with custom footprint-related commands for floorplan setup.
stages:
- floorplan
type: file
FLOW_INPUT_VARIANT:
description: >
Flow variant a stage reads the previous stage's result from, the
Expand Down Expand Up @@ -1836,6 +1892,8 @@ CDL_FILE:
for generating Circuit Description Language output.
stages:
- final
type: file
platform: true
OPT_POST_GRT_WNS:
default: 1
description: >
Expand Down
Loading