Skip to content

Commit

Permalink
add XLEN assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Aug 22, 2024
1 parent 660c671 commit 8036d23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions seal5/backends/riscv_instr_info/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ def main():
set_name_lower = set_name.lower()
artifacts[set_name] = []
xlen = set_def.xlen
assert xlen is not None
assert xlen % 8 == 0
includes = []
set_dir = out_path / set_name
set_dir.mkdir(exist_ok=True)
Expand Down

0 comments on commit 8036d23

Please sign in to comment.