Preventing the use of specific library cells in the entire flow #1063
-
Hello, I am trying to avoid the use of specific library cells (whose prefix I know, example: HAASAP7) from being used during the entire flow (synthesis onwards). How do I include that specification and in which configuration file? A quick search of the scripts area showed me that there are 3 relevant variables: DONT_USE_LIB, DONT_USE_SC_LIB and DONT_USE_CELLS, but the last one seems to be applicable only to resizer. Don't know what variable to set and where. Please help. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
DONT_USE_CELLS is what you want. There is no way to pass a dont use list to yosys so we have to generate some .lib with the attribute which is what the other variables refer to. |
Beta Was this translation helpful? Give feedback.
HA and FA are the adder cells, which have a special mapping routine in yosys. What you want to actually do is actually run make with
ADDER_MAP_FILE=
which will unset the adder mapping file and disable mapping to adder cells.Relevant part of the config file:
OpenROAD-flow-scripts/flow/platforms/asap7/config.mk
Line 57 in df9a442
Which affects this part of the script:
OpenROAD-flow-scripts/flow/scripts/synth.tcl
Lines 28 to 37 in df9a442