(B)ASIC: How does the back-end engineer deal with clocks?
Hourglass image spurce: pixabay.

(B)ASIC: How does the back-end engineer deal with clocks?

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. In this post, we talk about the implications for the layout team.

Place And Route

Clocks are the basis for synchronous design. In RTL, the source code of the design that is synthesizable, there is no notion of delays for any cells. Because the code is mostly independent from the underlying technology. Previously, we looked at creating a netlist. This netlist is the technology specific design with the cells and the wires connecting them. This netlist is the input for the layout of the chip. The back-end team is handling the layout, the floor-plan, the placing of the cells and the routing. But the most important part is the clock tree. Clock Tree Synthesis (CTS) is the operation whereby the real physical routing replaces the ideal wire of one front-end netlist clock. The starting point of the clock wire goes to the first flip-flop inside the area we consider the same clock domain. Some elements are close to the input wire, some are not. Traveling more distance affects the clock skew. The same active edge doesn’t reach all flip-flops of the same clock domain at the same moment in time. To get rid of that “clock skew”, a clock tree is not just a wire. No, it is a tree of clock buffers. A buffer does not change the signal, it delays it by a pre-defined amount. Buffers balance the clock tree, making sure the active edge of the clock arrives at the same moment in time. Clock tree buffers have a certain area and they require power to operate. RTL designers ideally want the whole chip as one clock domain to avoid synchronizers. Nice and simple, but impossible for the back-end team. The number of buffers would explode, increasing area and power consumption. And On Chip Variation (OCV) requires more margin on the maximum clock frequency. Simplified, the larger area to balance, the lower the maximum frequency that is achievable. And this is just the tip of the iceberg. Experience of decades of chip design helps to architect the RTL in such a way that the back-end team is fast in achieving satisfactory Clock Tree Synthesis results. As in all ASIC design matters, experience and trade-off is our everyday reality. Very few people know the technical challenges for low power chips with crazy performance for tablets, smartphones and any wearable. The shift to software engineers trying to design hardware is great, but you can easily spot them by the huge coolers they need to get rid of the heat. Because that is the very specific benefit of ASIC designers. Anyone with a basic understanding of digital circuits can design a chip. But silicon, that goes into production, is another matter. Outsiders do not know of the complex issues and problems we solve in front-end and back-end design. These solutions give confidence the chip is ready for the field. It must be able to survive in the wild for a few years. That is the difference between an amateur with a test-chip and the professionals designing chips for your smartwatch, computer, video streamers and game consoles.

What did we learn in this post?

Clocks are special for the front-end team but also for the back-end engineers. Clock Tree Synthesis and balancing the clock tree define the actual area and the performance per Watt of the chip. Therefor, back-end engineers that understand how to keep the area small while maximizing the performance per Watt are worth more than their weight in gold. And the front-end architect or project manager sows the seed of success or failure. The partitioning of the design and the clock (and reset) strategy decides the faith of the chip. And it all starts with people. Sadly, people are like office furniture in almost all companies. Throw them out when you no longer need them. A smart observer notices the explosion of the ASIC design cost, the delays and the security issues in 2020. Correlation and causation: the excel sheet quarterly profit focussed managers replacing “expensive” seniors with low cost single-skill grunts and drones.

One quote to summarize (from the software world):

"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks - devRant.

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

(support what you like) Pet my ego with a click on the like button! ??

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

Prerequisites to this post:

1st post: What is synchronous design?

2nd post: How do we design an ASIC?

3rd post: What’s a clock?

4rd post: What are the important clock parameters?

5th post: Do we choose an internal or external clock?

6th post: How do we deal with multiple clocks?

7th post: How do synthesis and STA deal with clocks?

Comment with what you want to find out next about ASIC or FPGA design.

Karan Gadhave

Semiconductor enthusiast passionate about VLSI, Physical Design Engineer with 15,000+ connections. Currently working in Mediatek as Physical Design Engineer

4 年

Very nice article sir Bert???? Verrycken

Kimon Karras

Building digital systems in FPGAs & ASICs

4 年

I think the whole series is super useful. Especially the focus on clocks which is one of the issues where younger engineers have issues with. I guess it's because people mostly start with some sort of FPGA work in undergrad and as you correctly stated in the FPGA world CDC is much downplayed by the use of PLL IP with auto-derived constraints and IP (such as async FIFOs). Thus when one moves into the ASIC world he suddenly encounters a whole new set of issues that he needs to suddenly care about :)

Akash Verma [AV]

ASIC :: Designer :: Lead

4 年

Strongly agree. The clock pull and pushing, which I'm currently on, is a pain. The CTS has to be robust to avoid ECO cycles pain

Bert Verrycken

ASIC | hwaccelerators | let's connect

4 年

Karan Gadhave Kimon Karras Luigi C. Filho Tell me what you think, guys? Today's post ??.

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

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 条评论

社区洞察

其他会员也浏览了