[Libre-soc-bugs] [Bug 607] New: unnecessary code added related to MMU in PowerDecoder2

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Feb 27 23:58:05 GMT 2021


https://bugs.libre-soc.org/show_bug.cgi?id=607

            Bug ID: 607
           Summary: unnecessary code added related to MMU in PowerDecoder2
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: lkcl at lkcl.net
                CC: libre-soc-bugs at lists.libre-soc.org
   NLnet milestone: ---

https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/decoder/power_decoder2.py;h=0662284351b588a659ebd96a663dc72df94cc34f;hb=HEAD#l920

this is unnecessary because mmu0 internal_op is 100% guaranteed to be identical
to self.internal_op.

all of those lines shall be deleted and replaced with

929   comb += self.do_copy("insn_type", self.op_get("internal_op"))

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


More information about the libre-soc-bugs mailing list