Skip to content

Commit

Permalink
Merge pull request #1073 from alainmarcel/alainmarcel-patch-1
Browse files Browse the repository at this point in the history
comp op return val
  • Loading branch information
alaindargelas committed Jan 13, 2024
2 parents 30eb646 + 4668e39 commit b918b5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/ExprEval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1698,10 +1698,10 @@ expr *ExprEval::reduceCompOp(operation *op, bool &invalidValue, const any *inst,
invalidValue = true;
} else {
constant *c = s.MakeConstant();
c->VpiValue("UINT:" + std::to_string(val));
c->VpiValue("BIN:" + std::to_string(val));
c->VpiDecompile(std::to_string(val));
c->VpiSize(64);
c->VpiConstType(vpiUIntConst);
c->VpiSize(1);
c->VpiConstType(vpiBinaryConst);
result = c;
}
return result;
Expand Down

0 comments on commit b918b5d

Please sign in to comment.