Skip to content

Commit bd061f6

Browse files
committed
Added UNSET_ABC9_BOX_CELLS to unset yosys abc9_box attribute
lint fix newline fix Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
1 parent a6f355a commit bd061f6

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

docs/user/FlowVariables.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ configuration file.
305305
| <a name="TIELO_CELL_AND_PORT"></a>TIELO_CELL_AND_PORT| Tie low cells used in Yosys synthesis to replace a logical 0 in the Netlist.| |
306306
| <a name="TIE_SEPARATION"></a>TIE_SEPARATION| Distance separating tie high/low instances from the load.| 0|
307307
| <a name="TNS_END_PERCENT"></a>TNS_END_PERCENT| Default TNS_END_PERCENT value for post CTS timing repair. Try fixing all violating endpoints by default (reduce to 5% for runtime). Specifies how many percent of violating paths to fix [0-100]. Worst path will always be fixed.| 100|
308+
| <a name="UNSET_ABC9_BOX_CELLS"></a>UNSET_ABC9_BOX_CELLS| List of cells to unset the abc9_box attribute on| |
308309
| <a name="USE_FILL"></a>USE_FILL| Whether to perform metal density filling.| 0|
309310
| <a name="VERILOG_DEFINES"></a>VERILOG_DEFINES| Preprocessor defines passed to the language frontend. Example: `-D HPDCACHE_ASSERT_OFF`| |
310311
| <a name="VERILOG_FILES"></a>VERILOG_FILES| The path to the design Verilog/SystemVerilog files providing a description of modules.| |
@@ -349,6 +350,7 @@ configuration file.
349350
- [SYNTH_WRAPPED_MULTIPLIERS](#SYNTH_WRAPPED_MULTIPLIERS)
350351
- [TIEHI_CELL_AND_PORT](#TIEHI_CELL_AND_PORT)
351352
- [TIELO_CELL_AND_PORT](#TIELO_CELL_AND_PORT)
353+
- [UNSET_ABC9_BOX_CELLS](#UNSET_ABC9_BOX_CELLS)
352354
- [VERILOG_DEFINES](#VERILOG_DEFINES)
353355
- [VERILOG_FILES](#VERILOG_FILES)
354356
- [VERILOG_INCLUDE_DIRS](#VERILOG_INCLUDE_DIRS)

flow/scripts/synth_stdcells.tcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
read_liberty -overwrite -setattr liberty_cell -lib {*}$::env(LIB_FILES)
33
read_liberty -overwrite -setattr liberty_cell \
44
-unit_delay -wb -ignore_miss_func -ignore_buses {*}$::env(LIB_FILES)
5+
if { [info exists ::env(UNSET_ABC9_BOX_CELLS)] } {
6+
setattr -mod -unset abc9_box {*}$::env(UNSET_ABC9_BOX_CELLS)
7+
}

flow/scripts/variables.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,11 @@ TIE_SEPARATION:
354354
stages:
355355
- floorplan
356356
default: 0
357+
UNSET_ABC9_BOX_CELLS:
358+
description: |
359+
List of cells to unset the abc9_box attribute on
360+
stages:
361+
- synth
357362
EARLY_SIZING_CAP_RATIO:
358363
description: |
359364
Ratio between the input pin capacitance and the output pin load during initial gate sizing.

0 commit comments

Comments
 (0)