Analog IC Design Using Precomputed Lookup Tables Challenges and Solutions
Analog IC Design Using Precomputed Lookup Tables Challenges and Solutions
Analog IC Design Using Precomputed Lookup Tables Challenges and Solutions
ABSTRACT Design productivity remains an important aspect in the analog integrated circuit design industry,
as growing competition and shorter design cycles pressure the traditional flow that involves time-consuming
manual iterations in a circuit simulator. This paper describes innovations within an alternative framework
that uses precomputed look-up tables (LUTs) to enable fast and accurate evaluation of circuit sizing scenarios
without a simulator in the loop. It lets the designer explore and understand the design space boundaries in a
systematic setting, thus supporting informed decision making and architectural innovation that is difficult to
attain with fully automated, black-box sizing tools. Our discussion begins with an overview of the LUT-based
design paradigm and its two primary variants: inverse design (finding design parameters that meet the
specifications) and forward evaluation (sweeping design parameters to search the design space). In support
of the latter, the core of our work focuses on improving the accuracy and speed of LUT access, enabling
millions of queries within seconds on a standard computer. Large improvements over prior art are enabled
using enhanced interpolation methods, which allow for a relatively large LUT grid spacing (hence small
memory footprint) and yet accurate parameter lookup. We evaluate the efficacy of the proposed methods
using two classical analog circuits, a bandgap reference and a folded cascode amplifier. In the bandgap
example, we observe less than 1 ppm error between the LUT-predicted temperature coefficient and circuit
simulation. In the folded-cascode example, one million design points are generated in only 4 seconds,
providing the designer with useful maps that delineate the reachability of certain target specifications.
INDEX TERMS Systematic analog design, precomputed lookup tables, gm/ID methodology, analog design
automation, interpolation, bandgap voltage reference, folded cascode OTA.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
134640 VOLUME 8, 2020
A. A. Youssef et al.: Analog IC Design Using Precomputed LUTs
C. PROPOSED LOOKUP
The proposed lookup method aims at simultaneously address-
ing the three challenges discussed in Sec. II-C (accuracy, size,
and speed). A key idea in the proposed method is to make
use of the MOSFET parameters stored in the LUTs structure
to enhance the interpolation process. For example, if it is
required to lookup ID , the modified lookup approach used
pchip interpolation along the VGS dimension to estimate the FIGURE 9. A simplified example for the proposed lookup operation. The
procedure can be similarly applied to 4D data.
slopes. However, the slope values (dk and dk+1 ) used to define
the interpolant in (3) need not be estimated using the pchip
approach. Instead, the slopes can be extracted from the LUTs
structure itself. The slope is defined by
and Fig. 7. Linear interpolation along VDS is applied at VGS =
∂ID
= gm . (4) 0.4 V and 0.45 V . The same linear interpolation is applied on
∂VGS the gm grid. Then, the unique cubic interpolant of ID versus
Since the gm LUT is already stored in the LUTs structure, VGS is defined using (3), and the value of IDQ corresponding
slope values at the knots can be directly extracted from to VGSQ can be evaluated. Only two knots are needed in
it, as depicted in Fig. 8. Since the gm LUT is simulator- this case, since the slopes at these knots are provided from
accurate, the slope values provided from the gm LUT will the gm LUT. The same idea can be applied to interpolation
provide much better accuracy compared to the mathematical versus VDS and VSB if needed, as the slopes (gds and gmb ,
estimations (e.g., spline and pchip). The improved accuracy respectively) are also stored in the LUTs structure.
is also achieved at the endpoints because the drawback of The accuracy of the proposed lookup operation can be
using a one-sided formula does not exist. In addition to the further improved by taking into consideration the behavior
improved accuracy, the proposed approach enables higher of the MOSFET IV characteristics. In strong inversion (SI),
speed and smaller LUT size. First, the slope estimation step ID depends on VGS α , where α typically ranges from 1 to 2.
is skipped, which improves the performance. Second, for a Thus, using the cubic interpolant can faithfully mimic the
given accuracy, a larger grid step (i.e., smaller LUT size) actual IV characteristics. However, in weak inversion (WI),
can be used compared to the conventional and modified ID has exponential dependence on VGS . Thus, the cubic inter-
approaches, which reduces the LUTs size and also improves polant will not be able to follow the exponential trend, and the
the performance. interpolation error will increase. In order to achieve consistent
The proposed lookup operation is illustrated in Fig. 9, accuracy across all operating regions, the interpolation can be
which uses the same grid and the same query point as in Fig. 5 applied to ln ID rather than ID . The slopes at the knots will
FIGURE 16. Accuracy of VGS lookup operation: percent error in VGS vs JD . The modified lookup approach in [6] is the same
as the conventional approach for VGS lookup operations.
REFERENCES
[1] S. Pandit, C. Mandal, and A. Patra, Nano-Scale CMOS Analog Circuits:
Models and CAD Techniques for High-Level Design. Boca Raton, FL,
USA: CRC Press, 2014.
[2] M. F. Barros, J. M. Guilherme, and N. C. G. Horta, Analog Circuits and
Systems Optimization Based on Evolutionary Computation Techniques.
Berlin, Germany: Springer, 2010.
[3] R. A. Rutenbar, G. G. E. Gielen, and B. A. Antao, Eds., Computer-Aided
Design of Analog Integrated Circuits and Systems. Hoboken, NJ, USA:
Wiley, 2002.
[4] Cadence Design Systems. Virtuoso Analog Design Environment GXL.
Accessed: Jun. 1, 2020. [Online]. Available: https://www.cadence.com
[5] P. Jespers and B. Murmann, Systematic Design of Analog CMOS Circuits
Using Pre-Computed Lookup Tables. Cambridge, U.K.: Cambridge Univ.
Press, 2017.
[6] H. Omran, M. H. Amer, and A. M. Mansour, ‘‘Systematic design of
bandgap voltage reference using precomputed lookup tables,’’ IEEE
Access, vol. 7, pp. 100131–100142, 2019.
[7] M. N. Sabry, H. Omran, and M. Dessouky, ‘‘Systematic design and opti-
mization of operational transconductance amplifier using gm /ID design
methodology,’’ Microelectron. J., vol. 75, pp. 87–96, May 2018.
[8] M. N. Sabry, I. Nashaat, and H. Omran, ‘‘Automated design and opti-
mization flow for fully-differential switched capacitor amplifiers using
recycling folded cascode OTA,’’ Microelectron. J., vol. 101, Jul. 2020,
Art. no. 104814.
FIGURE 21. Design charts of folded cascode OTA. (a) DC gain vs GBW [9] A. Montagne. SLiCAP: Symbolic Linear Circuit Analysis Program.
with PM and FO constraints. (b) Bias current vs GBW with PM and DC Accessed: Jun. 1, 2020. [Online]. Available: https://www.analog-
gain constraints. electronics.eu/slicap
[10] The MathWorks. MATLAB Documentation. Accessed: Jun. 1, 2020.
[Online]. Available: https://www.mathworks.com/help/matlab/matlab_
affected by PM and gain constraints. The maximum achiev- prog/vectorization.html
[11] J. Ou and P. M. Ferreira, ‘‘Implications of small geometry effects on gm /ID
able GBW is reduced by one order of magnitude due to based design methodology for analog circuits,’’ IEEE Trans. Circuits Syst.
the gain specification regardless of the current consumption. II, Exp. Briefs, vol. 66, no. 1, pp. 81–85, Jan. 2019.
Moreover, for a given GBW , PM , and gain, the bias current [12] B. Murmann. gm /ID Starter Kit. Accessed: Jun. 1, 2020. [Online]. Avail-
able: https://web.stanford.edu/~murmann/gmid
of an unoptimized design may be two orders of magnitude [13] F. Silveira, D. Flandre, and P. G. A. Jespers, ‘‘A gm /ID based methodology
inferior to an optimized design. Trade-offs with other design for the design of CMOS analog circuits and its application to the synthesis
metrics such as noise and area can be similarly explored. of a silicon-on-insulator micropower OTA,’’ IEEE J. Solid-State Circuits,
vol. 31, no. 9, pp. 1314–1319, Sep. 1996.
Moreover, as in Fig. 1b, the designer can use a local or global [14] R. Fiorelli, E. J. Peralias, and F. Silveira, ‘‘LC-VCO design optimization
optimizer to minimize an objective, e.g., bias current, while methodology based on the gm /ID ratio for nanometer CMOS technolo-
satisfying a set of constraints. gies,’’ IEEE Trans. Microw. Theory Techn., vol. 59, no. 7, pp. 1822–1831,
Jul. 2011.
[15] F. T. Gebreyohannes, J. Porte, M. Louërat, and H. Aboushady,
VI. CONCLUSION ‘‘A gm /ID methodology based data-driven search algorithm for the
This paper discussed advantages and challenges of the design of multi-stage multi-path feed-forward-compensated amplifiers
targeting high speed continuous-time 61-modulators,’’ IEEE Trans.
LUT-based design flow for analog circuits. Specifically, Comput.-Aided Design Integr. Circuits Syst., early access, Jan. 7, 2020,
it identified the need for fast and accurate table lookup doi: 10.1109/TCAD.2020.2966998.
to enable rapid exploration of the circuit’s performance [16] G. Piccinni, C. Talarico, G. Avitabile, and G. Coviello, ‘‘Innovative strategy
for mixer design optimization based on gm /ID methodology,’’ Electronics,
space using direct (forward) evaluation of its underlying vol. 8, no. 9, p. 954, Aug. 2019.
design equations. The presented solution uses enhanced [17] J. Ou and P. M. Ferreira, ‘‘A gm /ID -based noise optimization for CMOS
interpolation methods that facilitate large LUT grid spac- folded-cascode operational amplifier,’’ IEEE Trans. Circuits Syst. II, Exp.
Briefs, vol. 61, no. 10, pp. 783–787, Oct. 2014.
ing while maintaining highly accurate lookup. The latter [18] P. Jespers, The gm /ID Methodology, a Sizing Tool for Low-Voltage Analog
is validated using a highly sensitive bandgap design that CMOS Circuits: The Semi-Empirical and Compact Model Approaches.
achieves ppm-level accuracy between the synthesized and Boston, MA, USA: Springer, 2010.
[19] C. B. Moler, Numerical Computing With MATLAB, vol. 87. Philadelphia,
SPICE-simulated designs. In addition to being accurate, PA, USA: SIAM, 2008.
the lookup method developed in this work is also fast, [20] F. N. Fritsch and R. E. Carlson, ‘‘Monotone piecewise cubic interpolation,’’
enabling millions of queries within seconds. Such function- SIAM J. Numer. Anal., vol. 17, no. 2, pp. 238–246, Apr. 1980.
[21] H. Omran, ‘‘Optimum split ratio for folded cascode OTA bias current:
ality can be used to search a circuit’s design space, providing A qualitative and quantitative study,’’ in Proc. 31st Int. Conf. Microelec-
rapid feedback to the designer for feasibility studies, topology tron. (ICM), Dec. 2019, pp. 223–226.
ABDELRAHMAN A. YOUSSEF received the HESHAM OMRAN received the B.Sc. (Hons.)
B.Sc. degree (Hons.) in electrical engineering from and M.Sc. degrees in electrical engineering from
Ain Shams University, Cairo, Egypt, in 2019. He is Ain Shams University, Cairo, Egypt, in 2007 and
currently a Research Assistant with the Integrated 2010, respectively, and the Ph.D. degree in elec-
Circuits Laboratory (ICL), Ain Shams University. trical engineering from the King Abdullah Uni-
His research interests include design of analog versity of Science and Technology (KAUST),
and mixed-signal integrated circuits and design Saudi Arabia, in 2015. From 2008 to 2011, he was
automation. a Research and a Teaching Assistant with the
Integrated Circuits Laboratory (ICL), Ain Shams
University, and a Design Engineer with Si-Ware
Systems (SWS), Cairo, where he worked on the circuit and system design
BORIS MURMANN (Fellow, IEEE) received
of the first miniaturized FT-IR MEMS spectrometer (NeoSpectra). From
the Dipl.Ing. degree in communications engineer-
2011 to 2016, he was a Researcher with the Sensors Laboratory, KAUST.
ing from the Fachhochschule Dieburg, Dieburg,
He held Internships with the Bosch Research and Technology Center, Sun-
Germany, in 1994, the M.S. degree in elec-
nyvale, CA, USA, and Mentor Graphics, Cairo. In 2016, he joined ICL, Ain
trical engineering from Santa Clara University,
Shams University, as an Assistant Professor. He has published more than
Santa Clara, CA, USA, in 1999, and the Ph.D.
30 papers in international journals and conferences. His research interests
degree in electrical engineering from the Univer-
include design of analog and mixed-signal integrated circuits, especially in
sity of California at Berkeley, Berkeley, CA, USA,
analog and mixed-signal design automation.
in 2003. From 1994 to 1997, he was with Neutron
Mikrolektronik GmbH, Hanau, Germany, where
he was involved with the development of low-power and the smart-power
application-specified integrated circuits (ASICs) in automotive CMOS tech-
nology. Since 2004, he has been with the Department of Electrical Engi-
neering, Stanford University, Stanford, CA, USA, where he is currently a
Full Professor. His current research interests include mixed-signal integrated
circuit design, with a special emphasis on data converters, sensor interfaces,
and circuits for embedded machine learning. He was a co-recipient of the
Best Student Paper Award from the Very Large-Scale Integration (VLSI)
Circuits Symposium, in 2008. He was a recipient of the Best Invited Paper
Award from the IEEE Custom Integrated Circuits Conference (CICC),
in 2008, the Agilent Early Career Professor Award, in 2009, and the Friedrich
Wilhelm Bessel Research Award, in 2012. He served as the Data Converter
Subcommittee Chair and the 2017 Program Chair for the IEEE International
Solid-State Circuits Conference (ISSCC). He served as an Associate Editor
for the IEEE JOURNAL OF SOLID-STATE CIRCUITS.