Asynchronous resets are bad design practice. Reset your flops synchronously or not at all.https://twitter.com/iowahawkblog/status/932309842123022336 …
Has nothing to do with metastability. FFs have S and R inputs, not reset-enable and reset-data, so there's logic combining your reset signal and reset-data signal to generate S and R inputs for the FF. This logic must then be glitch free (aka "Hazzard Free", look it up).
-
-
Interesting (to me anyway) aside: The SiliconBlue primitives library doesn't provide FFs with _both_ S and R inputs usable at the same time. I know what glitches are, don't worry :P. Should prob play w/ yosys to see what you mean about impl, however.
-
Neither does Xilinx. If you code one in your HDL code, Vivado will create a circuit with two FFs, one async cleared and one async preset, a latch that remembers the last async event, and a mux that selects one of the FFs. Try it and look at the synthesis results. It's horrible.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.