mirror of https://github.com/YosysHQ/yosys.git
techmap: Remove `techmap_chtype` from the result
This commit is contained in:
parent
fc82251105
commit
6ff4ecb2b4
|
@ -337,8 +337,10 @@ struct TechmapWorker
|
|||
if (c->type.begins_with("\\$"))
|
||||
c->type = c->type.substr(1);
|
||||
|
||||
if (c->type == ID::_TECHMAP_PLACEHOLDER_ && tpl_cell->has_attribute(ID::techmap_chtype))
|
||||
if (c->type == ID::_TECHMAP_PLACEHOLDER_ && tpl_cell->has_attribute(ID::techmap_chtype)) {
|
||||
c->type = RTLIL::escape_id(tpl_cell->get_string_attribute(ID::techmap_chtype));
|
||||
c->attributes.erase(ID::techmap_chtype);
|
||||
}
|
||||
|
||||
vector<IdString> autopurge_ports;
|
||||
|
||||
|
|
Loading…
Reference in New Issue