We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b884ef commit a669e40Copy full SHA for a669e40
tests/arch-test-target/setup.py
@@ -51,9 +51,7 @@ def setup_testlist(riscv_device, hw_data_misaligned_support):
51
raise SystemExit(1)
52
53
file['hart0']['ISA'] = ISA
54
- file['hart0']['hw_data_misaligned_support'] = (
55
- True if hw_data_misaligned_support == "1" else False
56
- )
+ file['hart0']['hw_data_misaligned_support'] = bool(int(hw_data_misaligned_support))
57
file['hart0']['misa']['reset-val'] = misa
58
59
with open(ispec, 'w+') as outfile:
0 commit comments