m.submodules.pdecode2 = pdecode2 = PowerDecode2(None, opkls, fn_name)
pdecode = pdecode2.dec
- # copy of the decoder for simulator
- simdec = create_pdecode()
- simdec2 = PowerDecode2(simdec)
- m.submodules.simdec2 = simdec2 # pain in the neck
-
pspec = BranchPipeSpec(id_wid=2)
m.submodules.branch = branch = BranchBasePipe(pspec)
print(test.name)
program = test.program
with self.subTest(test.name):
- simulator = ISA(simdec2, test.regs, test.sprs, test.cr,
+ simulator = ISA(pdecode2, test.regs, test.sprs, test.cr,
test.mem, test.msr,
bigendian=bigendian)
initial_cia = 0x2000