gen/genlib/cdc/gearbox: remove TODO since code is already a good compromise
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 31 May 2017 21:47:45 +0000 (23:47 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 1 Jun 2017 17:00:22 +0000 (19:00 +0200)
latency can't be reduced that much and reducing ressource usage (already low) would introduce unneeded complexity.

litex/gen/genlib/cdc.py

index 2ece028ad66c9ba4d65f875c50f8ff1b3f06008e..526adf5449ff21feeb125929d2d0cd55ed8226c3 100644 (file)
@@ -224,7 +224,6 @@ class Gearbox(Module):
         ]
         self.clock_domains += cd_write, cd_read
 
-        # TODO: optimize storage/resets for lowest ressource usage / lowest latency
         storage = Signal(2*lcm(iwidth, owidth))
         wrchunks = len(storage)//iwidth
         rdchunks = len(storage)//owidth