lib.fifo: make simulation read() and write() functions compat-only.
authorwhitequark <cz@m-labs.hk>
Mon, 23 Sep 2019 08:45:58 +0000 (08:45 +0000)
committerwhitequark <cz@m-labs.hk>
Mon, 23 Sep 2019 08:46:12 +0000 (08:46 +0000)
commit8157b28da4fc1a74f8b0e3491625f5efa8e87b44
tree7c045b59a4fc462f8a1cf9876c065d53b2449fda
parent5f216a624870f2e77ac2f4dbd6aa0bb8f7383e89
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