mention need for DualPortSplitter class
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 6 May 2020 12:26:24 +0000 (13:26 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 6 May 2020 12:26:24 +0000 (13:26 +0100)
src/soc/experiment/l0_cache.py

index e5ae956a163e5d28627da4270b4ed31fceb663d4..00e9a9f2d6159934d34361610a0356d43bdac499 100644 (file)
@@ -110,6 +110,22 @@ class PortInterface(RecordObject):
         self.ld = Data(regwid, "ld_data_o") # ok to be set by L0 Cache/Buf
         self.st = Data(regwid, "st_data_i") # ok to be set by CompUnit
 
+# TODO:
+class DualPortSplitter(Elaboratable):
+    """DualPortSplitter
+
+    * one incoming PortInterface
+    * two *OUTGOING* PortInterfaces
+    * uses LDSTSplitter to do it
+
+    (actually, thinking about it LDSTSplitter could simply be
+     modified to conform to PortInterface: one in, two out)
+
+    once that is done each pair of ports may be wired directly
+    to the dual ports of L0CacheBuffer
+    """
+    pass
+
 
 class LDSTPort(Elaboratable):
     def __init__(self, idx, regwid=64, addrwid=48):