From e1b31ec4558ee0cb3b55180df09a26a15a0f8a99 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 28 Nov 2013 22:31:10 +0100 Subject: [PATCH] genlib/fifo: clarify we behaviour when writable=0 --- migen/genlib/fifo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migen/genlib/fifo.py b/migen/genlib/fifo.py index 0e4ce54ef..308eb5fc2 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.