projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85aea62
)
gen/genlib/cdc/gearbox: remove TODO since code is already a good compromise
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Wed, 31 May 2017 21:47:45 +0000
(23:47 +0200)
committer
Florent 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
patch
|
blob
|
history
diff --git
a/litex/gen/genlib/cdc.py
b/litex/gen/genlib/cdc.py
index 2ece028ad66c9ba4d65f875c50f8ff1b3f06008e..526adf5449ff21feeb125929d2d0cd55ed8226c3 100644
(file)
--- 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