From 7d19ce2e8df17c763aae371ccaf79825e9724ede Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 15 Jan 2022 14:06:44 +0000 Subject: [PATCH] add atomic LR/SC signal to LDSTCompUnit --- src/soc/experiment/compldst_multi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/soc/experiment/compldst_multi.py b/src/soc/experiment/compldst_multi.py index f3228214..fdec47b5 100644 --- a/src/soc/experiment/compldst_multi.py +++ b/src/soc/experiment/compldst_multi.py @@ -529,6 +529,7 @@ class LDSTCompUnit(RegSpecAPI, Elaboratable): comb += pi.is_ld_i.eq(op_is_ld & busy_o) # decoded-LD comb += pi.is_st_i.eq(op_is_st_or_dcbz & busy_o) # decoded-ST comb += pi.is_dcbz_i.eq(op_is_dcbz & busy_o) # decoded-DCBZ + comb += pi.reserve.eq(oper_r.reserve & busy_o) # atomic LR/SC comb += pi.data_len.eq(oper_r.data_len) # data_len # address: use sync to avoid long latency sync += pi.addr.data.eq(addr_r) # EA from adder -- 2.30.2