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.

How to calculate maximum frequency of a circuit?

Status
Not open for further replies.

kumar_eee

Advanced Member level 3
Joined
Sep 22, 2004
Messages
814
Helped
139
Reputation
276
Reaction score
113
Trophy points
1,323
Location
Bangalore,India
Activity points
4,676
How to calculate the max.freq of the ckt?...

The delay between 2 adjacent flip-flops + Delay of combo

Is it correct?....
 

anjali

Full Member level 3
Joined
Aug 16, 2005
Messages
173
Helped
14
Reputation
28
Reaction score
6
Trophy points
1,298
Activity points
3,033
Re: Max frequency

generate reports with a clk period of zero.

then max freq = 1/max delay in the design
 

kermit

Advanced Member level 4
Joined
Apr 7, 2002
Messages
100
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
927
Re: Max frequency

kumar_eee:

The max frequency is calcuated like this:


tp = tsu + td + max(tco, th)


tp: period of the clock frequency
tsu: flip-flop setup time
td: the delay include wire delay, combine logic delay
tco:the clock to output delay of flip-flop
th: the hold time of flip-flop
max(tco, th) : the maximum between tco and th.
 

carrot

Full Member level 3
Joined
Feb 23, 2004
Messages
184
Helped
9
Reputation
18
Reaction score
4
Trophy points
1,298
Location
Bangalore, India
Activity points
1,532
Re: Max frequency

Hi Kermit,

You said,
The max frequency is calcuated like this:
tp = tsu + td + max(tco, th)

Suppose assume,
tsu: 1ns
td: 3ns
tco:1ns
th: 2ns
max(tco, th) : the maximum between tco and th. - is it max(1,2)=2 ?????
tp: ?

My question is where exactly this setup-time in this equation comes in to play, because what i have read is hold time is independent of clock frequency. Then how come hol-time(th) has come into this equation?

Added after 1 minutes:


CORRECTION

My question is where exactly this hold-time in this equation comes in to play, because what i have read is hold time is independent of clock frequency. Then how come hol-time(th) has come into this equation?
 

Nandy

Advanced Member level 4
Joined
Dec 16, 2005
Messages
116
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,298
Location
San Jose CA
Activity points
2,399
Re: Max frequency

In the view point of waveform, Setup time edge should be at the front of hold time edge. In other word, setup time edge and hold time
comprise a window which has left edge as setup edge. This window is
data transition forbidden window. When inside window, it would violate
setup or hold time.
So left side edge(setup edge) is where the fastest the logic can run which means setup timing plays role in determining max Freq not hold time.

Nandy
www.nandigits.com
Netlist Debug/ECO in GUI mode.
 

dpk_tottempudi

Newbie level 3
Joined
Dec 20, 2005
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangalore,India
Activity points
1,326
Re: Max frequency

setuptime plays role in performance of system
but if we wont meet hold , system will fail. so hold time plays role in functionality itself rather than performance.

what i mean to say is even if by some chance u don't meet setup after tapeout of the chip, because of changes in delay beause of temp changes caused by dynamic power diipitation...we will have option. beacuse we will have option to set the frequency at which chip has to run.
 

bansalr

Full Member level 3
Joined
Dec 22, 2005
Messages
152
Helped
20
Reputation
40
Reaction score
5
Trophy points
1,298
Activity points
2,165
Re: Max frequency

The Maximum frequency of operation is determine by the slowest path or the worst case delay.so it is the summition of the
t clock to q delay + combo delay and setup time of the other flop.
But while analysis we have consider the best case where hold time comes into picture. If for the given maximum frequency the
T(hold) <= t(combo delay) + t(clock to q delay) . If this eqation doesn't satisfy then circuit will fail. and in this case we have introduce the buffer in the data path to increase the delay . which will automatically decrease the frequency of operation.

Added after 2 minutes:

The Maximum frequency of operation is determine by the slowest path or the worst case delay.so it is the summition of the
t clock to q delay + combo delay and setup time of the other flop.
But while analysis we have consider the best case where hold time comes into picture. If for the given maximum frequency the
T(hold) <= t(combo delay) + t(clock to q delay) . If this eqation doesn't satisfy then circuit will fail. and in this case we have introduce the buffer in the data path to increase the delay . which will automatically decrease the frequency of operation.
 

Yun Lin

Member level 4
Joined
Apr 9, 2005
Messages
78
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,288
Location
China
Activity points
1,850
Max frequency

Generally it is that. But don't miss the setup and hold constrain.
 

anjali

Full Member level 3
Joined
Aug 16, 2005
Messages
173
Helped
14
Reputation
28
Reaction score
6
Trophy points
1,298
Activity points
3,033
Re: Max frequency

carrot said:
Hi Kermit,

You said,
The max frequency is calcuated like this:
tp = tsu + td + max(tco, th)

actually tp > tsu + td + tco-max

why th is comming into picture?
 

elecs_gene

Member level 2
Joined
Dec 20, 2005
Messages
52
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
1,797
Re: Max frequency

hi
th comes into picture only when ur hold time is more than clk2q delay in ur FF.under,such a condition,ur data should not change for that hold time part as well.so,i hope u get why hold time comes up in the picture..

regards
 

anjali

Full Member level 3
Joined
Aug 16, 2005
Messages
173
Helped
14
Reputation
28
Reaction score
6
Trophy points
1,298
Activity points
3,033
Re: Max frequency

still, i can't convince that " Th " comes into picture for setup violations.

can anybody provide material or link for that explanation..
 

blanket

Junior Member level 3
Joined
Jan 14, 2003
Messages
28
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
310
Re: Max frequency

Hold time needn't come into the equation. The maximum time that your combination logic can take to do its computation is only limited by setup, skew, clk-2-Q delay and the time period of the clock signal.

This is the reason why on increasing time period of the clocking signal you can actually correct the operation of a circuit that was faulty because it couldn't meet set up time.

However, all said and done, the minimum time that your combinational logic should take to compute (if not computation, at least put a dummy delay) is a functional of skew, clk-2-Q delay and the hold time.

Hope this clarifies
 

Resistance

Member level 4
Joined
Dec 24, 2005
Messages
74
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,288
Activity points
2,034
Re: Max frequency

hi ,

the freq at which the circuit does not violate set up time with ur consyaints well defined gives u ur max freq..

Max freq is adjacent flop delay plus comb delay..

Adjacent flop delay include c2q delay and setup time.. thats it..

regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top