From: Luke Kenneth Casson Leighton Date: Thu, 23 Apr 2020 17:15:17 +0000 (+0100) Subject: comment req_done X-Git-Tag: div_pipeline~1407 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d359395540073305c29209c0340b9bda53c93018;p=soc.git comment req_done --- diff --git a/src/soc/experiment/compalu_multi.py b/src/soc/experiment/compalu_multi.py index ad80894d..f9cb83ea 100644 --- a/src/soc/experiment/compalu_multi.py +++ b/src/soc/experiment/compalu_multi.py @@ -105,6 +105,8 @@ class MultiCompUnit(Elaboratable): (((~self.rd.rel) | self.rd.go).all())) # write_requests all done + # req_done works because any one of the last of the writes + # is enough, when combined with when read-phase is done (rst_l.q) wr_any = Signal(reset_less=True) req_done = Signal(reset_less=True) m.d.comb += self.done_o.eq(self.busy_o & ~(self.wr.rel.bool()))