Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Not quite right. Clock muxes allow glitch free clock switching. If the input clock itself has glitches, you are lost.Clock mux in general makes the output glitch free.
There were clock muxes found in design with input signals which are not clocks. The signal which are input to these clock muxes can produce glitches. It is not understood the reason for presence of clock muxes instead of normal muxes in the design. Hence this thread is started. Why normal muxes are not used here and clock muxes are used?The glitch-free feature depends on synchronisation of the mux control signal to the clock input. In a synchronous logic design, other signals than clocks are sampled at clock edges and don't need to be glitch-free outside the setup- and hold window.
In other words, it's almost unclear what you want to achieve. What do you exactly mean with " these signals can produce glitches"?
--- Updated ---
Not quite right. Clock muxes allow glitch free clock switching. If the input clock itself has glitches, you are lost.
--- Updated ---
Referring to the thread title "eliminate glitches in input signals".
A clock mux does never eliminate gliches in input signal, neither for clocks nor other signals.
_____ _____ _____ ___
clk1 __| |_____| |_____| |_____|
___ ___ ___ ___ ___
clk0 __| |___| |___| |___| |___| |___
_____________________________
mux ____________|
___ _ _____ _____ ___
clkm __| |___| |_| |_____| |_____|
^ mux glitch
___ ___ _____ ___
clkg __| |___| |___________| |_____|
^ clock out disabled