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.

setup and hold time violations

Status
Not open for further replies.

vivek

Member level 4
Member level 4
Joined
May 19, 2005
Messages
69
Helped
10
Reputation
20
Reaction score
1
Trophy points
1,288
Activity points
2,040
Hi
Please clarify this :

If i have to choose between two circuits, one with setup time violation and other with hold time violation, which should be my choice?

What are ways of fixing setup and hold time violations in rtl code?
Thanks in advance
 

jjww110

Full Member level 5
Full Member level 5
Joined
Apr 19, 2005
Messages
255
Helped
8
Reputation
16
Reaction score
2
Trophy points
1,298
Location
china
Activity points
2,920
setup means delay is longer than one cycle,you can
reduce combination logic between two ffs,hold violation can let synthesis tool fix
 

xuanzhu

Member level 3
Member level 3
Joined
Dec 14, 2002
Messages
64
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,288
Location
shanghai
Activity points
448
If I must do the choice, I will do the latter , because the latter can be fixed by adding some combinational logics so easily
 

power-twq

Full Member level 6
Full Member level 6
Joined
Jun 10, 2005
Messages
373
Helped
8
Reputation
16
Reaction score
3
Trophy points
1,298
Activity points
4,550
I think you should choose the circuit with hold time violations.

because for hold time violation, you can add delay to fix it,

but for setuo time, you only can redesign your circuit to improve

speed.

best regards



vivek said:
Hi
Please clarify this :

If i have to choose between two circuits, one with setup time violation and other with hold time violation, which should be my choice?

What are ways of fixing setup and hold time violations in rtl code?
Thanks in advance
 

    vivek

    Points: 2
    Helpful Answer Positive Rating

circuit

Full Member level 2
Full Member level 2
Joined
Sep 1, 2004
Messages
121
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Location
USA
Activity points
1,449
setup violation can be resolved by running system at a lower clock if possible... hold time violation can be reduced by adding buffers between FF's on data path.
 

no_mad

Full Member level 5
Full Member level 5
Joined
Dec 10, 2004
Messages
271
Helped
30
Reputation
60
Reaction score
11
Trophy points
1,298
Location
Naboo
Activity points
2,489
Circuit with hold time violation, u can fix it during layout (P&R) or in DC. Adding delays (buffers)

If u have the luxury to redesign or optimize the circuit...then go ahead with setup violation circuit dude.


Finally, it is ur call. I only give my opinion.

Hope it helps :)
 

    vivek

    Points: 2
    Helpful Answer Positive Rating

nittinsharma80

Member level 5
Member level 5
Joined
Apr 11, 2005
Messages
93
Helped
11
Reputation
22
Reaction score
2
Trophy points
1,288
Location
INDIA
Activity points
2,337
Circuit with setup violations is bound to fail unless the operating frequency is reduced.

Fixing hold violations is easier and doesnt effect ckt speeds that much so picking up that design is batter as it can be corrected easily.
 

dBUGGER

Advanced Member level 4
Full Member level 1
Joined
Apr 18, 2005
Messages
108
Helped
13
Reputation
26
Reaction score
1
Trophy points
1,298
Location
Milky Way
Activity points
2,430
hi vivek,
There is no question of choice between the two. Bith can be corrected. The setup violation can be corrected by running your design at lower frequency or yes redesign your logic so that it gives better performance than the original one.
Hold violation is not dependent on the freq. of operation. That can be eliminated by lenghtning the trace in P&R or by adding buffers in the data path so that the data arrives a little late with respect to the active clock edge.
 

Sparc

Member level 5
Member level 5
Joined
Apr 11, 2005
Messages
90
Helped
16
Reputation
32
Reaction score
2
Trophy points
1,288
Location
out of reach..
Activity points
2,295
Hi, this discussion has been done earlier and concluded like this:


As, set-up violations can be corrected even after design is implemented/prototyped, by running it at a reduced clock frequency; Hold-time violations need buffers to be added in the critical path (data) & so cannot be rectified after implementation. So, Hold-time violation is an obvious choice. what do the teachers say?
 

feel_on_on

Full Member level 5
Full Member level 5
Joined
Apr 29, 2005
Messages
283
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,298
Activity points
3,208
select the latter with hold violation ! hold violation will be fixed in the back-end!
 

rakeshnunna

Member level 4
Member level 4
Joined
Apr 19, 2005
Messages
76
Helped
6
Reputation
12
Reaction score
0
Trophy points
1,286
Activity points
1,933
I think selecting set-up violation is better.bcoz as told earlier set-up can be fixed by reducing the operting frequence.if we are unable to fix the hold problem ,we cannot proceed further
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top