Pajkanovic 2020

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

CMOS IC Design from Schematic Level to Silicon

within IC Curricula Using Free CAD Software


Aleksandar Pajkanovic
Faculty of Electrical Engineering
University of Banja Luka
Banja Luka, Bosnia and Herzegovina
aleksandar.pajkanovic@etf.unibl.org

Abstract—In this paper we demonstrate the free and open- process is covered with individual free and open-source
source methodology used to design integrated circuits all the software tools. These tools, for the most part, we have utilized
way from schematic level simulation to silicon-ready GDS in previous IC courses iterations, [3]-[4]. Still, every IC design
fabrication files. This approach has been successfully we presented up to now was simulated, laid out and extracted
implemented in the IC design curricula at the Faculty of using component models from academia [5]-[6] and an
Electrical Engineering, University of Banja Luka. The example SCMOS project design kit (PDK) [7]. This means that these
circuits are known designs of a low-dropout regulator and an are not silicon-ready, meaning further that they have no
oscillator. The CMOS technology node is 180 nm process. Each purpose outside the classroom. It is, of course, a valuable
of the tools is briefly presented, and either of the two designs is
practical experience for students, but it is not a real-world
shown during different design phases.
hands-on example – a feature required for a serious, world-
Keywords—IC design, analog, LDO, oscillator, free and open- class university level course.
source tools, ngspice, netgen, Magic In this paper, we present silicon-ready designs – simulated,
laid out and extracted using a silicon-ready PDK, i.e. a
I. INTRODUCTION
commercially available, industry standard CMOS 180 nm
Fabrication of monolithic integrated circuits (IC or chip) process node. Neither of the schematic level designs are novel,
on silicon represents one of five technologies crucial to one being presented in [8] and the other being a standard
semiconductor industry and, therefore, human society in this, topology [9], commercially available. The contribution of this
21st, century [1]. Even though its performance rise due to paper is the first ever design of silicon-ready CMOS ICs in
constant scaling has been significantly slowed down in class as a collaboration between staff, students and industry
comparison to the previous half a century, it is still one of the partners, using nothing but free and open source software
most sophisticated technology processes commercially tools.
available in the world. This came to pass due to incredible
scale of integration, which, in return, allowed mass IC In section II, we elaborate in further detail on the
production at negligible price per unit produced. Nevertheless, motivation behind this paper. In sections III and IV we provide
contrary to the end product unit price, as low as several cents brief overview of the example designs and tools, respectively.
for the most common chips, the cost of design, fabrication, The next two sections, V and VI, present post-layout
packaging and testing of an IC has been soaring all along. It is simulation results and silicon ready layouts, respectively. A
first very costly to train an engineer, then it costs hundreds of conclusion follows as the final section of this paper.
thousands to obtain a yearly license of an industry standard II. MOTIVATION
software toolchain, whereas fabrication in the modern process
node may cost well into millions. Verification usually takes Scaling down to deep submicron processes benefited the
up to 30% of the whole project cost. digital applications, in terms of increasing performance and
integration scale, while reducing latency, supply voltage and
The only phase in this process the community may power consumption. The benefit, while present, is not so
significantly reduce the price of, thanks to the free and open- direct for analog circuits. While the reduced device size
source movement and the copyleft philosophy behind it, is increases transit frequency, decreases leakage and power
obtaining the software licenses. The freely available IC tools consumption, there are additional topics that need special
have been around for decades, but their quality has been attention, such as gain or noise. Furthermore, analog
questionable all along and, thus, application in a real process applications require passive components, capacitors and
unfeasible. However, this idea of reducing the required CAD resistors, whereas RF applications add inductors and
software tools pricing to zero, with the purpose to enable transformers on top of the arsenal. Therefore, using a process
individuals or small teams to actually design their circuits all node below 45 nm for analog/RF ICs presents significant
the way to silicon has been gaining momentum in recent years challenges [10]-[11]. This is even more so in the case of GHz
worldwide. An overview of these activities is out of scope of frequencies and beyond, where specialized software tools
this paper, so we note here the world’s first ever chip capable of electromagnetic field simulation must be utilized.
successfully designed and fabricated using only free and open-
source tools, Raven [2]. Tools provided by semiconductor industry standard
CAD/EDA companies (Cadence, Synopsys and Mentor) are
In the past four years, at the Faculty of Electrical irreplaceable when cutting edge technology designs are in
Engineering, University of Banja Luka, we have been working question, such as 7 nm process node used for latest release of
to introduce a free (of charge) integrated circuits design AMD’s Zen 2 microarchitecture [12]. The same statement is
software toolchain into the IC courses. The integrated valid for analog/RF designs, with the slight change in the
development environment, present with industrial standard meaning of the term “cutting edge”, since in this case that
EDA/CAD toolchains does not exist yet, but every step of the would relate to 45 or 65 nm process nodes. However, there are

