From: Luke Kenneth Casson Leighton Date: Fri, 14 Aug 2020 19:23:34 +0000 (+0100) Subject: sync on alu results in compalu X-Git-Tag: semi_working_ecp5~346 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42361274347b2054d836f43808d235a9ffc0edd8;p=soc.git sync on alu results in compalu --- diff --git a/src/soc/experiment/compalu_multi.py b/src/soc/experiment/compalu_multi.py index b2612c59..fe1b93c0 100644 --- a/src/soc/experiment/compalu_multi.py +++ b/src/soc/experiment/compalu_multi.py @@ -249,7 +249,7 @@ class MultiCompUnit(RegSpecALUAPI, Elaboratable): m.d.sync += src_l.r.eq(reset_r) # dest operand latch (not using issue_i) - m.d.comb += req_l.s.eq(alu_pulsem & self.wrmask) + m.d.sync += req_l.s.eq(alu_pulsem & self.wrmask) m.d.sync += req_l.r.eq(reset_w | prev_wr_go) # pass operation to the ALU (sync: plenty time to wait for src reads)