From: Luke Kenneth Casson Leighton Date: Sat, 6 Jun 2020 17:09:17 +0000 (+0100) Subject: write-mask made from LD and Update mode (for data_o and addr_o output) X-Git-Tag: div_pipeline~529 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff6bc236c86a64f98d894ef04d2fa81a3c6bd47c;p=soc.git write-mask made from LD and Update mode (for data_o and addr_o output) --- diff --git a/src/soc/experiment/compldst_multi.py b/src/soc/experiment/compldst_multi.py index 89c7bcaa..5f809019 100644 --- a/src/soc/experiment/compldst_multi.py +++ b/src/soc/experiment/compldst_multi.py @@ -448,8 +448,9 @@ class LDSTCompUnit(RegSpecAPI, Elaboratable): with m.If(op_is_update & self.wr.go[1]): comb += self.dest[1].eq(addr_r) - # need to look like MultiCompUnit: put wrmask out - comb += self.wrmask.eq(self.wr.rel) + # need to look like MultiCompUnit: put wrmask out. + # XXX may need to make this enable only when write active + comb += self.wrmask.eq(bro & Cat(op_is_ld, op_is_update)) ########################### # PortInterface connections