From: Luke Kenneth Casson Leighton Date: Sat, 20 Feb 2021 21:44:48 +0000 (+0000) Subject: add more debug output to get_pdecode_cr_out X-Git-Tag: convert-csv-opcode-to-binary~191 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d126645645536179c213828350f7a101ffd9c5d;p=soc.git add more debug output to get_pdecode_cr_out --- diff --git a/src/soc/decoder/isa/caller.py b/src/soc/decoder/isa/caller.py index b7f45ec0..65da6741 100644 --- a/src/soc/decoder/isa/caller.py +++ b/src/soc/decoder/isa/caller.py @@ -368,10 +368,14 @@ def get_pdecode_idx_in(dec2, name): def get_pdecode_cr_out(dec2, name): op = dec2.dec.op out_sel = yield op.cr_out + out_bitfield = yield dec2.dec_cr_out.cr_bitfield.data + sv_cr_out = yield op.sv_cr_out # 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) # identify which regnames map to out / o2 if name == 'CR0': if out_sel == CROutSel.CR0.value: