https://en.wikipedia.org/wiki/Metastability_(electronics)
In short: Metastability is a situation where flip-flop gets stuck between 1 and 0 on certain inputs for an indefinite amount of time.
I've solved this problem by placing a "deoscillator" to the circuit, which stops it from looping between 1 and 0.
My solution can be found from here:
https://gitlab.com/eronenveeti174/deoscillated-flip-flop-in-vhdl/
I wanted to share this in case someone else is also interested in controlling metastability. If someone has any hint on how to publish this solution more widely then all the help is welcome.
In short: Metastability is a situation where flip-flop gets stuck between 1 and 0 on certain inputs for an indefinite amount of time.
I've solved this problem by placing a "deoscillator" to the circuit, which stops it from looping between 1 and 0.
My solution can be found from here:
https://gitlab.com/eronenveeti174/deoscillated-flip-flop-in-vhdl/
I wanted to share this in case someone else is also interested in controlling metastability. If someone has any hint on how to publish this solution more widely then all the help is welcome.