(B)ASIC: WTF is a clock?
Image source: pixabay

(B)ASIC: WTF is a clock?

One of the major differences between software and hardware is the concept of a clock. It defines the rhythm the sequential elements update inside the chip. Note that in complex System-On-Chips (SoC) there are many clock frequencies that distribute to parts of the silicon. In this post, we will take a basic look at a clock. At the bottom of this post, you will find links to the previous posts. The “ASIC FUNDAMENTALS” series of blog posts starts with “synchronous design” and the rest follows chronologically after that first post.

WHAT IS A CLOCK?

In synchronous design, the key concept is a rhythm of updating in the design. This we call a clock frequency or clock period. Important, the clock period is the reciprocal of the clock frequency. A clock with a frequency of 1GHz has a clock period of 1ns.

In the digital design world, we work with ones and zeros. We like to keep things simple. So, a clock is a square wave with a high period (digital ‘1’) and a low period (digital ‘0’). The ratio between the time the clock is high versus the total period of the clock is the “duty cycle” of the clock. For example, a duty cycle of 40% means the clock is high 40% of the clock period and low for the remaining 60%. This is an important ratio to remember.

HOW DOES A CLOCK INFLUENCE THE POWER CONSUMPTION?

If we consider the performance of an ASIC, a higher clock frequency (the same as a smaller clock period) is better for performance. Every VLSI technology node has so-called cell libraries that the foundry delivers. The foundry is the company that manufactures your chip. Depending on your requirements, they have three flavors. And they are: speed (clock frequency), area (mm2 = cost) and power consumption. However, there is one caveat. There is always a trade-off between those three. If you want a smaller area, you need to relax on one factor. Maybe even on both of the other two factors.

The synthesis tool translates our HDL design in a circuit of connected cells. An experienced synthesis engineer has three constraints for the tool to influence the output of the synthesis tool. Heck, there are even levels of effort for those constraints. But simplified, the user tells the tool the priority and importance of the clock frequency, the area consumed by the design and the power consumption of the design. The latter has a static and a dynamic component. The more switching activity of a transistor (zero to one, one to zero) in a circuit, the higher the dynamic consumption. Since the clock is also switching with a certain frequency, reducing the frequency reduces the power requirement. But the reason we need power simulations is that the synthesis tool knows nothing about the application of the chip. Special measures like clock gating, and power islands are very specific. They need a simulation to extract a realistic number of toggling inside the chip. To conclude our power related writings, static consumption is more accurate with synthesis tools since it requires no activity. Static power has two main contributors, leakage power of the transistors and standby power from the DC supply to ground (GND).

WHAT DID WE LEARN IN THIS POST?

A clock is a square wave, with parameters associated to it. If we want better performance of the circuit, there is always a trade-off between performance, area and power. The next article and blog post talks about the different clock parameters. Keep a lookout for that one, it hasn't been published yet!

Applause for ourselves!!! ????????

Feel free to pet my ego with a small click on the like button!

#semiconductors #asic #fpga #technology #VHDL #verilog #systemverilog

=================================================================

  • This post is scheduled to appear on my blog around May 18th, 2020.
  • Two other posts precede this one with useful explanations (Linkedin articles):

What is synchronous design

How do we design an ASIC?

要查看或添加评论,请登录

Bert Verrycken的更多文章

  • Life is full of surprises: Rammstein meets Meta meets Gauss

    Life is full of surprises: Rammstein meets Meta meets Gauss

    An actual selfie I just took: Grouchy Smurf I'm deep into my unpopular take period now. People wonder why I write, well…

  • I ?? to create an AI digital IC engineer (2/n)

    I ?? to create an AI digital IC engineer (2/n)

    As a child, I was very interested in Battlestar Galactica. Later it became clear the special effects were amateuristic,…

    2 条评论
  • I ?? to create an AI digital IC engineer (1/n)

    I ?? to create an AI digital IC engineer (1/n)

    Link to AIVRAL paper on arxiv: https://arxiv.org/pdf/2409.

    8 条评论
  • What is wrong with this (system)verilog code snippet?

    What is wrong with this (system)verilog code snippet?

    A stupid post today about some code from some open source repo seemed to have gathered some interest. Since I am known…

    3 条评论
  • Open to Work

    Open to Work

    I have more than 26 years of industry experience and participated in more than 20 product tape-outs. Over the years, I…

    7 条评论
  • Arthritis Book: The Road Back

    Arthritis Book: The Road Back

    This is not medical advice, I am not a doctor. I am not affiliated (had to buy the book second hand, it is old).

    2 条评论
  • Verification interviews: the mood, the mad and the mugly!

    Verification interviews: the mood, the mad and the mugly!

    Some random thoughts on interviews and interviewers. I’m still on both sides of the coin, after over two decades of…

  • Analog compute, AI HW Summit 2020

    Analog compute, AI HW Summit 2020

    I am digital, so, it is unusual to promote analog, but for Mythic I have to make an exception. Credit images/video:…

    1 条评论
  • Nvidia enters the SERVER arena

    Nvidia enters the SERVER arena

    Yes, I am aware ARM licenses its processor cores and doesn’t produce them. As you know Nvidia is a GPU producer mainly,…

    7 条评论
  • WW2 and COVID-19: it's science?!?

    WW2 and COVID-19: it's science?!?

    There are many articles written about his specific analysis, I just googled one: "During World War II, the Navy…

    6 条评论

社区洞察

其他会员也浏览了