genlib/fifo: add flush, expose level in SyncFIFO
authorRobert Jordens <jordens@gmail.com>
Sat, 15 Mar 2014 22:15:47 +0000 (16:15 -0600)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 16 Mar 2014 06:10:46 +0000 (23:10 -0700)
commitb03d9f4c148935546ed4d46a0071894ba398904e
treec3d1a5bbc4ffb502670f4e0fcdf8d5367bd25da0
parentbf6ab2b4f67382661fa183d01b7443c2aeb2cadd
genlib/fifo: add flush, expose level in SyncFIFO

AsyncFIFO would need versions of flush and level in each clock domain
plus some handshaking on double flush.

Signed-off-by: Robert Jordens <jordens@gmail.com>
migen/genlib/fifo.py