Added missing support for binary ^~ in eval_tree.cc
This commit is contained in:
parent
336b29955d
commit
ef06bf7589
|
|
@ -288,6 +288,13 @@ NetEConst* NetEBBits::eval_arguments_(const NetExpr*l, const NetExpr*r) const
|
|||
break;
|
||||
}
|
||||
|
||||
case 'X': {
|
||||
for (unsigned idx = 0 ; idx < wid ; idx += 1)
|
||||
res.set(idx, ~(lval.get(idx) ^ rval.get(idx)));
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case '^': {
|
||||
for (unsigned idx = 0 ; idx < wid ; idx += 1)
|
||||
res.set(idx, lval.get(idx) ^ rval.get(idx));
|
||||
|
|
|
|||
Loading…
Reference in New Issue