From: Sebastien Bourdeauducq Date: Thu, 28 Nov 2013 21:31:10 +0000 (+0100) Subject: genlib/fifo: clarify we behaviour when writable=0 X-Git-Tag: 24jan2021_ls180~2099^2~430 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1b31ec4558ee0cb3b55180df09a26a15a0f8a99;p=litex.git genlib/fifo: clarify we behaviour when writable=0 --- diff --git a/migen/genlib/fifo.py b/migen/genlib/fifo.py index 0e4ce54e..308eb5fc 100644 --- a/migen/genlib/fifo.py +++ b/migen/genlib/fifo.py @@ -31,10 +31,10 @@ class _FIFOInterface: din : in, width_or_layout Input data either flat or Record structured. writable : out - There is space in the FIFO and `we` can be asserted. + There is space in the FIFO and `we` can be asserted to load new data. we : in - Write enable signal to latch `din` into the FIFO. Only assert if - `writable` is asserted. + Write enable signal to latch `din` into the FIFO. Does nothing if + `writable` is not asserted. dout : out, width_or_layout Output data, same type as `din`. Only valid if `readable` is asserted.