add CR0 to LDSTCompUnit, for reporting if LR/SC store is done
[soc.git] / src / soc / fu / ldst / loadstore.py
index 034aaa01094739a6ad5d949c23f3fef2c549ae2e..0878d09219b088ab9305756b094761e20db217d5 100644 (file)
@@ -208,7 +208,7 @@ class LoadStore1(PortInterfaceBase):
         # put data into comb which is picked up in main elaborate()
         m.d.comb += self.d_w_valid.eq(1)
         m.d.comb += self.store_data.eq(data)
-        #m.d.sync += self.d_out.byte_sel.eq(wen) # this might not be needed
+        m.d.comb += self.pi.store_done.eq(self.d_in.store_done)
         st_ok = self.done # TODO indicates write data is valid
         return st_ok