Fix argument ordering for synthesized casez compare.
This commit is contained in:
parent
3c0a982ab3
commit
c6e44f2da1
|
|
@ -535,8 +535,8 @@ bool NetCase::synth_async_casez_(Design*des, NetScope*scope,
|
|||
// Note that the expression that may have windcards must
|
||||
// go in the pin(2) input. This is the definiton of the
|
||||
// NetCaseCmp statement.
|
||||
connect(condit_dev->pin(2), esig->pin(0));
|
||||
connect(condit_dev->pin(1), guard->pin(0));
|
||||
connect(condit_dev->pin(1), esig->pin(0));
|
||||
connect(condit_dev->pin(2), guard->pin(0));
|
||||
|
||||
NetNet*condit = new NetNet(scope, scope->local_symbol(),
|
||||
NetNet::TRI, condit_type);
|
||||
|
|
|
|||
Loading…
Reference in New Issue