Repair a verified behavior in chipsalliance/uhdm.
Repair a verified behavior in chipsalliance/uhdm.: a task in OriGent-SFT-Data (Harbor dataset). UHDM's numeric conversion utility mishandles large requested widths in UHDM::NumUtils::toBinary(int size, uint64 t val) . Although the value is an unsigned 64-bit integer, callers can request a wider…
The task
UHDM's numeric conversion utility mishandles large requested widths in `UHDM::NumUtils::toBinary(int size, uint64_t val)`. Although the value is an unsigned 64-bit integer, callers can request a wider binary string. In particular, `toBinary(128, UINT64_C(0x8000000000000001))` currently fails instead of returning the…
Part of henryen/OriGent-SFT-Data.