diff --git a/bin/hw_debug_test.py b/bin/hw_debug_test.py index 208fbd40b..44af84191 100755 --- a/bin/hw_debug_test.py +++ b/bin/hw_debug_test.py @@ -131,7 +131,7 @@ def random_hex(reg_name): else: size = XLEN - // Reset ReadDataM to a value + # Reset ReadDataM to a value nonstandard_register_lengths["READDATAM"] = XLEN if random_stimulus: return "0x" + f"{random.getrandbits(size):x}".rjust(pad, "0")