978-1-7281-9863-7/20/$31.00 ©2020 IEEE

Authorized licensed use limited to: UNIVERSITY OF WESTERN ONTARIO. Downloaded on December 19,2020 at 21:13:28 UTC from IEEE Xplore. Restrictions apply.
still many cases where mature CMOS technology can perform
accordingly. The best examples are low noise amplifiers [13],
power amplifiers [14], operational amplifiers [15], voltage
regulators [16], bandgap reference [17], etc. In all these
examples, the circuits have been implemented in 180 nm
process node in 2020, even though this technology was
commercialized as early as 1998. It is, therefore, still justified
to both teach real-world silicon-ready examples and research Fig. 2. Crystal oscillator driver schematic [9]
novel topologies and applications in mature CMOS nodes.
IV. TOOLS
Having proved actuality of 180 nm CMOS standard
IC design process may be captured as shown in Fig. 3,
technology in today’s semiconductor industry, it is important
where each step of the process is paired with the appropriate
to actualize as well the free and open source software IC
tool we used in this work, following along the ASICone
toolchain – from schematic level design all the way down to
project. Since we are taking already designed circuits, this
silicon. We argue that this is of major importance, since
means we will be skipping topology selection, but rather focus
success in such enterprise, in many cases, would enable an
on schematic level design first. In papers [3]-[4] as the
absolute reduce in cost for both academia and individuals or
schematic entry tool XCircuit [21] has been suggested and this
chip startups, when IC software tooling is in question. Steps
practice remains. Schematic level simulation is performed by
of essence in that direction have been taken. To successfully
ngspice [22]. Even though we proposed to use python libraries
fabricate Raven [2], the authors used the efabless
for post-processing, in order to keep aligned with
platform [18], which represents a collection of free and open
collaborators leading this effort from project ASICone, within
source CAD tools. Another approach, ASICone, is presented
this paper Octave [23] is used for this purpose. The circuits
in [19] and demonstrated in [20]. ASICone is an experiment,
have been laid out using Magic [24]. Layout and schematic
with no commercial goals, devised with the purpose to prove
are kept consistent through LVS checks by netgen [25].
it is possible to build real silicon with open source tools only.
Finally, post-layout simulations are performed using ngspice
The main motivation for the work presented in this paper once again.
is to join the effort to first demonstrate real silicon examples
designed using only open source tools, and, then, to popularize
these tools, the technology and electronics in general, by using
this methodology to build world class, university level IC
courses that can fuel both research and chip startups in years
to come.
III. EXAMPLE DESIGNS
As the main focus in this work is taking a schematic
through the free and open-source toolchain all the way to
silicon-ready GDS files, we selected two circuit designs
already fabricated in silicon as examples: a low-dropout
voltage regulator (LDO) and a crystal oscillator driver. The
LDO design is presented as a novelty in [8], whereas the
crystal oscillator driver topology is common [9], thus it is far
simpler to implement. For the details on operation on either of
these, appropriate references should be consulted as principles
of electric circuit operation are beyond the scope of this paper.
For completeness, we present only high level block
schematics in Figs. 1 and 2, respectively.
The main results obtained through post-layout simulation
for each of the circuits are presented in section V.

Fig. 3. Analog IC design process/toolchain: a) general approach, and b)


tools applied in this work for each step given in a)

V. POST LAYOUT SIMULATION RESULTS


Detailed performance analysis for each of the chips is
beyond the scope of this paper. Our purpose here is to prove
that the analog IC design, from schematic all the way to
silicon – as shown in Fig. 3a – is feasible using the tools
presented in Section IV and depicted in Fig. 3b. In that
context we provide in this Section graphical representation of
Fig. 1. LDO block schematic [8]

Authorized licensed use limited to: UNIVERSITY OF WESTERN ONTARIO. Downloaded on December 19,2020 at 21:13:28 UTC from IEEE Xplore. Restrictions apply.
the most significant results achieved by our designs in Figs.
4 and 5. All figures are obtained through post-layout
simulation, i.e. after the circuits have been laid out and
parasitic extraction has been performed.
In Fig. 4 oscillator driver output is shown given the four
different crystal frequencies: 32 KHz in Fig. 4a, 100 KHz in
Fig. 4b, 1 MHz in Fig. 4c, and 25 MHz in Fig. 4d. The crystal
was modelled using the standard RLC approach [9], where
each of the passives is calculated based on the required
frequency to be simulated.

