out_sel = yield op.cr_out
out_bitfield = yield dec2.dec_cr_out.cr_bitfield.data
sv_cr_out = yield op.sv_cr_out
+ spec = yield dec2.crout_svdec.spec
# get the IN1/2/3 from the decoder (includes SVP64 remap and isvec)
out = yield dec2.e.write_cr.data
o_isvec = yield dec2.o_isvec
print ("get_pdecode_cr_out", out_sel, CROutSel.CR0.value, out, o_isvec)
print (" sv_cr_out", sv_cr_out)
print (" cr_bf", out_bitfield)
+ print (" spec", spec)
# identify which regnames map to out / o2
if name == 'CR0':
if out_sel == CROutSel.CR0.value:
m.submodules.o_svdec = o_svdec = SVP64RegExtra()
m.submodules.o2_svdec = o2_svdec = SVP64RegExtra()
+ # debug access to crout_svdec (used in get_pdecode_cr_out)
+ self.crout_svdec = crout_svdec
+
# get the 5-bit reg data before svp64-munging it into 7-bit plus isvec
reg = Signal(5, reset_less=True)