Remove valgrind errors triggered by virtual pins
NetBus wasn't initializing pin direction.
I hope Link::PASSIVE is correct for busses!
No test suite regressions.
(cherry picked from commit f344515e38)
This commit is contained in:
parent
b795d8c1d8
commit
1d31a91b4f
|
|
@ -299,6 +299,9 @@ NetBranch::~NetBranch()
|
|||
NetBus::NetBus(NetScope*s, unsigned pin_count__)
|
||||
: NetObj(s, perm_string::literal(""), pin_count__)
|
||||
{
|
||||
for (unsigned idx = 0 ; idx <pin_count__ ; idx += 1) {
|
||||
pin(idx).set_dir(Link::PASSIVE);
|
||||
}
|
||||
}
|
||||
|
||||
NetBus::~NetBus()
|
||||
|
|
|
|||
Loading…
Reference in New Issue