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.

Clock source waveform for digital logic

Status
Not open for further replies.

shaiko

Advanced Member level 5
Joined
Aug 20, 2011
Messages
2,644
Helped
303
Reputation
608
Reaction score
297
Trophy points
1,363
Activity points
18,302
Why do synchronous digital logic require a square (or trapezoidal) waveform for the clock signal ?
If what we care about is the time delta between every 2 rising (or falling) edges why don't we use a sinusoidal wave ?
 

IC inputs that use a clock signal, will have variation in exact switching point. Between "logic 0" and "logic 1" there's a gray area where inputs may read 0, or may read 1 (undefined). If a clock signal takes much time to cross this gray area, then you get a large time window in which you don't know when exactly the clocking event occurs (=timing uncertainty). Or with multiple inputs that are clocked simultaneous, some may be clocked, while some others are not (yet).

Also if there's some noise on the power supply (as is often the case), a slowly changing clock that is meant to be a clean 0->1 transition, might be read as a quick 0->1->0->1 sequence.

In digital logic that's all very undesirable, so you want clock signals to make 0<->1 transitions as fast as possible (steep slopes). That automatically translates into a signal that looks like a square wave. Of course nothing is perfect, so in real world circuits you're more likely to have a signal that looks like a very much flattened sine wave.
 
  • Like
Reactions: shaiko

    shaiko

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top