[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


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

--- Comment #6 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/decoder/power_decoder2.py;h=6b3530813943dd37a07bc68d42c4c4cbaf7deac2;hb=HEAD#l774

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