Skip to main content

Setup and Hold TIme

Every flip-flop has restrictive time regions around the active clock edge in which input should not change. We call them restrictive because any change in the input in this regions the output may be the expected one (*see below). It may be derived from either the old input, the new input, or even in between the two. Here we define, two very important terms in the digital clocking. Setup and Hold time.
  • The setup time is the interval before the clock where the data must be held stable.
  • The hold time is the interval after the clock where the data must be held stable. Hold time can be negative, which means the data can change slightly before the clock edge and still be properly captured. Most of the current day flip-flops has zero or negative hold time.


In the above figure, the shaded region is the restricted region. The shaded region is divided into two parts by the dashed line. The left hand side part of shaded region is the setup time period and the right hand side part is the hold time period. If the data changes in this region, as shown the figure. The output may, follow the input, or many not follow the input, or may go to metastable state (where output cannot be recognized as either logic low or logic high, the entire process is known as metastability).


The above figure shows the restricted region (shaded region) for a flip-flop whose hold time is negative. The following diagram illustrates the restricted region of a D flip-flop. D is the input, Q is the output, and clock is the clock signal. If D changes in the restricted region, the flip-flop may not behave as expected, means Q is unpredictable.


To avoid setup time violations:
  • The combinational logic between the flip-flops should be optimized to get minimum delay.
  • Redesign the flip-flops to get lesser setup time.
  • Tweak launch flip-flop to have better slew at the clock pin, this will make launch flip-flop to be fast there by helping fixing setup violations.
  • Play with clock skew (useful skews).
To avoid hold time violations:
  • By adding delays (using buffers).
  • One can add lockup-latches (in cases where the hold time requirement is very huge, basically to avoid data slip).
* may be expected one: which means output is not sure, it may be the one you expect. You can also say "may not be expected one". "may" implies uncertainty. Thanks for the readers for their comments.

Comments

Unknown said…
Nice information about VLSI Design.Thank you for sharing this information...
Interior Designers in Chennai
Interiors in Chennai
Good Interior Designers in Chennai
Amaya said…
The Explanation of JK Flip Flop with its truth table would be very much appreciable :)
Unknown said…
Amazing Article ! I have bookmarked this article page as i received good information from this. All the best for the upcoming articles. I will be waiting for your new articles. Thank You ! Kindly Visit Us @ Coimbatore Travels | Ooty Travels | Coimbatore Airport Taxi | Coimbatore taxi | Coimbatore Taxi
Very useful and information content has been shared out here, Thanks for sharing it.sap hr Training in Bangalore
These provided information was really so nice,thanks for giving that post and the more skills to develop after refer that post.sap bw Training in Bangalore
Your articles really impressed for me,because of all information so nice.sap ehs Training in Bangalore
Linking is very useful thing.you have really helped lots of people who visit blog and provide them use full information.sap ehs Training in Bangalore
I know that it takes a lot of effort and hard work to write such an informative content like this.sap fico Training in Bangalore
mahi said…
Employee self service software

Employee self-service is a widely used human resources technology that enables employees to perform many job-related functions, such as applying for reimbursement, updating personal information and accessing company benefits information -- which was once largely paper-based, or otherwise would have been .
josh said…
Parks and recreation software

The recreation software streamlines the management of your operations, which reduces back-office tasks, increases efficiency, and boosts revenue all in one place. The software programs are made up of comprehensive modules equipped with a wide variety of features to cover any and every recreational need.
millar said…
Printing packaging industry software

Maximising economies-to-scale, highest machine allocation and supplies control are some of the challenges the print and packaging sector face. Firms also need to be innovative over minimising waste due to the growing concerns from consumers over environmental issues. With all the different challenges the printing and packaging industry face, managers need to have a complete view of the business.
mahi said…
Construction crm software

Most customer relationship management platforms are multi-purpose. They can be used for a range of business applications, including construction work. But some are built specifically for the industry.
Over the past decade, the CRM market has grown roughly 8 times larger. Web-based CRM systems have become cheaper, better, and easier to implement. A small business can now use one and enjoy real results.

josh said…
Builder CRM software

Our CRM is a tool that allows you to capture, organize, collaborate, follow-up, and access critical data from anywhere.
In other words, it helps keep all your company information organized and secure. Which means your entire company is on the same page and working together in unison.
josh said…
Home builder software

Our complete suite of home builder’s software and web applications will streamline your building business at the same time allow you to communicate better with clients, employees and vendors. Our solutions works great for all types of home builders including; custom, semi-custom and production home builders.
millar said…
Digital Workplace Software

The digital workplace is a central working environment that employees can access from anywhere and at any time – whether they’re on the train, in their home office or at the beach. All data is stored in one location and can be accessed quickly and easily. Your employees are freer to determine when and how they work and therefore more efficient. Discover the digital workplace for your company.
RoNeY said…

Best collection of shayari ,qoutes and status.
Sorry Status
badmashi status
whatsapp Bio
Choi Dal-Po said…
Best Mod App Premium Ludo King Mod Board Game Mod App
Aka said…
Thanks For Sharing Nice Content! Telugu Mp3 Love Ringtone Telugu Ringtones Download New Mp3 Ringtone Download Telugu Best Ringtone
$$$$ said…
Radha Krishna Ringtone Download mp3 and Krishna Flute Ringtone Mp3 for free With Great Audio Quality.
$$$$ said…
Gujarati Ringtone Mp3 Download Latest versions of Ringtones.
Anonymous said…
Download minecraft apk indir free minecraft game
Thanks For Sharing Awesome Post! Can you check the new UK lottery result. thunderball results for tonight
Studyroot said…
यदि आप किसी प्रकार की रिंगटोन डाउनलोड
करना चाहते हैं तो आप बिल्कुल फ्री में मेरी वेबसाइट से आप आसानी से प्राप्त कर सकते हैं

