Skip to content

Commit cabe8fd

Browse files
committed
variables: REMOVE_ABC_BUFFERS is deprecated
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 1837132 commit cabe8fd

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

flow/scripts/generate-variables-docs.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,20 @@
2525
markdown_table = ""
2626

2727
markdown_table += "## Variables in alphabetic order\n\n"
28-
table_header = "| Variable | Description | Default |\n| --- | --- | --- |\n"
28+
table_header = """
29+
| Variable | Description | Default | Deprecated |
30+
| --- | --- | --- | --- |
31+
"""
2932
table_rows = ""
3033
for key in sorted(data):
3134
value = data[key]
3235
description = value.get("description", "").replace("\n", " ").strip()
3336
table_rows += (
3437
f'| <a name="{key}"></a>{key}'
3538
+ f"| {description}"
36-
+ f'| {value.get("default", "")} |\n'
39+
+ f'| {value.get("default", "")}'
40+
+ f'| {"yes" if value.get("deprecated", 0) == 1 else ""}'
41+
+ "|\n"
3742
)
3843

3944
markdown_table += table_header + table_rows

flow/scripts/variables.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,12 @@ FLOORPLAN_DEF:
187187
- place
188188
REMOVE_ABC_BUFFERS:
189189
description: >
190-
Remove abc buffers from the netlist.
190+
Remove abc buffers from the netlist. If timing repair in floorplanning is
191+
taking too long, use a SETUP_HOLD_MARGIN to terminate timing repair early
192+
instead of using REMOVE_ABC_BUFFERS or set SKIP_LAST_GAST=1.
191193
stages:
192194
- floorplan
195+
deprecated: 1
193196
PLACE_SITE:
194197
description: >
195198
Placement site for core cells defined in the technology LEF file.

0 commit comments

Comments
 (0)