forked from github/verilator
Concats should be unsigned
This commit is contained in:
parent
1a36e05cc6
commit
b7bd5956ea
@ -833,7 +833,7 @@ private:
|
|||||||
// use the lhs to replace the parent concat
|
// use the lhs to replace the parent concat
|
||||||
lp->lhsp()->replaceWith(newlp);
|
lp->lhsp()->replaceWith(newlp);
|
||||||
lp->rhsp()->replaceWith(newrp);
|
lp->rhsp()->replaceWith(newrp);
|
||||||
lp->dtypeChgWidthSigned(newlp->width(), newlp->width(), AstNumeric::SIGNED);
|
lp->dtypeChgWidthSigned(newlp->width(), newlp->width(), AstNumeric::UNSIGNED);
|
||||||
UINFO(5, "merged "<< nodep <<endl);
|
UINFO(5, "merged "<< nodep <<endl);
|
||||||
rp->unlinkFrBack()->deleteTree(); VL_DANGLING(rp);
|
rp->unlinkFrBack()->deleteTree(); VL_DANGLING(rp);
|
||||||
nodep->replaceWith(lp->unlinkFrBack()); nodep->deleteTree(); VL_DANGLING(nodep);
|
nodep->replaceWith(lp->unlinkFrBack()); nodep->deleteTree(); VL_DANGLING(nodep);
|
||||||
|
Loading…
Reference in New Issue
Block a user