mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-15 11:45:41 +00:00
utils: add BitGrouper for shared bit-partition logic
This commit is contained in:
parent
d952b04e54
commit
ea41e61a36
4 changed files with 166 additions and 70 deletions
|
|
@ -97,6 +97,8 @@ void Patch::gc(Cell* old_cell, bool track) {
|
|||
auto dir = old_cell->port_dir(port_name);
|
||||
// Unknown port direction (e.g. user module instance whose interface
|
||||
// isn't registered): can't decide input vs output, so don't gc it.
|
||||
// TODO: should be log_assert once PD_UNKNOWN is fixed at the source
|
||||
// (see claude-notes.md).
|
||||
if (dir == PD_UNKNOWN)
|
||||
return;
|
||||
// TODO only running GC through whole connections?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue