From: Luke Kenneth Casson Leighton Date: Sat, 15 Jan 2022 14:06:44 +0000 (+0000) Subject: add atomic LR/SC signal to LDSTCompUnit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d19ce2e8df17c763aae371ccaf79825e9724ede;p=soc.git add atomic LR/SC signal to LDSTCompUnit --- 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