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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Mar 1 18:51:10 GMT 2021


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

Tobias Platen <libre-soc at platen-software.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CONFIRMED
         Resolution|FIXED                       |---

--- Comment #4 from Tobias Platen <libre-soc at platen-software.de> ---
In src/soc/simple/core.py I added this line:          
self.decoders["mmu0"].mmu0_spr_dec = self.decoders["spr0"] 
after having found out using GTKWave that the insn_type for mmu0 is OP_INVALID
in my unit test where is use "mtspr 18, 1". The correct insn_type for DSISR DAR
SVSRR0 and PIDR is passed to the wrong function unit instead.

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


More information about the libre-soc-bugs mailing list