d)
Fig. 4. Oscillations at a) 30 kHz, b) 100 kHz and c) 1 MH and d) 25 MHz

In Figs. 5-8, the most interesting of the LDO characteris-


tics, obtained through post-layout simulation, are presented.
Output voltage is specified at 1.8 V, taking up that value once
the input DC reaches the same. Output remains 1.8, while the
input increases up to 5 V. In Fig. 6 the LDO output is shown
in red and it represents the response to the input sinusoidal
voltage of 2π MHz frequency and 100 mV amplitude.

a)

Fig. 5. LDO DC transfer characteristic.


b)

c) Fig. 6. LDO sinosoidal input (blue) and output (1.8 V) in time.

Authorized licensed use limited to: UNIVERSITY OF WESTERN ONTARIO. Downloaded on December 19,2020 at 21:13:28 UTC from IEEE Xplore. Restrictions apply.
Maximum output current is 50 mA and in Fig. 7 we show Oscillator driver IC is minute, just 12 µm × 15 µm in size
the LDO output voltage drop caused by such an output alone, but the padring adds significantly to the total area,
current pulse. Recovery time is around 1 µs. Finally, In Fig. making the whole circuit 0.2 mm2 in size.
8, LDO output voltage response to variable input voltage
levels is presented.

Fig. 10. Oscillator driver layout, including the padring

VII. CONCLUSION
Fig. 7. LDO output voltage response to an output current pulse We have shown the feasibility of analog IC design process
using only free and open source CAD tools. Given the known
inferiorities in features, especially in design automation, the
selected designs are simpler in the context that we do not
tackle RF frequencies, intensive currents or voltages, nor we
investigate unknown topologies. The next stage is to fabricate
these designs, bond, package and finally characterize them.
We are working on these steps in close collaboration with
industry partners.
ACKNOWLEDGMENT
The author expresses sincerest gratitude to Tim Edwards,
Edmund Humenberger, Niels Mosely and Elkim Roa for
support on both tools and technology while working on this
project. The author also acknowledges the great effort
students, Darko Derajic, Dejan Gutic, Vladimir Kuridza,
Marko Petkovic, Dmitar Plavsic, Nemanja Smitran and Vanja
Zeric have invested and thanks them greatly. Finally, let us all
Fig. 8. LDO output voltage response to variable input voltage levels think for a moment about thousands of people, engineers and
others, who have worked for millions of hours, for nothing but
VI. LAYOUT the satisfaction of creation and the thought that their work
In Figs. 9 and 10, both circuits layouts are shown, enables others to work further and see farther – let us think
respectively. LDO alone takes up an area of 0.12 mm2, while about them, and thank them all.
the whole IC, including the padring, fits in 0.29 mm2.
REFERENCES
[1] J. L. Hennessy, and David A. Patterson, Computer Architecture: A
Quantitative Approach, 6th Ed, Morgan Kauffman, 2019.
[2] T. Edwards, and M. Kassem, “The Raven Chip: First-time silicon
success with qflow and efabless”, Free Silicon Conference 2019, FSiC
2019, Paris, France, online resoruce, accessed on July 16th, 2020,
available at: https://wiki.f-si.org/index.php/FSiC2019
[3] A. Pajkanovic, “On the Application of Free CAD Software to
Electronics Circuit Curricula”, Proceedings of 3rd International
Conference on Electrical, Electronic and Computing Engineering,
IcETRAN 2016, Zlatibor, Serbia, June 13-16, 2016, pp. ELI1.3.1-4.
[4] A. Pajkanovic, and Z. Ivanovic, “A Report on Recent Development in
Application of Free CAD Software to IC Curricula”, Proceedings of 5th
International Conference on Electrical, Electronic, and Computing
Engineering, IcETRAN 2018, Palic, Serbia June 11-14, 2018, pp. 847-
851.
[5] Tony Chan Carusone, David Johns and Kenneth Martin, “Analog
Integrated Circuit Design” 2nd Ed. Wiley and Sons, 2012
[6] 0.18 um transistor model files, online, accessed on July 16th, 2020,
Fig. 9. LDO layout, including the padring available at: http://analogicdesign.com

