glitch free clock mux

Status
Not open for further replies.

Zdenko Janoska

Newbie level 1
Joined
Mar 11, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,293
Hi dear friends,

about "glitch free clock multiplexing" I read a lot of topics already. But one problem is still concerning me.

I have to switch from one to the another one asynchronous clock as positive edge source of the shift register. All problem is drawn in attachment. Signal 'select' is synchronized with clk1. It can by synchronized on positive or negative edge. 'Clk2' is asynchronous clock.

In the first stage shift register is clocked by 'clk2' - equal or slower frequency then 'clk1'. 'clk1' is stopped due to energy consumption and therefore 'clk2' can not be synchronized by 'clk1'. Then 'clk1' is start and signal 'select' is toggle. The problem is, that I can not wait for finish all period of 'clk2' - because it can be various time long. I have to stop it and run 'clk1' as source for shift register. I can wait for one or max two periods of 'clk1' but the time has to be the same in any cases to source the shift register from 'clk1' - other devices will wait for data in exactly time.

Do you have any ideas how to manage this use? This design is in 150nm technology and has to be optimized for power and area therefore this design can seem strange for someone.

Thank you very much in advance.

Best regards,

Zdenko Janoska
 

Attachments

  • mux.pdf
    7.7 KB · Views: 94

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…