From eea71fc1ed5cfce967580008da0bf9c97979de83 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 7 Dec 2021 01:06:04 +0000 Subject: [PATCH] submodule tidyup --- src/soc/experiment/dcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/experiment/dcache.py b/src/soc/experiment/dcache.py index 60e06c11..180fa10d 100644 --- a/src/soc/experiment/dcache.py +++ b/src/soc/experiment/dcache.py @@ -1231,7 +1231,7 @@ class DCache(Elaboratable): d_out = Signal(WB_DATA_BITS, name="dout_%d" % i) # cache_row_t way = CacheRam(ROW_BITS, WB_DATA_BITS, ADD_BUF=True, ram_num=i) - setattr(m.submodules, "cacheram_%d" % i, way) + m.submodules["cacheram_%d" % i] = way comb += way.rd_en.eq(do_read) comb += way.rd_addr.eq(rd_addr) -- 2.30.2