Fixed AsyncFifo so reset not tied to 0#690
Conversation
|
Can one of the admins verify this patch? |
|
ok to test |
|
That looks correct to me. However, I'm also wondering about the other Regs that are reset with init=. They appear to be using the module's implicit reset, which is probably incorrect for either the read side or the write side... right? |
|
No, assuming things haven't changed too much since I last peered into the recesses of chisel MCD code: I think, on a more philosophical level, if this AsyncFIFO is going to get some more exposure, its 'contract' (particular, reset behavior across clock domains) should be more explicitly explained spelled out. If I recall, this AsyncFIFO relies on higher-level reset synchronization between the clock domains. For example, you will get incorrect behavior if one side goes in and out of reset and the other side does not reset. |
Previous logic was
changed to