docs: cover amaranth.lib.fifo.
This commit is contained in:
parent
2adbe59e4f
commit
d2c569c45e
3 changed files with 45 additions and 27 deletions
|
|
@ -10,3 +10,4 @@ Standard library
|
|||
|
||||
stdlib/coding
|
||||
stdlib/cdc
|
||||
stdlib/fifo
|
||||
18
docs/stdlib/fifo.rst
Normal file
18
docs/stdlib/fifo.rst
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
First-in first-out queues
|
||||
#########################
|
||||
|
||||
.. py:module:: amaranth.lib.fifo
|
||||
|
||||
The ``amaranth.lib.fifo`` package provides modules for first-in, first-out queues.
|
||||
|
||||
|
||||
.. autoclass:: FIFOInterface
|
||||
|
||||
.. note::
|
||||
|
||||
The :class:`FIFOInterface` class can be used directly to substitute a FIFO in tests, or inherited from in a custom FIFO implementation.
|
||||
|
||||
.. autoclass:: SyncFIFO(*, width, depth, fwft=True)
|
||||
.. autoclass:: SyncFIFOBuffered(*, width, depth)
|
||||
.. autoclass:: AsyncFIFO(*, width, depth, r_domain="read", w_domain="write", exact_depth=False)
|
||||
.. autoclass:: AsyncFIFOBuffered(*, width, depth, r_domain="read", w_domain="write", exact_depth=False)
|
||||
Loading…
Add table
Add a link
Reference in a new issue