mirror of https://github.com/YosysHQ/yosys.git
Support cell_footprint as indicator of stdcell
This commit is contained in:
parent
3cfe3ead82
commit
28455c01e4
|
|
@ -295,7 +295,8 @@ struct L2JFrontend : public Frontend {
|
|||
bool is_memory = false, is_stdcell = true;
|
||||
bool dont_touch = value_as_boolean(cell, "dont_touch", false);
|
||||
bool dont_use = value_as_boolean(cell, "dont_use", false);
|
||||
if (dont_touch || dont_use) {
|
||||
bool has_cell_footprint = cell.count("cell_footprint") != 0;
|
||||
if ((dont_touch || dont_use) && !has_cell_footprint) {
|
||||
is_stdcell = false;
|
||||
}
|
||||
for_each_group(cell, [&](const json &g) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue