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.

Does dividing the a CLOCK by sequential logic is permitted??

Status
Not open for further replies.

khaila

Full Member level 2
Full Member level 2
Joined
Jan 13, 2007
Messages
121
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Activity points
2,105
generated clock from mux

Supposed we have CLK.
A block need CLK/2.
In order to generate CLK/2 I used D-ff that its input is drived by its Qn.

Can I use this CLK/2 in my design??? so I will have two clock domains!

Does dividing the a CLOCK by sequential logic is permitted in ASIC design???
 

quan228228

Full Member level 4
Full Member level 4
Joined
Mar 23, 2006
Messages
196
Helped
16
Reputation
32
Reaction score
3
Trophy points
1,298
Activity points
2,571
Re: Does dividing the a CLOCK by sequential logic is permitt

We can use combinational logic and sequential logic in clocl divider.

In RTL design, we concern functionality. In layout and CTS(clock tree synthesis), we concern timing of clock network.

quan228228
 

    khaila

    Points: 2
    Helpful Answer Positive Rating

dft_guy

Advanced Member level 4
Full Member level 1
Joined
Oct 19, 2006
Messages
111
Helped
24
Reputation
48
Reaction score
8
Trophy points
1,298
Location
USA
Activity points
2,009
Re: Does dividing the a CLOCK by sequential logic is permitt

Definitely, you can use clk/2 in your circuit, but be careful during DFT mode. With your clock divider now sourcing the clocks going to your flops, the ATPG tools won't know how to drive them. So you must bypass this divider in scan mode.

John
DFT Digest
 

    khaila

    Points: 2
    Helpful Answer Positive Rating

barkha

Advanced Member level 4
Full Member level 1
Joined
Aug 8, 2005
Messages
114
Helped
21
Reputation
42
Reaction score
10
Trophy points
1,298
Location
India
Activity points
2,576
Re: Does dividing the a CLOCK by sequential logic is permitt

Yes, you can use clk/2 clock. But iInternally generated clocks are giving rise to testability issues, because the logic driven by an internally generated clock can't be
made part of the scan chain. Writing timing constraints for generated
clocks becomes more difficult as well.

Solution: Add in test circuitry to bypass the internally generated clock.
For example, if you have a divide-by-2 clock, add in a MUX to
select a primary input clock over the internally generated one
for test. The MUX select line should be controlled by a
test-mode signal coming from a primary input.
 

    khaila

    Points: 2
    Helpful Answer Positive Rating

shiv_emf

Advanced Member level 2
Advanced Member level 2
Joined
Aug 31, 2005
Messages
605
Helped
22
Reputation
44
Reaction score
6
Trophy points
1,298
Activity points
4,106
what is need of clk/2??
 

xinsu

Member level 3
Member level 3
Joined
May 8, 2004
Messages
65
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
379
you can set up two mode to do timing analaysis in STA
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top