layout = [('insn_type', MicrOp),
('fn_unit', Function),
('insn', 32),
- ('msr', 64), # from core.state
- ('cia', 64), # likewise
+ ('msr', 64), # from core.state
+ ('cia', 64), # likewise
+ ('svstate', 64), # likewise
('is_32bit', 1),
('traptype', TT.size), # see trap main_stage.py, PowerDecoder2
('trapaddr', 13),
- ('ldst_exc', len(LDSTException._exc_types)),
+ ('ldst_exc', LDSTException.length), # blech
]
super().__init__(layout, name=name)