add MMU (commented out)
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 22 Sep 2020 08:50:35 +0000 (09:50 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 22 Sep 2020 08:50:35 +0000 (09:50 +0100)
src/soc/fu/compunits/compunits.py
src/soc/simple/core.py

index 9d1c0b2022cdee73b3a7c9bf5a3609472408ab81..096cda34f4a5974ecdd9cc93c454e595765a3192 100644 (file)
@@ -247,7 +247,7 @@ class AllFunctionUnits(Elaboratable):
                      'spr': 1,
                      'logical': 1,
                      'mul': 1,
-                     'mmu': 1,
+                     #'mmu': 1,
                      'div': 1, 'shiftrot': 1}
         alus = {'alu': ALUFunctionUnit,
                 'cr': CRFunctionUnit,
index 3a9b5a899f832facc0c04e774e7261b0de3e451b..356e61985b295c156e1dde1d2f69ba87524a2aad 100644 (file)
@@ -74,6 +74,11 @@ class NonProductionCore(Elaboratable):
         self.l0 = TstL0CacheBuffer(pspec, n_units=1)
         pi = self.l0.l0.dports[0]
 
+        if False:
+            # MMU / DCache
+            self.mmu = MMU()
+            self.dcache = DCache()
+
         # function units (only one each)
         self.fus = AllFunctionUnits(pspec, pilist=[pi])