Hi friends my name shiv if you want to download any type of ringtone then you can download all new punjabi Mp3 ringtone, hindi Ringtone Download
Trending Ringtone
New Ringtone Download
Bhakti Ringtone Download
Jai Shree Ram Ringtone Download
Sai Baba Ringtone Download
Mahadev Ringtone Download
, devotional ringtone or say all type of ringtone from this website for absolutely free


tusimala said…
thanks for sharing valueble information
gold zip lock
pamban swamigal
thanks for sharing this website it is very useful informating . such it wonderful articlebusy software free download

aziz said…
Thanks sharing such interview questionaries' for designer who are starting up their career's. Our automation-enabled suite of Digital Workspace Solutions is here to optimize your IT environment, reduce cost, and provide your employees a seamless technology user experience. Contact us for details.
Milestone Technologies provides global IT managed services that helps companies get the most of the digital and technology solutions such as Automated IT Service Desk, Digital Workplace Services, Modern IT asset lifecycle management, Modern AV VC Digital solutions, data center infrastructure services, Cognitive Automation solutions, Workforce Solutions
Javi002 said…
So, let me tell you that, the instagram gb download is 100% safe to use. It is actually a secured application, which has been built on the top of the standard
AdarshDevelopers said…
Located in the heart of the city away from stifling crowded spaces, Palm Meadows Annexe & Extension offers luxury and aesthetic living. Designed after victorian styled hyper spacious villas, these luxury homes are spacious and luxurious. In proximity to Varthur Road, Bengaluru, Palm Meadows Annexe & Extension House for Sale is located in Whitefield, Bangalore

To know more information visit our site

Builders and Developers in Whitefield Bangalore
jaisuntour said…
Thanks for the information shared. Keep updating blogs regularly. If you have time visit
Best travel agency from Tamil Nadu
APTRON said…
If you're looking for reliable SAP HR Training in Noida, APTRON is the perfect choice for you. With its comprehensive training programs and experienced trainers, APTRON can help you develop the skills and knowledge necessary to succeed in today's competitive job market.
APTRON Delhi said…
APTRON's SAP HR Institute in Delhi are designed to meet the needs of both beginners and advanced learners. Whether you're just starting out in your career or looking to upgrade your skills, APTRON has the right training program for you.
Shailendra said…
APTRON is the best choice for SAP HR Institute in Gurgaon. With its expert trainers, comprehensive curriculum, and job placement support, you'll be well on your way to a successful career in SAP HR. So why wait? Enroll in APTRON's SAP HR training program today and take the first step towards a bright future.

Popular posts from this blog

Digital Design Interview Questions - All in 1

1. How do you convert a XOR gate into a buffer and a inverter (Use only one XOR gate for each)? Answer 2. Implement an 2-input AND gate using a 2x1 mux. Answer 3. What is a multiplexer? Answer A multiplexer is a combinational circuit which selects one of many input signals and directs to the only output. 4. What is a ring counter? Answer A ring counter is a type of counter composed of a circular shift register. The output of the last shift register is fed to the input of the first register. For example, in a 4-register counter, with initial register values of 1100, the repeating pattern is: 1100, 0110, 0011, 1001, 1100, so on. 5. Compare and Contrast Synchronous and Asynchronous reset. Answer Synchronous reset logic will synthesize to smaller flip-flops, particularly if the reset is gated with the logic generating the d-input. But in such a case, the combinational logic gate count grows, so the overall gate count savings may not be that significant. The clock works as a filter for sma...

XMR: Cross Module Reference

Cross Module Reference   Cross Module Reference abbreviated as XMR is a very useful concept in Verilog HDL (as well as system Verilog). However it seems to be less known among many users of Verilog. XMR is a mechanism built into Verilog to globally reference (i.e., across the modules) to any nets, tasks, functions etc. Using XMR, one can refer to any object of a module in any other module, irrespective of whether they are present below or above its hierarchy. Hence, a XMR can be a:   Downward reference OR Upward reference   Consider the following hierarchy:     Module A   Net x   Instance P of Module B     Net x   Instance M of Module D   Net x   Instance Q of Module C   Net x   Instance N of Module E    Net x   Instance R of Module B   Net x   Instance M of Module D   Net x ...

One-hot Encoding

Designing a FSM is the most common and challenging task for every digital logic designer. One of the key factors for optimizing a FSM design is the choice of state coding, which influences the complexity of the logic functions, the hardware costs of the circuits, timing issues, power usage, etc. There are several options like binary encoding, gray encoding, one-hot encoding, etc. The choice of the designer depends on the factors like technology, design specifications, etc. One-hot encoding In one-hot encoding only one bit of the state vector is asserted for any given state. All other state bits are zero. Thus if there are n states then n state flip-flops are required. As only one bit remains logic high and rest are logic low, it is called as One-hot encoding. Example : If there is a FSM, which has 5 states. Then 5 flip-flops are required to implement the FSM using one-hot encoding. The states will have the following values: S0 - 10000 S1 - 01000 S2 - 00100 S3 - 00010 S4 - 00001 Adv...