[Libre-soc-isa] [Bug 933] prefix-code (like huffman code) decode/encode instructions

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Sep 23 18:43:17 BST 2022


--- Comment #26 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #25)
> 56,ALU,OP_PCDEC,0,....1,0,NONE,0,0,pcdec,
> 57,ALU,OP_PCDEC,0,....1,0,NONE,0,0,pcdec,
> those columns, NONE corresponding to "rc", should i think be "1"
> i'll try it out.


yep all good.


that's the "trick" for not needing Rc=1.  we're good to go with
CR0 as CRout, then.  meaning that sv_analysis.py can remain as this:

     elif regs == ['RA', 'RB', 'RC', 'RT', '', 'CR0']:  # pcdec

what a hatchet-job.  it works though.

the results aren't what is expected, i'll leave that to you to
sort out, but RS is written to, CR0 is written to, it's all there.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Libre-SOC-ISA mailing list