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.

What's the best way to study the propagation delays ?

Status
Not open for further replies.

cmos babe

Full Member level 4
Joined
Jan 15, 2005
Messages
209
Helped
11
Reputation
22
Reaction score
0
Trophy points
1,296
Location
Dubai
Activity points
1,897
timing question

in the ISE7 in-depth tutorial which is based on a design of a stopwatch,there's something confusing me ....there are two counters being fed with 1 clk source ,first counter has a threshold that will be high exactly when the counter reaches nine,and it will go low in the next rising edge...the threshold pin is connected to the Enable pin of the other counter..the purpose of the circuit is to make the second counter increment by 1 each time the first counter exceeds 9 (tenth and hundredth digits of a stopwatch)

The enable pin will be high at a positive edge for 1 clk cycle and the second counter increments at positive edge also...so,when will the second counter increment?shouldn't there be some phase difference between the enable input and the clk input to ensure that the enable line is high at the clk's positive edge?
I hope my question was clear :cry: :oops:
 

echo47

Advanced Member level 5
Joined
Apr 7, 2002
Messages
3,942
Helped
638
Reputation
1,274
Reaction score
89
Trophy points
1,328
Location
USA
Activity points
33,176
timing question

Inside the FPGA or CPLD, the counter outputs change a little while after the clock rising edge. If you study all the internal propagation delays and setup/hold requirements, you will see that the timing works out fine.
 

    cmos babe

    Points: 2
    Helpful Answer Positive Rating

cmos babe

Full Member level 4
Joined
Jan 15, 2005
Messages
209
Helped
11
Reputation
22
Reaction score
0
Trophy points
1,296
Location
Dubai
Activity points
1,897
timing question

so, the threshold goes back to zero and the second counter increments by one at the same time?
 

bibo1978

Full Member level 4
Joined
May 1, 2004
Messages
210
Helped
12
Reputation
24
Reaction score
6
Trophy points
1,298
Activity points
2,548
Re: timing question

cmos babe said:
so, the threshold goes back to zero and the second counter increments by one at the same time?
yes exactly yet the internal delay will handle hold time for the second counter
 

    cmos babe

    Points: 2
    Helpful Answer Positive Rating

cmos babe

Full Member level 4
Joined
Jan 15, 2005
Messages
209
Helped
11
Reputation
22
Reaction score
0
Trophy points
1,296
Location
Dubai
Activity points
1,897
Re: timing question

What's the best way to study the propagation delays and setup/hold requirements? What ISE tools are used?
 

bibo1978

Full Member level 4
Joined
May 1, 2004
Messages
210
Helped
12
Reputation
24
Reaction score
6
Trophy points
1,298
Activity points
2,548
Re: timing question

timing analyzer is the best tool in ISE, you can do static analysis on any path you may also include the asynchronous reset/preset signals
 

echo47

Advanced Member level 5
Joined
Apr 7, 2002
Messages
3,942
Helped
638
Reputation
1,274
Reaction score
89
Trophy points
1,328
Location
USA
Activity points
33,176
timing question

The setup and hold specs for the individual flip-flops are listed in the FPGA data sheet. The routing delays, however, vary with your design, so use timing analyzer to see the overall timing, as bibo1978 suggested.
 

dBUGGER

Advanced Member level 4
Joined
Apr 18, 2005
Messages
108
Helped
13
Reputation
26
Reaction score
1
Trophy points
1,298
Location
Milky Way
Activity points
2,430
timing question

Hi,
Yes there will not be any problem as the enable signal is generated only on a particular clock edge and will be sampled by the nest flop only on the next clock edge. Either in FPGA or with discrete components the delays are always more so that there should be no trouble at all.

Best Regards,
 

    cmos babe

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top