Fix genvar increment/decrement operations to be signed (issue #568)

(cherry picked from commit e1d6fd78f4)
This commit is contained in:
Martin Whitaker 2021-12-13 20:45:57 +00:00
parent 038fbe609d
commit cdbc2c466f
1 changed files with 1 additions and 1 deletions

View File

@ -3110,7 +3110,7 @@ PExpr* pform_genvar_inc_dec(const struct vlltype&loc, const char*name, bool inc_
}
PExpr*lval = new PEIdent(lex_strings.make(name));
PExpr*rval = new PENumber(new verinum((uint64_t)1, 1));
PExpr*rval = new PENumber(new verinum(1));
FILE_NAME(lval, loc);
FILE_NAME(rval, loc);