Skip to content

Commit

Permalink
WIP: add seal5 prefix to all instrs (workaround)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Mar 10, 2024
1 parent 4fe35da commit 2a6dd85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions seal5/transform/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ def main():
for set_name, set_def in sets.items():
logger.info("replacing set %s", set_name)
for enc, instr_def in set_def.instructions.items():
PREFIX = True
if PREFIX:
instr_def.name = f"SEAL5_{instr_def.name}"
instr_def.mnemonic = f"seal5.{instr_def.mnemonic}"
set_def.instructions[enc] = seal5_model.Seal5Instruction(
instr_def.name,
instr_def.attributes,
Expand Down

0 comments on commit 2a6dd85

Please sign in to comment.