enable I-Cache wishbone memory type in issuer_verilog.py if MMU requested
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 21 Dec 2021 16:32:55 +0000 (16:32 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 21 Dec 2021 16:32:55 +0000 (16:32 +0000)
src/soc/simple/issuer_verilog.py

index b3b7410d5b7df7e87d6233fe5579147f158f848b..ad9b7e8d11344ad77c1a907cc04fb32b179c9f96 100644 (file)
@@ -77,9 +77,10 @@ if __name__ == '__main__':
     # decide which memory type to configure
     if args.mmu:
         ldst_ifacetype = 'mmu_cache_wb'
+        imem_ifacetype = 'mmu_cache_wb'
     else:
         ldst_ifacetype = 'bare_wb'
-    imem_ifacetype = 'bare_wb'
+        imem_ifacetype = 'bare_wb'
 
     pspec = TestMemPspec(ldst_ifacetype=ldst_ifacetype,
                          imem_ifacetype=imem_ifacetype,