The point I was making is that xilinx has given a stab at this design,
and at least on their first pass didn't make it bullet-proof. I'm
not that familiar with the flancter circuit, but if it is similar to
the Xilinx design, it may also fail to switch away from a stopped
clock. The problem lies in using a circuit that needs an edge from
both clocks in order to completely switch. Switching from one
running clock to another is not too hard. Generally you have a flop
that waits for a rising edge of the current clock and goes high.
That gets ORed with the clock to keep it high until another flop
sees a rising edge of the second clock causing the selection to change
over without a glitch. The problem with this approach is that if
your first clock stopped low, you never get that first rising edge
and you need some fallback method to switch the clock, say a time-out
in cycles of the second clock that forces the switchover.
-- Gabor