seal5.transform.normalize_subscripts

Normalize scalar bit ranges and direction-sensitive address-space ranges.

CoreDSL scalar ranges are direction independent. Address-space ranges are direction dependent. Native little-endian accesses can use explicit memory names; remaining ranges use concatenations and element-wise stores.

Classes

IndexedPartSelect(original, base, width)

A scalar part select expr[base +: width].

NormalizeSubscripts(xlen, *[, memory])

Normalize fixed-width ranges, including array assignment targets.