From: Florent Kermarrec Date: Mon, 30 Oct 2017 21:56:09 +0000 (+0100) Subject: soc/interconnect/stream: expose depth on SyncFIFO X-Git-Tag: 24jan2021_ls180~1798 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2665a83288b695592b1e4c14b0af75eea8c6f91c;p=litex.git soc/interconnect/stream: expose depth on SyncFIFO --- diff --git a/litex/soc/interconnect/stream.py b/litex/soc/interconnect/stream.py index 4c56b06e..bc6793ca 100644 --- a/litex/soc/interconnect/stream.py +++ b/litex/soc/interconnect/stream.py @@ -99,6 +99,7 @@ class SyncFIFO(_FIFOWrapper): self, fifo.SyncFIFOBuffered if buffered else fifo.SyncFIFO, layout, depth) + self.depth = self.fifo.depth self.level = self.fifo.level