Repository navigation
What's Changed
- Bump version to 1.87 by @alain-rs in #1143
- ExprEval: element select on packed-array-typed constants by @alain-rs in #1144
- ExprEval: fold pattern values against declared geometry by @alain-rs in #1145
- Quote UHDM_VERSION_COMMIT_SHA — hashes starting [0-9]e break SWIG by @alain-rs in #1146
- ExprEval: element-select on multi-range packed arrays by @alain-rs in #1148
- ExprEval: struct-local member writes reach the whole value by @alain-rs in #1149
- ExprEval: frame-correct reads and compound writes in function evaluation by @alain-rs in #1150
- ExprEval: type enum-const values so concat folds don't misparse them by @alaindargelas in #1151
- ExprEval: fold packed-2D localparam element-selects and typed concats by @alaindargelas in #1152
- ExprEval: a size cast of 64 bits or wider folded to zero by @alaindargelas in #1153
- ExprEval: nested function calls whose formals share a name recursed until the stack was exhausted by @alaindargelas in #1154
- ExprEval: only refuse a self-referential formal binding for nested function-call arguments by @alaindargelas in #1155
- ExprEval: fold casts of struct assignment patterns and parameter-width size casts by @alaindargelas in #1156
- reduceExpr: keep a func_call whose result still names the function's formals by @alaindargelas in #1157
- ExprEval: bitwise XOR, and bitwise ops / shifts on constants wider than 64 bits by @alaindargelas in #1158
- Select an element of an array_expr in reduceExpr by @alaindargelas in #1159
- ExprEval: apply a trailing PART-SELECT on a struct member (wrong generate arm for
|P.FIELD[n:0]) by @alaindargelas in #1160 - ExprEval: a function-local UNPACKED array keeps one value per element --
st[0] ^ st[1]folded to 1 by @alaindargelas in #1161 - ExprEval: a compound assignment in a constant function changed its RIGHT-HAND local (Surelog#4214) by @alaindargelas in #1162
- ExprEval: a constant function's if / return / case / loop condition was reduced with NO parent statement, so a struct FORMAL's field read there (
if (cfg.size_x >= 2)) never resolved -- tnoc's packet serializer elaborated the wrong generate branch by @alaindargelas in #1163 - ExprEval: constant folds that lost wildcard digits, mis-sized a base-type-less enum, and picked the wrong element of an as-written concatenation by @alaindargelas in #1164
- Revert "ExprEval: a constant function's if / return / case / loop condition was reduced without its parent statement" -- unbounded re-evaluation blows Rggen up to 40 GB by @alaindargelas in #1165
- ExprEval: re-do #1163 as a BOUNDED retry -- a struct FORMAL's field read in a constant function's if / return never resolved, so tnoc's packet serializer elaborated the wrong generate branch by @alaindargelas in #1166
- ExprEval: a cast to a TYPE PARAMETER folded with the parameter's DEFAULT type --
sid_t'(NumPorts - 1)underparameter type sid_t = logicbound to 3 bits became a 1-bit constant (CVA6 HPDcache request ids) by @alaindargelas in #1167 - ExprEval: a size cast whose width is a bare PARAMETER name (
dev_addr_width_gp'('h0_b00?)) folded a wildcard literal to an integer -- the?nibble was dropped and black-parrot's clint decoded every PLIC address as a miss by @alaindargelas in #1168 - ExprEval: a reduction, logical or
insideoperator folds to ONE bit, not a 64-bit integer --{{XLEN-2{1'b1}}, |EXTENSION_C, 1'b0}folded to a 95-bit constant and Hazard3's mepc mask lost every bit above bit 1 by @alaindargelas in #1169 - ExprEval: a conditional operator whose selected arm is a SIZED constant keeps that width --
{1'b1, (OPT_MPY > 0) ? 1'b1 : 1'b0, ...}folded each ternary to 64 bits and ZipCPU's w_cpu_info lost every operand left of them by @alaindargelas in #1170 - ExprEval:
$left/$right/$high/$lowwith a DIMENSION argument answer for that dimension --$left(arr, 2)onlogic [31:0] arr [15:0]folded to 512 by @alaindargelas in #1172 - ExprEval: an element select of a packed table whose folded value is HEX:/UINT: degraded to a BIT select -- reducePackedElemSelect accepted BIN: alone by @alaindargelas in #1173
- ExprEval: a dimension-indexed bound query hands back the range's OWN bound node, not a fresh 64-bit constant by @alaindargelas in #1174
- struct_typespec: record
signed(vpiSigned), so astruct packed signedcan be read as a signed vector by @alaindargelas in #1175 - ExprEval: a multi-index select on a packed parameter TABLE held as one flat concatenation folded to nothing:
logic [1:0][1:0][7:0] T = {8'd3, 8'd5, 8'd6, 8'd7}; T[1][0]picked operand 1 of the flat list and then bit 0 of it by @alaindargelas in #1176 - ExprEval: the flat-table select fold must leave a select path with a RANGE tail alone --
pkg::RC[11][8 +: 4]element-selected at 11 and then bit-selected garbage for the range (#1176 follow-up) by @alaindargelas in #1177 - ExprEval: a replication count above 1000 was silently CLAMPED to 1000, truncating every wide
{{(N-1){1'b1}},1'b0}mask by @alaindargelas in #1171 - ExprEval: a constant function returning a STRUCT built with an assignment pattern over its formals (
obi_default_cfg(32, 32, 1, Opt) = '{AddrWidth: AddrWidth, ...}) came back as the pattern itself, formals unbound -- every parameter taking the call then measuredCfg.DataWidthas 1 bit by @alaindargelas in #1178 - ExprEval: fold constant part-selects through the declared range by @alaindargelas in #1179
- ExprEval: a bit-select of a struct assignment pattern selects a bit, not a member by @alaindargelas in #1180
- ExprEval: fold a part-select of a function local through its declared range by @alaindargelas in #1181
- Bump version to 1.88 by @alaindargelas in #1182
Full Changelog: v1.87...v1.88