From: Florent Kermarrec Date: Wed, 31 May 2017 21:47:45 +0000 (+0200) Subject: gen/genlib/cdc/gearbox: remove TODO since code is already a good compromise X-Git-Tag: 24jan2021_ls180~1850 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=931ea5ac75a6a386bc2c94943ee5271de08eb27c;p=litex.git gen/genlib/cdc/gearbox: remove TODO since code is already a good compromise latency can't be reduced that much and reducing ressource usage (already low) would introduce unneeded complexity. --- diff --git a/litex/gen/genlib/cdc.py b/litex/gen/genlib/cdc.py index 2ece028a..526adf54 100644 --- a/litex/gen/genlib/cdc.py +++ b/litex/gen/genlib/cdc.py @@ -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