From: Luke Kenneth Casson Leighton Date: Sun, 25 Apr 2021 22:03:05 +0000 (+0100) Subject: do not overwrite parameter ra in dcache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67633f3fb388eda62ec932f46f8814b8905f77d8;p=soc.git do not overwrite parameter ra in dcache --- diff --git a/src/soc/experiment/dcache.py b/src/soc/experiment/dcache.py index 8d16c8c9..2569abb6 100644 --- a/src/soc/experiment/dcache.py +++ b/src/soc/experiment/dcache.py @@ -1488,8 +1488,8 @@ cache_tags(r1.store_index)((i + 1) * TAG_WIDTH - 1 downto i * TAG_WIDTH) <= # See if there is another store waiting # to be done which is in the same real page. with m.If(req.valid): - ra = req.real_addr[0:SET_SIZE_BITS] - sync += r1.real_adr[0:SET_SIZE_BITS].eq(ra) + _ra = req.real_addr[0:SET_SIZE_BITS] + sync += r1.real_adr[0:SET_SIZE_BITS].eq(_ra) sync += r1.wb.dat.eq(req.data) sync += r1.wb.sel.eq(req.byte_sel)