lib.fifo: make simulation read() and write() functions compat-only.
authorwhitequark <whitequark@whitequark.org>
Mon, 23 Sep 2019 08:45:58 +0000 (08:45 +0000)
committerwhitequark <whitequark@whitequark.org>
Mon, 23 Sep 2019 08:46:12 +0000 (08:46 +0000)
commita57b76fb5d854917c8015a95e3a015bc36bbae37
tree7c045b59a4fc462f8a1cf9876c065d53b2449fda
parent1976310bf0ed6e4496403b6c84839a4933487ba8
lib.fifo: make simulation read() and write() functions compat-only.

These functions were originally changed in 3ed51938, in an attempt
to make them take one cycle instead of two. However, this does not
actually work because of drawbacks of the simulator interface.

Avoid committing to any specific implementation for now, and instead
make them compat-only extensions.
nmigen/compat/genlib/fifo.py
nmigen/lib/fifo.py
nmigen/test/test_lib_fifo.py