|
||||||||||
Under the Hood of Library IP (by Brani Buric and Mike Colwell, Virage Logic)
Little-known aspects of library design that can directly impact the time to market, design flow complexity, and NRE cost of your next project.
Design reuse via IP libraries is essential today to reduce design cycles in the face of time-to-market concerns, design complexity, high NRE costs, and new process technology challenges. Meeting time-to-market demands means disallowing excessive amounts of time squeezing every picosecond and square micron from your library. However, selecting the proper library in the first place—one crafted for a specific process and performance target—can result in chip area savings that can significantly reduce the final cost of silicon. In many cases, these savings will mean the difference between a profit or loss for the particular application Currently, cell architecture is optimized for a routing methodology developed over 20 years ago. Metal 1 is routed horizontally, Metal 2 routed vertically, and Metal 3 horizontally (HVH). With more metal layers available in today’s processes, an alternative routing approach—Metal 1 routed vertically, Metal 2 routed horizontally, and Metal 3 vertically (VHV)—provides much better results with respect to area, performance, and power consumption trade-offs. (see Figure 1)
VHV routing is preferable to HVH routing due to the significantly better pin accessibility, which results in higher utilization. VHV leads to shorter wire lengths and a reduced number of signal vias, which in turn, improves performance and reliability while reducing power. In addition, VHV shows better distribution of power to cells, with better control of IR drop. To take advantage of the VHV routing approach, the cell architecture must be changed significantly compared with the conventional architecture used with HVH routing. In addition to defining the cell design to better utilize routing for contemporary processes, many technical decisions must be made while defining the library architecture. Metal routing While it is important to keep the routing pitches tight on Metal 1 and Metal 2, it’s also essential to allow users to configure routing pitches on intermediate layers to tune for specific performance, power, and density requirements. For example, increasing wire spacing from single to double spacing on a typical 130- nanometer (nm) process provides more than a 30- percent decrease in routing capacitance, reducing power consumption and increasing design performance. Large designs require a significant amount of routing resources for power, while IR drop problems are common in today’s designs. Different parts of a design typically have different performance and power requirements. To handle a variety of local power requirements, libraries are developed for the worst-case application (for example, high speed/ high power consumption) or for a “sweet spot” application. In either case, power rails for the library will either be too wide or too narrow, depending on local power requirements. In the VHV architectural approach, the cell power rails are in Metal 2. Among the advantages is reduced IR drop due to better resistive characteristics in Metal 2 compared to Metal 1. Power rail widths can be defined to meet local IR drop requirements and designers can expand power rails using the power router within the place and route tool . Architectural considerations Selection of the P/N ratio is important because it represents the trade-off between performance and routability. Even a minor adjustment of the P/N ratio can achieve a significant improvement in routability, but it’s important to note that any change in the P/N ratio requires complete circuit re-optimization. For best performance and density, both transistor-level topologies and transistor-sizing methodology must be optimized on an individual cell basis. Electrical parameters such as transistor characteristics, poly, diffusion, and metal capacitance and resistance will vary from foundry to foundry or between different technology nodes on the same foundry. For high-drive cells, care must be taken to ensure that all internal wiring is wide enough and that contact/ via count is high enough to handle the maximum current. It’s critical to determine which metal segments and contacts/vias will carry uni-directional current, and then to size them appropriately. In the latest technologies, bi-directional or RMS current for very high drive cells need to be considered and multiple via drop locations made available at the cell output pins, so the design can be routed without electromigration problems. Individual cell optimization must be performed in an environment similar to the real design. When optimizing each cell, the cell should be placed in a path so that effects of input capacitance and output drive, as well as internal sizing, will be accounted for while determining transistor sizes. This path should include appropriate loading for the target technology on each stage in the path. The average propagation delay across the path should be used as the target design criteria. However, checks should be made to ensure that the rise and fall time ratios are not extreme, and that noise margins for all cells are within acceptable ranges. Within this environment, different design criteria can be used for different cell types, allowing maximum performance for each cell type. Optimization of single-stage cells consists mostly of a P/N ratio variation. In many cases, the P/N ratio that gives maximum performance for an individual cell will be the same as that set for the library. Often, a small change in P/N ratio can lead to a large reduction of dynamic power with only a small change in performance. These trade-offs should be explored, especially for low power libraries where power reduction is essential. (see Figure 2)
Multi-stage cells For example, consider an 8x drive implementation of a 2-input AND gate. If a 2-input NAND gate is implemented with a 1x drive, the cell will be very small, but the rise/fall time on the intermediate node will be very slow and the intrinsic delay of the cell will be long. At the other extreme, if the input stage is implemented as an 8x drive, the intrinsic delay of the cell will be small. However, not only will the cell be very large, the input capacitance will significantly slow down the driving stage and the path performance will be reduced. In either of these cases, the synthesis tool will tend to use a 2-input NAND gate and an inverter in place of the 2-input AND gate, which will increase both cell and net count and increase routed chip size—a phenomenon commonly known as “pull-apart.” The optimum input size lies somewhere in between the two extremes. Consider the concept of a “build-up ratio”— the ratio at which the input transistor sizes grow as the output drive is increased. The optimum ratio depends on whether the library is targeted for high performance or low power. The general trade-offs pit a larger buildup ratio, which provides the best performance against both an increased cell size and increased power consumption. Therefore, a high performance library will use a larger build-up ratio, and a low power library will use a smaller ratio.For complex cells such as multiplexers and exclusive-OR gates, both transistor-level topologies and transistor-sizing methodologies must be explored to find the best solution for the library’s target. For complex cells, the range of transistor topologies available is much greater. For example, a high performance library would use a topology that provides fast timing, but isn’t the most efficient in terms of area or power. Alternatively, a low power library would use a different topology where cell size and dynamic power are low. (see Figure 3)
To enable high-performance adder and multiplier blocks, special function cells such as full and half adders, compressors, and booth encoder cells should also be included in each library. In many cases, multiple implementations of these cells with different design targets are necessary in order to achieve the highest performance on a functional block level. Key elements for flip-flop design Timing - Flip-flop timing affects all paths, which start with a clock-to-q timing and end with a setup time constraint. Hold-time violations also cause complexity in design flow, and increase in area due to delay cell insertion. Care must be taken on clock to q, setup, and hold-time design to achieve maximum performance as well as efficient design flow. Signal integrity - Clock-pin glitches can cause the incorrect state to be latched and cause logical failures. As crosstalk-induced noise becomes more of a problem in newer technologies, clock pins must have sufficient noise margins. Power - For robust design, clock pins on flip-flops must be buffered in modern technologies. However, the power consumed, or affected by, the transistors driven by the clock pin can attribute to a majority of the power consumed in the chip. Internal to the flipflop, clock buffers and transmission gates will switch with every clock cycle, while logic switching factors will range from 10-to-20 percent. Also, the clock tree driving the flip-flop clock pins will be affected by the input capacitance of the clock pin. Larger input capacitance requires higher drive clock buffers and larger clock buffer tree depth, further increasing the clock related power consumption. Clock tree - Significant wiring resource and clock buffer cell area is used in creating low skew clock nets. Flip-flop clock buffer input capacitance should be kept constant across all flip-flop types to provide equivalent capacitance targets for the clock tree synthesis tool and reduce clock skew as well as clock tree depth. Conclusion Bio Mike Colwell is director of engineering at Virage Logic and responsible for leading the development of the company’s logic product line. Previously, Colwell was vice president of engineering at In-Chip and held various engineering and management positions at LSI Logic. Colwell holds 11 patents in the area of standard cell, gate array, and I/O libraries.
|
Home | Feedback | Register | Site Map |
All material on this site Copyright © 2017 Design And Reuse S.A. All rights reserved. |