amaranth/nmigen/lib
whitequark ca6b1f2f1c lib.fifo: round up AsyncFIFO{,Buffered} depth to lowest valid value.
Unless exact_depth=True is specified.

The logic introduced in this commit is idempotent: that is, if one
uses the depth of one AsyncFIFOBuffered in the constructor of another
AsyncFIFOBuffered, they will end up with the same depth. More naive
logic would result in an unbounded, quadratic growth with each such
step.

Fixes #219.
2019-09-23 10:58:20 +00:00
..
__init__.py Remove nmigen.lib from prelude. 2019-09-06 06:53:06 +00:00
cdc.py lib.cdc: make domain properties private. 2019-09-12 13:54:48 +00:00
coding.py hdl.mem,lib,examples: use Signal.range(). 2019-09-08 12:19:13 +00:00
fifo.py lib.fifo: round up AsyncFIFO{,Buffered} depth to lowest valid value. 2019-09-23 10:58:20 +00:00
io.py lib.io: style. NFC. 2019-09-12 13:51:18 +00:00