Would be possible to describe a modern CPU in something like TLA+ to find all non-electrical problems like these?
That said, I'm sure there's some verification framework like SPARK for VHDL, and this feels like exactly the kind of thing it should catch.
[1] https://www.academia.edu/60937699/The_IMS_T_800_Transputer