## Sunday, March 13, 2016

### Basics of Setup and Hold Part - 3

Previous Page>>

Q.1 >> Find
1. Is there any setup violation in following flop network ?
2. Maximum frequency at which following flop network work fine ?

T = 100ns (10Mhz)
Tc2q = 10ns
Tpd = 50ns
Ts = 5ns
ANS >>
There is no setup time violation if
Tc2q + Tpd < T - Ts
Tc2q + Tpd = 10 + 50 = 60 ns
T - Ts = 100 - 5 = 95 ns
So 60 < 95 (TRUE)
There is no setup violation.
So to find out maximum frequency or minimum time period at which network work is.
Tc2q + Tpd = Tmin - Ts
10 +  50 =   T  -  5
T = 50 + 10 + 5   =   65ns
Fmax  = (1000/65) Mhz =   15.38Mhz
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
Q.2 >> Find
1. Is there any setup and hold violation ?
2. Maximum frequency at which it work fine ?
1. To check hold violation in network we take worst hold conditions like -  This network work fine for all condition if maximum clock arrival time is less than minimum data arrival time.

Data Path : D1(min) + D2(min) + Tc2q(min) + Tpd(min)
Minimum Data Arrival Time :  3 + 3 + 8 + 6 = 20ns

Clock Path : D1(max) + D3(max) + D4(max) + Th
Maximum Data requested Time :  6 + 6 + 6 + 2 = 20ns

Slack = Data Arrival time - Data Requested Time
= 20 - 20 = 0ns

Fortunately, This meet Slack and network will work under this condition.

1. To check setup violation in network we take worst setup conditions like -  This network work fine for all condition if maximum data arrival time is less than minimum clock arrival time.

Data Path : D1(max) + D2(max) + Tc2q(max) + Tpd(max)
Maximum Data Arrival Time :  6 + 6 + 12 + 9 = 33ns

Clock Path : D1(min) + D3(min) + D4(min) + Tclk - Ts
Minimum Clock Arrival Time :  3 + 3 + 3 + 25 - 5 = 29ns
(Minimum Data requested Time)
Slack = Data requested time - Data arrival time
= 29 - 33
= -4ns

This is HUGE neg. Slack and network will not work under this condition. Now maximum frequency at which network work fine is (Tmin) from following setup timing equation.
D1(max) + D2(max) + Tc2q + Tpd(max) = D1(min) + D3(min) + D4(min) + Tmin - Ts

6 + 6 + 12 + 9 = 3 + 3 + 3 + Tmin - 5
Tmin = 33 - 4 = 29ns
Fmax = (1000/29) Mhz = 34.4Mhz
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------

1. 2.
{"ft_lang_label":"__label__en","ft_lang_prob":0.6659093,"math_prob":0.9959261,"size":2643,"snap":"2021-43-2021-49","text_gpt3_token_len":727,"char_repetition_ratio":0.2751042,"word_repetition_ratio":0.13052632,"special_character_ratio":0.46992055,"punctuation_ratio":0.07416268,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9965669,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-27T15:55:12Z\",\"WARC-Record-ID\":\"<urn:uuid:6c8f6e16-fe70-49e1-93fd-1647b9740bd7>\",\"Content-Length\":\"112515\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5f9d2f28-18fd-4200-8068-7fe5a5c74bd4>\",\"WARC-Concurrent-To\":\"<urn:uuid:bb9b3624-4ed0-4d3a-939e-8bd5d372109f>\",\"WARC-IP-Address\":\"142.251.35.179\",\"WARC-Target-URI\":\"http://www.design4silicon.com/2016/03/setup-and-hold-examples.html\",\"WARC-Payload-Digest\":\"sha1:7LHCQCDQXOU7NE3ZAQ2FDK4CCMHJ555X\",\"WARC-Block-Digest\":\"sha1:5ENG7AUN34ORM3JZRDCR2YZMSFC2IOMT\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323588216.48_warc_CC-MAIN-20211027150823-20211027180823-00019.warc.gz\"}"}