[libre-riscv-dev] [Bug 271] SigDecode in power_fields has extra spurious fields

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Mon Mar 30 15:11:09 BST 2020


http://bugs.libre-riscv.org/show_bug.cgi?id=271

--- Comment #7 from Michael Nolan <mtnolan2640 at gmail.com> ---
Ok, I've got it sort of working in df295b5. I removed TopPowerDecoder's
inheritance of DecodeFields and moved DecodeFields to a member. I then had
TopPowerDecoder go through each of the "common" fields in DecodeFields and copy
it to a signal. This works, but it doesn't take care of the form specific
fields (e.g. dec.FormXL.XO[9]), and I'm not sure what to do with those. I
suppose I could add in submodules for each of the forms and copy their signals
like I did with the common ones, would that work for you?

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


More information about the libre-riscv-dev mailing list