Authorized licensed use limited to: UNIVERSITY OF WESTERN ONTARIO. Downloaded on December 19,2020 at 21:13:28 UTC from IEEE Xplore. Restrictions apply.
[7] Mosis, online, accessed on July 16th, 2020. [16] Z. Yuan, S. Fan, C. Yuan, and L. Geng, “A 100 MHz, 0.8-to-1.1 V, 170
[8] C. Chen, and C. Hung, “A Capacitor-Free CMOS Low-Dropout mA Digital LDO with 8-Cycles Mean Settling Time and 9-Bit
Voltage Regulator”, in Proc. of 2009 IEEE International Symposium Regulating Resolution in 180-nm CMOS”, IEEE Transactions on
on Circuits and Systems, Taipei, Taiwan, pp. 2525-2528. Circuits and Systems II: Express Briefs, Early Access, June 2020, doi:
10.1109/TCSII.2020.3001351
[9] SN74LVC1404 Circuit Datasheet, accessed on July 15th, 2020,
available at: https://www.ti.com/lit/ds/symlink/sn74lvc1404.pdf [17] C. Lee, H. Chen, C. Lu, B. Lee, H. Huang, H. Fu, and Y. Lin, “A High-
Precision Bandgap Reference With a V-Curve Correction Circuit”,
[10] Murmann, B., Nikaeen, P., Connelly, D. J., & Dutton, R. W. “Impact IEEE Access, Vol 8, April 2020, pp. 62632-62638, doi:
of Scaling on Analog Performance and Associated Modeling Needs” 10.1109/ACCESS.2020.2984800
IEEE Transactions on Electron Devices, Vol. 53, No. 9, pp. 2160–
2167. doi:10.1109/ted.2006.880372 [18] efabless company, online, accessed on July 17th, 2020, available at:
https://www.efabless.com/
[11] L. Barboni, “Evidence of Limitations of the Transconductance-to-
Drain-Current Method for Transistor Sizing in 28 nm UTBB FD-SOI [19] E. Humenberger, “ASICone. Goals, timeline, participants and tools”,
Transistors”, Journal of Low Power Electronics and Applications, Vol. Free Silicon Conference 2019, FSiC 2019, Paris, France, online
10, No. 2, pp. 1-8. doi: https://doi.org/10.3390/jlpea10020017 resoruce, accessed on July 17th, 2020, available at: https://wiki.f-
si.org/index.php/FSiC2019
[12] AMD Zen 2 microarchitecture, accessed on July 17th, 2020, available
at: https://www.amd.com/en/technologies/zen-core [20] L. E. R. Guerrero, “ASICone, from Verilog to GDSII with open source
tools”, ORConf 2019, Bordoux, France, online resource, acccessed on
[13] A. Caglar, and M. B. Yelten, “A 180-nm X-Band Cryogenic CMOS July 17th, 2020, available at: https://orconf.org
LNA”, IEEE Microwave and Wireless Components Letters, Vol. 30,
No. 4, April 2020, pp. 395-398, doi: 10.1109/LMWC.2020.2979341 [21] XCircuit, online, accessed on July 30th, 2020, available at:
http://opencircuitdesign.com/xcircuit/
[14] H. Choi, S. Choi, J. Lim, and C. Kim, “1-W, High-Gain, High-
Efficiency, and Compact Sub-GHz Linear Power Amplifier Employing [22] Ngspice, online, accessed on July 30th, 2020, available at:
a 1:1 Transformer Balun in 180-nm CMOS”, IEEE Microwave and http://ngspice.sourceforge.net/
Wireless Components Letters, Early Access, July 2020, doi: [23] Octave, online, accessed on July 30th, 2020, available at:
10.1109/LMWC.2020.3002234 https://octave.org/
[15] N. Idros, Z. A. A. Aziz, and J. Rajendran, “A 1.8 V 8-Bit Pipelined [24] Magic, online, accessed on July 30th, 2020, available at:
ADC With Integrated Folded Cascode Op-Amp in CMOS 180 nm”, http://opencircuitdesign.com/magic/
Proc. of 4th IEEE Electron Devices Technology & Manufacturing [25] netgen, online, accessed on July 30th, 2020, available at:
Conference (EDTM), April 2020, Penang, Malaysia, doi: http://opencircuitdesign.com/netgen/:
10.1109/EDTM47692.2020.9117901

Authorized licensed use limited to: UNIVERSITY OF WESTERN ONTARIO. Downloaded on December 19,2020 at 21:13:28 UTC from IEEE Xplore. Restrictions apply.

You might also like