Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 347 Bytes

File metadata and controls

16 lines (12 loc) · 347 Bytes

LIRA Python Usage Example

  • RISC-V-like test architecture (register file, environment functions, operations, snippets, and a blt instruction)
  • Serializes it to YAML, deserializes it back
  • Asserts round-trip equality.

Run

python3 example.py --output /path/to/output.yaml

Requirements

pip install ruamel.yaml