[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 21:10:10 GMT 2021


--- Comment #6 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---

rright.  ok.  what this is doing is asking BOTH the SPR *AND* the MMU pipelines
to process the MTMSR operation.

clearly this is disastrous because there will be two FUs fighting for the
register file amongst other things.

try moving it to PowerDecoder2, removong mmu_spr_dec and simply "overriding"
the fn_unit etc.

with m.If((fn_unit == Function.SPR) &
           OP_MTMSR & DSR etc etc))

     comb += self.do_copy("fn_unit", Function.MMU)

this *really* should be enough to get the operation redirected to the correct
FU Decoder.

ohh i know what needs to be done.  there is a filter which selects the rows of
CSV files.  because the CSV file says "this is for SPR pipe" it is getting
filtered out.

let me find the location.

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

More information about the libre-soc-bugs mailing list