Rule of thumb or layout automation for analog floorplan

Article By : Mark Waller

Creating the right floorplan for IoT chips is a critical task that must evolve and be refined as the project progresses.

The chips for the Internet of Things (IoT) are made from many functional units: digital logic, CPU, battery management, ROM, RAM, and analog blocks such as DAC, ADC and amplifiers. The IoT chips, such as MCUs, are complex system on chip (SoC) designs. Creating the right floorplan for these chips is a critical task that must evolve and be refined as the project progresses.

Some blocks, particularly random logic, can be shaped to fit the available space, but others have fixed shapes. The floorplan is often constrained by the memory blocks with very predictable sizes and by the various analog circuits in the design. The shape and size of analog blocks are dictated by the performance requirements of the block like the need for device matching and layout dependent effect (LDE) considerations.

The floorplanning task starts almost as soon as work on the project is begun. The floorplan designer takes early circuit information and uses that to create the initial floorplan. It’s usually done long before the layout of any functional block is available and the designer relies on accurate estimations of block area and size. Getting accurate size estimations for analog blocks is critical to being able to create an initial floorplan because of the knock-on effect they have on the size and shape of many of the other blocks on the chip.

Unfortunately, area estimation is a notoriously hard problem among analog designers. Many people think that analog design area can’t be estimated for a circuit until you have completed its layout. However, for some sort of early estimate, many designers use rule-of-thumb methods of estimation. One commonly used rule of thumb is:

Area estimate = (Active area x 3.5) + Passive area

So how useful is this rule-of-thumb?

Rule of thumb

I was recently involved in some research into various methods of analog area estimation. We looked at 280 different analog designs, targeting 13 different processes, from 0.6 um to 28 nm, across seven different foundries. Using this data, we calculated the rule-of-thumb design area for every design and compared it against the actual handcrafted layout size in each case. The results were illuminating.

Figure 1 The plot shows error factors while estimating areas with rule-of-thumb method. Source: Pulsic

Figure 1 shows a plot of the error factors for the rule-of-thumb estimated areas. The error factor is a simple indicator of how many times too-large or too-small the estimate is compared to the handcrafted area. You can see that the estimate varied wildly, with some of the estimates off the mark by as much as 8x.

The analysis showed that the rule-of-thumb methods give very poor quality of design area estimation for analog designs. With a standard deviation in the error factor of 4.14, the rule-of-thumb method should not be relied upon to create accurate estimates for floorplanning. A standard deviation of 4.14 means that many of the estimates range between 4x too large or 4x too small. This means that a 1:1 aspect ratio analog block might have horizontal and vertical dimensions 200% larger or smaller than the estimate provided. This low level of accuracy renders the estimates unusable, even in early-stage floorplanning.

Figure 2 A graphical view of range of estimates while using rule-of-thumb method. Source: Pulsic

So, what is the alternative?

Layout automation

Instead of estimating the area of an analog circuit using a rule-of-thumb method, an alternative approach is to use analog layout automation to create a layout. The research went on to compare the accuracy of the estimates given by the rule-of-thumb method against a newly available analog layout automation solution.

Using the same 280 test real-world circuit, the following chart plots the estimation error factors when using analog layout automation over the top of the previous chart.

Figure 3 The plot also shows error factors in red while estimating areas with layout automation. Source: Pulsic

It’s easy to see that the estimates from automation are much more accurate. Indeed, the standard deviation in error factor using automation was much smaller at 0.57, with most estimates within 60% of the actual design size. Meaning that a 1:1 aspect ratio analog block would have horizontal and vertical dimensions within 25% of the estimate provided by automation.

Figure 4 A graphical view of range of estimates while using layout automation. Source: Pulsic

This much-improved level of estimation accuracy can be obtained from the schematic early in the design flow, and completely automatically, without a designer needing to create a trial layout. We can see that analog layout automation can now provide analog designers with estimates that are actually useful and can be employed to create initial floorplans for their mixed-signal IoT chips.

Fully automated, final quality analog layout may not yet be a reality, but recent advances mean that analog layout automation is starting to deliver useful features that can help analog design teams and chip floorplan designers.

This article was originally published on Planet Analog.

After starting his EDA career as a software engineer at Zuken Redac in 1996, Mark Waller co-founded Pulsic in 2000 and served as VP of R&D for over 15 years. Following a career break as a high school physics teacher, Waller is now back at Pulsic and leads user enablement for Pulsic’s Animate product line.

Leave a comment