Closed yashton closed 2 years ago
Yes, we don't really consistently use the CI/CO API in mockturtle
. Would be great to fix that.
Would it be possible to keep one cleanup_dangling
function that is also backward-compatible? Having tests for the new functionality would be important too.
I'll reevaluate how cleanup could be done better with the previous signature. I just went for a brute force solution to get it working.
Will be fixed by #567.
This fixes several instances where only check is being made for PI, ignoring the other CI cases. Cleanup fails to handle registers at all. The two cleanup_dangling functions are split into separate copies for backwards compatibility.