3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-17 12:45:44 +00:00

Merge branch 'YosysHQ:main' into main

This commit is contained in:
Akash Levy 2026-02-04 15:53:43 -08:00 committed by GitHub
commit d3ab45c2fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 4 deletions

View file

@ -2992,6 +2992,8 @@ void RTLIL::Module::add(RTLIL::Binding *binding)
void RTLIL::Module::remove(const pool<RTLIL::Wire*> &wires)
{
log_assert(refcount_wires_ == 0);
if (wires.empty())
return;
struct DeleteWireWorker
{