Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

synchronous clock selector

Status
Not open for further replies.

buenos

Advanced Member level 3
Joined
Oct 24, 2005
Messages
961
Helped
40
Reputation
82
Reaction score
24
Trophy points
1,298
Location
Florida, USA
Activity points
9,128
hi

i want to make a synchronous clock selector.
There are two 33MHz clock signal inputs and a clock output.
there is an asynchronous selector signal coming from a state machine which might be clocked by one of the 2 clock inputs.

so, i need a selector circuit, which makes shure that there will not be pulses shorter than T_clk/2 on the clock output when switching from one source to the other.

This has to be done in a behavioral way, so make it platform independent.

how can it be done in VHDL?
 

that would not guarantee a minimum pulse width
 

Let me make myself clear....
You have a logic which has to run at a clock by default. based on the selection circuit the logic has to run based on the selected clock if am not wrong..

If this is the case i can suggest you one thing.

Use a flag say a register. Once when there is change in the selection reset the flag to 0. then set the flag during the clkout of the mux. have a condition in yor logic that you logic should run only when the flag is 1.

this suggetion will delay the clock by one clock cycle and you will get one full clock to execute the logic

can u please tell me where u r going to apply this
 

buenos said:
hi

i want to make a synchronous clock selector.
There are two 33MHz clock signal inputs and a clock output.
there is an asynchronous selector signal coming from a state machine which might be clocked by one of the 2 clock inputs.

so, i need a selector circuit, which makes shure that there will not be pulses shorter than T_clk/2 on the clock output when switching from one source to the other.

This has to be done in a behavioral way, so make it platform independent.

how can it be done in VHDL?

Hi,

see below topics and my reply.







HTH
--
Shitansh Vaghela
 

hi

thanks for everyone.
I will read these through.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top