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

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Sun Mar 29 15:50:32 BST 2020


            Bug ID: 271
           Summary: SigDecode in power_fields has extra spurious fields
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: lkcl at lkcl.net
                CC: libre-riscv-dev at lists.libre-riscv.org
   NLnet milestone: ---

hi michael,

SigDecode has had these added to it:

        comb += self.x_s.eq(self.df.FormX.S[0])
        comb += self.x_sh.eq(self.df.FormX.SH[0:-1])
        comb += self.dq_xs_s.eq(self.df.FormDQ.SX_S[0:-1])

DecodeFields itself is where i was intending to be the canonical location
for adding these kinds of things.  if you feel that they should be
added as signals, then we should do them in an automated fashion,
because otherwise, after a hundred instructions are added, SigDecode
will be jammed with almost 200 signal fields... *all of which were added
by hand*.

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

More information about the libre-riscv-dev mailing list