원시데이터 수집 시스템
선정목록으로

BAG2-assisted analog layout synthesis for TSMC 65 nm and GPDK 45 nm

관련 모빌리티 소재 · (2) 샤무드(인공피혁)

기본 정보

저자
  1. Matthew Bio — Josef Ressel Centre for System-on-Chip Design Automation, Carinthia Institute for Microelectronics, Carinthia University of Applied Sciences, Europastraße 4, 9500, Villach, Austria
  2. Wolfgang Scherr — Josef Ressel Centre for System-on-Chip Design Automation, Carinthia Institute for Microelectronics, Carinthia University of Applied Sciences, Europastraße 4, 9500, Villach, Austria
  3. Andrew Selasi Agbemenu — Department of Computer Engineering, Kwame Nkrumah University of Science and Technology, Kumasi, Ghana
  4. Santiago Martin Sondón — Josef Ressel Centre for System-on-Chip Design Automation, Carinthia Institute for Microelectronics, Carinthia University of Applied Sciences, Europastraße 4, 9500, Villach, Austria
  5. Vinayak Hande — Josef Ressel Centre for System-on-Chip Design Automation, Carinthia Institute for Microelectronics, Carinthia University of Applied Sciences, Europastraße 4, 9500, Villach, Austria
  6. Johannes Sturm — Department of Integrated Systems and Circuit Design, Carinthia University of Applied Sciences, Villach, Austria
DOI
10.1007/s00502-023-01203-8
저널
e+i Elektrotechnik und Informationstechnik
발행년도
2024
발행기관
Springer Science+Business Media
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
http://dx.doi.org/10.1007/s00502-023-01203-8
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W4391403323

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (2) 샤무드(인공피혁)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 샤무드(인공피혁)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Analog circuit design automation remains an intense area of attention and has seen both new and existing tools continuing to be developed and targeting different phases of the analog design flow to reduce development time and cost. One of the promising tools is the Berkeley Analog Generator (BAG2) framework which is an open-source analog layout generator for automating and verifying circuit layouts. It promises a process-independent flow and it encourages design reuse due to using parameterized generators which can be scaled as required. This reduces the layout development time compared to manual handmade layouts. This work describes the effort and results of evaluating the BAG2 framework for the TSMC 65 nm and Cadence GPDK 45 nm processes. A case study is made with a number of circuits to discuss the problems in setting up and using BAG2 for the above technologies as well as the limitations and solutions required to utilize the framework effectively.

본문 25,123자

본문 펼치기
Analog circuit design automation remains an intense area of attention and has seen both new and existing tools continuing to be developed and targeting different phases of the analog design flow to reduce development time and cost.One of the promising tools is the Berkeley Analog Generator (BAG2) framework which is an open-source analog layout generator for automating and verifying circuit layouts.It promises a process-independent flow and it encourages design reuse due to using parameterized generators which can be scaled as required.This reduces the layout development time compared to manual handmade layouts.This work describes the effort and results of evaluating the BAG2 framework for the TSMC 65 nm and Cadence GPDK 45 nm processes.A case study is made with a number of circuits to discuss the problems in setting up and using BAG2 for the above technologies as well as the limitations and solutions required to utilize the framework effectively. BAG2-unterstützte analoge Layout-Synthese für TSMC 65 nm und GPDK 45 nm Zusammenfassung Die Automatisierung des analogen Schaltungsdesigns ist und bleibt ein wichtiger Forschungsbereich.Es wurden sowohl neue als auch bestehende Tools weiterentwickelt, die auf verschiedene Phasen des Designablaufs abzielen, um Entwicklungszeit und -kosten zu reduzieren.Eines der vielversprechenden Tools ist das Berkeley Analog Generator (BAG2)-Framework, ein Open Source Analog Layout-Generator zur Automatisierung und Verifikation von Schaltungslayouts.Es verspricht einen prozessunabhängigen Ablauf und fördert die Wiederverwendung von Designs durch die Verwendung parametrisierter Generatoren, die je nach Bedarf skaliert werden können.Dies reduziert die Layout-Entwicklungszeit im Vergleich zu manuellen, handgefertigten Layouts.Diese Arbeit beschreibt die Anwendung und die Ergebnisse der Evaluierung des BAG2-Frameworks für die Prozesse TSMC 65 nm und Cadence GPDK 45 nm.Es wird eine Fallstudie mit einer Reihe von Schaltkreisen erstellt, um die Probleme bei der Einrichtung und Verwendung von BAG2 für die oben genannten Technologien sowie die Einschränkungen und Lösungen zu diskutieren, die für eine effektive Nutzung des Frameworks erforderlich sind. Introduction As the design of integrated circuits (ICs) increase in complexity and scope, the subject of design automation continues to be crucial in not only speeding up the development but also to optimize and verify the functionality of the designs to ensure they meet the required specifications.For the most part, digital circuit designs can be completely automated by describing the behaviour and constraints of the circuit in a highly abstracted hardware description language such as VHDL or System verilog.Analog and mixedsignal (AMS) circuit design automation in contrast still involves a lot of intermediate steps with manual inputs that are necessary to fully develop a complete and functionally verified circuit.This man-in-theloop approach to analog design is a well-known bottleneck and over the past years a lot of effort has been expended to reduce the level of hands-on by introducing automation concepts in different phases of the analog circuit development flow. Introduction The initial phase of analog circuit design focuses on concept development, where tools like System-C AMS and MATLAB can be used to model and explore the functional space of the circuit.What follows after that is the mapping of component models to specific architectures which are built from fundamental devices like transistors, resistors and capacitors.Instead of using abstract component models as a first step to verify the model, tools like the hardware description python library (HDL21) [1] present a hardware description language for designing custom digital circuits similar to the programmable approach of digital design.This allows models to encapsulate the constraints (electrical) of specific components based on the process technology required for the design.This also creates an alternative to the traditional GUI schematic approach that is currently standard in the industry with tools like Cadence Virtuoso. Introduction Several design exploration techniques can be used to select the architecture and define the specifications and constraints.In older long-channel process technologies, the square-law equation proves sufficient but is less accurate for short-channel devices and hence the gm/I D method is usually preferred.These techniques lend themselves well to automation as has been shown in [2]. Introduction The layout phase of analog design presents the biggest challenge in terms of automation and is usually left to experienced layouter engineers to implement manually.This has meant making last minute changes to the design is usually undesirable for timesensitive projects.Efforts in tool development to help mitigate this problem include generator-based [3][4][5] and template-based [6] approaches to name a few. Introduction In this paper, we investigate the claim of BAG2 being able to create process-independent analog layouts using parameterized generators, and consider the ef-fort as well as the problems in getting the tool working as required. Introduction The next section describes the details of the BAG2 framework and references some related works of analog circuits implemented with the framework.The benefits are discussed as well as the problems of the current implementation.Section III discusses the setup and configuration of BAG2 for planar process technologies, specifically TSMC 65 nm and GPDK 45 nm.Section IV provides the details of a case study of some analog circuit implementations in the above processes and the efforts as well as the challenges required to get the framework running.The final section discusses the findings from the case study and draws some conclusions on the BAG2 framework. The Berkeley analog generator (BAG2) framework The BAG2 framework presents a non-traditional approach to analog circuit layout development, in that, it captures the specifications of the circuit into a parameterized generator which can then be executed to automatically generate specific instances of analog circuit layouts.One of the main usefulness of BAG2 is in its process-agnostic approach which allows generators to be used across different process technologies with minimal effort.In this regard, BAG2 has been demonstrated in a lot of published works to show how designs can be ported to different process technologies.[3] shows a differential amplifier for 3 different technologies (GF 45 nm RF SOl, TSMC 28 nm and TSMC 16 nm) using the same generator.In [7], the authors show how circuit layout can be easily iterated depending on specification changes and floorplan constraints which allows for last minute design changes, which is not usually possible for manuallydrawn layouts without considerable effort and time. The Berkeley analog generator (BAG2) framework In [8], the performance of a BAG2-generated layout for a single-tail dynamic comparator is compared to a manually drawn layout and shows similar results which demonstrate the benefits of BAG.Finally in [9], the vanilla BAG2 framework is setup and evaluated to determine the effort required to get it running, for which this work is an extension.In spite of these benefits, there are still a number of notable limitations with the BAG2 generated circuit layout.Common layout optimization techniques used in analog circuits to reduce device-mismatches such as common-centroid or inter-digitized, as well as guard rings which are used to prevent latch-up currents require considerable effort to implement. BAG2 setup for planar technologies The promise of the BAG framework is that it enables circuit designers to develop parameterized generators that can be executed to generate layouts for different process technologies.In setting up BAG2 to work K BAG2-assisted analog layout synthesis for TSMC 65 nm and GPDK 45 nm 89 with a new process, two problems can be immediately identified.The first is the lack of detailed setup documentation and information channel which makes the setup considerably difficult.The second problem is the lack of sufficient documentation of the application programming interface (API) which is standard and crucial for any software framework.This in addition to the limited source code documentation unnecessarily increases debug time when working with BAG2 and developing generators. BAG2 setup for planar technologies The process-specific parameters are captured in a YAML configuration file.BAG2 comes with a template for planar, fin-FET and SOI processes but only the fin-FET template for the dummy Cadence CDS_FF_MPT 18 nm process is complete. BAG2 setup for planar technologies BAG2 introduces two layout engines that can be used when designing circuit generators.The default XBase layout engine provides some base classes which can be extended to implement the transistor structures for different process technologies.A sample of code structure is shown in Fig. 1.The MOSTechFinfetBase and MOSTechPlanarGeneric classes are extended to implement fin-FET and planar transistors respectively. BAG2 setup for planar technologies Given that TSMC 65 nm and GPDK 45 nm are planar processes, our initial setup extended the transistor base from the MOSTechPlanarGeneric class which provides already defined functions for drawing and routing transistors.Unfortunately, the MOSTechPlanarGeneric class appears incomplete and hence would not run.Upon debugging and trying to fix the code, other problems like missing functions and configurations parameters meant the generated layout had mismatches in device widths, via metal widths, and TAP spacing and hence did not pass DRCs.Fig. 2 shows the layout generated. BAG2 setup for planar technologies Since there was no readily available working planar MOS template released with BAG2, the other option was to adapt the available dummy Cadence 18 nm finFET CDS_FF_MPT process template for the planar technologies. BAG2 setup for planar technologies The other layout engine released for BAG2 is LAYGO [10] which offers a different approach to Case study To demonstrate the viability of BAG2 and evaluate its process-independent layout generation claims, two generators were developed and executed for two different process technologies being TSMC 65 nm and Cadence dummy GPDK 45 nm.The generators were also executed on the dummy Cadence fin-FET process (CDS_FF_MPT) for completeness. Differential amplifier Differential amplifiers are used extensively in analog and mixed-signal circuit designs.The specific architecture used is usually determined by the requirements and constraints of the design.For this demonstration, a minimal-effort architecture was chosen which is a differential input and output with NMOS input and tail transistors and PMOS active loads.The supply voltage is 1.2 V as required for the model of transistor used.The dimensioning of the circuit was achieved with the gm/Id methodology. Differential amplifier The specifications for the differential amplifier are summarized in the table below. Differential amplifier With the specifications defined, a schematic template was implemented with arbitrary device dimensions.The real values are passed from the layout generator using the layout-first approach of BAG2.The schematic for the differential amplifier as generated by BAG2 is shown in Fig. 3 below.The layout generator was designed with TSMC 65 nm as the reference process.This meant the routing grid was tailored to the minimum metal spacing and areas of this process.The tracks for routing the transistors were also based on this reference.Fig. 4 shows the generated layout for the TSMC 65 nm process. Differential amplifier In the case of GPDK 45 nm which is a smaller node, the same routing grid, the number of tracks as well as transistor dimensions were used to maintain consistency.In order to take advantage on the smaller process, the design will have to be resized and the generator updated to use a different routing grid and number of tracks.Fig. 5 shows the generated layout for the GPDK 45 nm process.The difference in width compared to the TSMC 65 nm process is due to the difference in technology configuration for both processes.Once again, by optimizing the configuration, Common-mode Feedback Circuit Schematic Fig. 7 Common-mode Feedback Circuit layout for TSMC 65 nm the GPDK 45nm should be able to achieve smaller width and hence area. Common-mode feedback circuit Another circuit which is used to stabilize the output common-mode voltage of amplifiers is the commonmode feedback circuit (CMFB).The common-mode Fig. 8 Common-mode Feedback Circuit layout for GPDK 45 nm voltage in this case is set to half the supply voltage which is 0.6 V Common-mode feedback circuit The schematic template for the CMFB circuit was first developed with arbitrary transistor dimensions and then the real dimensions were calculated from the generated layout.The schematic as generated by BAG2 is shown in Fig. 6 below. Common-mode feedback circuit The layout generator for the CMFB circuit was designed for the TSMC 65 nm process with the same routing grid as for the differential amplifier with a suitable floor-plan taking into account the number of devices in the circuit and their interconnections.Fig. 7 shows the generated layout. Common-mode feedback circuit The final step was to also run the generator on the GPDK 45 nm process with the same routing grid, number of routing tracks and the layout as generated is shown in Fig. 8 below. Generator design Traditionally, layout engineers entirely depend on a visual environment to develop analog circuit layouts.Tools like the Cadence Virtuoso Layout Editor or open-source alternatives like KLayout [12] and MAGICAL [11] allow designers to create and modify device instances to create a layout floor-plan that is consistent to their implementation requirements while being considerate of how the devices are routed by signal and power wires to minimise the impact of parasitic capacitance and device mis-matches. Generator design In the case of BAG2 which is entirely a code-based approach to layout development, designers don't have direct feedback path to visualising the final layout of the circuit but instead have to rely on an initial draft floor-plan that is implemented by either paper and pencil or some other digital drawing application.This drawback can be significant in the case of complex circuits where the parameters such as number and width of transistor fingers can dramatically change the re-sulting layout that is generated by the code.Also, the de-coupling of floor-plan draft makes it a bit more difficult for layouters without programming experience to run the generator without additional and sufficient documentation of the code. Generator design From the common-mode feedback circuit shown in Fig. 6, the parameters of the transistors used to achieve the required performance is shown in Table 2.The pair of values in the finger width and number of fingers columns are used to generate 2 different Stacking transistors M3, M4, M1, M2 and M5 into a single column and 5 rows with each transistor having 10 number of fingers and a corresponding finger width for the desired total width as specified in Table 2 results in a balanced layout as shown in Fig. 9. Generator design On the other hand, opting for more number of fingers, in this case 16 and a corresponding finger width produces a more wider layout that might be necessary if the physical chip structure requires this floor-plan. Generator design In either case, the number of dummy transistors that are used to separate the transistors as well as to pad the edges can also change how the final floor-plan of the layout turns out as shown in Fig. 10. Generator design A third option will be to either arrange the devices into a single row of PMOS transistors stacked on top of a row of NMOS transistors to get an extremely horizontal layout or stack each device on top of each other to get vertical layout but this is considered impractical and is therefore not implemented in this research.Given the massive design space that has to be explored to achieve the optimum layout, having to write a different generator for every instance of a particular layout floor-plan is not trivial and even though the code can be generalised to some extent to account for a set of layout types, the effort needed to do that might be too significant. Hierarchical circuits: differential amplifier with CMFB BAG2 generators can be instantiated in top-level generators to create a system hierarchy.The each submodule in a block can be connected to every other sub-module at the same level to achieve the integration that is typically done by hand except in this case the module are connected using code. Hierarchical circuits: differential amplifier with CMFB Using the 2 different CMFB layout floor-plans, the top-level differential amplifier with CMFB circuit are show in Figs.11 and 12 which are implemented using two different generators for the CMFB circuit. Hierarchical circuits: differential amplifier with CMFB It should be noted that the floorplan optimization is also applied to the differential amplifier as well but this has a less significant effect in this case since the CMFB circuit is much bigger and has more devices.For any generator circuit, all the inidividual blocks will have to be optimized to achieve the best top-level layout. K BAG2-assisted analog layout synthesis for TSMC 65 nm and GPDK 45 nm 95 Evaluation The verification of analog circuit layout requires the use of tools like Cadence Assura or Siemens Calibre to perform design-rule checks (DRC) and layout-vsschematic (LVS) to ensure the designs layout matches the schematic netlist as well as meets the requirements as specified in the process development kit (PDK) by the foundry.In addition, the performance of the layout can be evaluated by parasitic extraction (PEX) and compared with the schematic which serves as an ideal target.In this case, the DC and AC performance of the circuit was evaluated to ensure they met the specification for gain, output common-mode voltage and gain-bandwidth using both parametric simulation of the device over all corners for process-temperaturevoltage variation as well as Monte-Carlo. Hierarchical circuit floor-plan 1 (FP 1) As can be seen from the results of Monte-Carlo simulation in Figs. 13 and 14, the variation between the schematic and PEX layout using the floor-plan in Fig. 11 is minimal which is primarily a result of using less number of fingers and hence wider finger widths which makes it more tolerant to process variations.The same is true for the parametric simulation for the device corners over temperature which can be seen in Figs. 15 and 16.Here the temperature is swept between −30 • C and 80 • C. Hierarchical circuit floor-plan 2 (FP 2) When using more number of fingers and hence a thinner finger width as is the case for the floor-plan in Fig. 12, the variation in the Monte-Carlo simulation of the gain between the schematic (mean: 36.1045) and PEX layout (mean: 35.8463) is more pronounced which is primarily attributable to effects caused by process variations. Hierarchical circuit floor-plan 2 (FP 2) The parametric simulation once again shows a noticeable variation in the gain performance of the cir- The results of the parametric simulation for the device corners over temperature is shown in full in the appendix.For much more complex circuits with stringent performance requirements, this variation will be significant and will require more consideration when developing a generator to get the best outcome. Discussion The promise of BAG2 as a process-independent framework for automating analog layouts for the most part works as intended but with significant hurdles that have to be overcome to setup the framework for a new process technology.The most notable problem is the lack of appropriate documentation of the API and source code.This makes it close to impossible to determine and even utilize all the features of the framework.BAG2 releases with a number of tutorial generators and some basic work-flow with minimal documentation and this means generator development has to be tailored to these sample generators which increases the effort for writing more complex generators.Also the effort of debugging and tracing code execution paths is significant, especially when setting up BAG2 for a new process due to the lack of documentation.In this instance, it took about 3 months to fully adapt and setup BAG2 for the TSMC 65 nm process and another 2 weeks to get it to work for the GPDK 45 nm process.The generator code on the other hand took about a month to develop, with a few more days needed to iterate the layout floorplan. Discussion Once these hurdles are overcome though, generators largely works across multiple processes as shown in this case study. Discussion In order for BAG2 generators to take advantage of any specific process, the generator code requires modification due to differences in the routing grid and number of tracks as a result of different wire lengths/ spacing for each process.This inconvenience, though minor is necessary to prevent shorting wires in the circuit and generating DRC-clean layouts. Discussion Lastly, lack of important layout structures like device interleaving to reduce mismatch and guard rings prevents the generated layouts from being optimal. Conclusion and outlook In effect, this paper evaluates the use of BAG2 as a reliable tool for automating analog layouts for different processes namely the TSMC 65 nm and GPDK 45 nm and shows that it offers a lot of benefits.A case study of a number of analog circuits is used to evaluate the framework. Conclusion and outlook As noted, the lack of flexibility in using the BAG2 frameworks coupled with the strictly code-based development environment poses a significant hurdle that needs to be overcome by layout engineers to use the framework.The need to develop multiple generators for similar layouts is also inconvenient and increases the initial time and effort which has to be invested do produce a viable layout. Conclusion and outlook As a next step, the BAG2 generated layout could be compared to a hand-made layout and their performance examined to determine how much of an advantage or disadvantage each solution offers.A more objective analysis would require both the automatic and hand-made layouts implemented on a physical chip which will provide a much more useful insight and would capture the real effect of the process variations and its impact the chip.sity of Applied Sciences (CUAS). Conclusion and outlook Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material.If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. Parametric corners Nominal PMOS -Nominal NMOS (TT) Fast PMOS -Fast NMOS (FF) Fig. 1 BAG2 Fig. 1 BAG2 Code dependency structure Fig. 2 Fig. 2 BAG2 Planar MOS layout for TSMC 65 nm Fig. 4 Fig. 3 Fig. 4 Differential Amplifier layout for TSMC 65 nm Fig. 5 Fig. 5 Differential Amplifier layout for GPDK 45 nm Fig. 9 10 Fig. 10 Fig. 12 Fig. 9 CMFB Layout with number of fingers = 10 Fig. 13 1 Fig. 14 Fig. 13 Monte-Carlo Gain using Schematic of Floorplan 1 Fig. 15 Fig. 15 Parametric Simulation of Gain (dB) for Floor-plan 1 Schematic.Legend: red FF Corner, cyan FS Corner, violet SF Corner, yellow SS Corner, green TT Fig. 17 2 Fig. 16 Fig. 17 Monte-Carlo Gain using Schematic of Floorplan 2 Fig. 18 Fig. 18 Monte-Carlo Gain using PEX of Floor-plan 2 Fig. 19 Fig. 19 Parametric Simulation of Gain (dB) for Floor-plan 2 Schematic.Legend: red FF Corner, green FS Corner, blue SF Corner, yellow SS Corner, violet TT Fig. 20 Fig. 20 Parametric Simulation of Gain (dB) for Floor-plan 2 PEX Layout.Legend: red FF Corner, green FS Corner, blue SF Corner, yellow SS Corner, violet TT Table 1 Differential amplifier specs Table 2 CMFB circuit transistor parameters Transistor Finger Width (µm) Number of fingers Total Width (µm) M 1 , M 6 , [5.84, 3.65] [10, 16] 58.4 M 2 , M 7 [5.84,3.65] [10, 16] 58.4 M 3 , M 8 [11.68, 7.3] [10, 16] 116.8 M 4 , M 9 [11.68,7.3] [10, 16] 116.8 M 5 , M 10 [11.68, 7.3] [10, 16] 116.8 Table 3 Gain Corner Simulation Results Table 3 98 BAG2-assisted analog layout synthesis for TSMC 65 nm and GPDK 45 nm K

섹션 본문 63문단 · 23,655자

(제목 없음)

1Analog circuit design automation remains an intense area of attention and has seen both new and existing tools continuing to be developed and targeting different phases of the analog design flow to reduce development time and cost.One of the promising tools is the Berkeley Analog Generator (BAG2) framework which is an open-source analog layout generator for automating and verifying circuit layouts.It promises a process-independent flow and it encourages design reuse due to using parameterized generators which can be scaled as required.This reduces the layout development time compared to manual handmade layouts.This work describes the effort and results of evaluating the BAG2 framework for the TSMC 65 nm and Cadence GPDK 45 nm processes.A case study is made with a number of circuits to discuss the problems in setting up and using BAG2 for the above technologies as well as the limitations and solutions required to utilize the framework effectively.

BAG2-unterstützte analoge Layout-Synthese für TSMC 65 nm und GPDK 45 nm

2Zusammenfassung Die Automatisierung des analogen Schaltungsdesigns ist und bleibt ein wichtiger Forschungsbereich.Es wurden sowohl neue als auch bestehende Tools weiterentwickelt, die auf verschiedene Phasen des Designablaufs abzielen, um Entwicklungszeit und -kosten zu reduzieren.Eines der vielversprechenden Tools ist das Berkeley Analog Generator (BAG2)-Framework, ein Open Source Analog Layout-Generator zur Automatisierung und Verifikation von Schaltungslayouts.Es verspricht einen prozessunabhängigen Ablauf und fördert die Wiederverwendung von Designs durch die Verwendung parametrisierter Generatoren, die je nach Bedarf skaliert werden können.Dies reduziert die Layout-Entwicklungszeit im Vergleich zu manuellen, handgefertigten Layouts.Diese Arbeit beschreibt die Anwendung und die Ergebnisse der Evaluierung des BAG2-Frameworks für die Prozesse TSMC 65 nm und Cadence GPDK 45 nm.Es wird eine Fallstudie mit einer Reihe von Schaltkreisen erstellt, um die Probleme bei der Einrichtung und Verwendung von BAG2 für die oben genannten Technologien sowie die Einschränkungen und Lösungen zu diskutieren, die für eine effektive Nutzung des Frameworks erforderlich sind.

Introduction

3As the design of integrated circuits (ICs) increase in complexity and scope, the subject of design automation continues to be crucial in not only speeding up the development but also to optimize and verify the functionality of the designs to ensure they meet the required specifications.For the most part, digital circuit designs can be completely automated by describing the behaviour and constraints of the circuit in a highly abstracted hardware description language such as VHDL or System verilog.Analog and mixedsignal (AMS) circuit design automation in contrast still involves a lot of intermediate steps with manual inputs that are necessary to fully develop a complete and functionally verified circuit.This man-in-theloop approach to analog design is a well-known bottleneck and over the past years a lot of effort has been expended to reduce the level of hands-on by introducing automation concepts in different phases of the analog circuit development flow.

4The initial phase of analog circuit design focuses on concept development, where tools like System-C AMS and MATLAB can be used to model and explore the functional space of the circuit.What follows after that is the mapping of component models to specific architectures which are built from fundamental devices like transistors, resistors and capacitors.Instead of using abstract component models as a first step to verify the model, tools like the hardware description python library (HDL21) [1] present a hardware description language for designing custom digital circuits similar to the programmable approach of digital design.This allows models to encapsulate the constraints (electrical) of specific components based on the process technology required for the design.This also creates an alternative to the traditional GUI schematic approach that is currently standard in the industry with tools like Cadence Virtuoso.

5Several design exploration techniques can be used to select the architecture and define the specifications and constraints.In older long-channel process technologies, the square-law equation proves sufficient but is less accurate for short-channel devices and hence the gm/I D method is usually preferred.These techniques lend themselves well to automation as has been shown in [2].

6The layout phase of analog design presents the biggest challenge in terms of automation and is usually left to experienced layouter engineers to implement manually.This has meant making last minute changes to the design is usually undesirable for timesensitive projects.Efforts in tool development to help mitigate this problem include generator-based [3][4][5] and template-based [6] approaches to name a few.

7In this paper, we investigate the claim of BAG2 being able to create process-independent analog layouts using parameterized generators, and consider the ef-fort as well as the problems in getting the tool working as required.

8The next section describes the details of the BAG2 framework and references some related works of analog circuits implemented with the framework.The benefits are discussed as well as the problems of the current implementation.Section III discusses the setup and configuration of BAG2 for planar process technologies, specifically TSMC 65 nm and GPDK 45 nm.Section IV provides the details of a case study of some analog circuit implementations in the above processes and the efforts as well as the challenges required to get the framework running.The final section discusses the findings from the case study and draws some conclusions on the BAG2 framework.

The Berkeley analog generator (BAG2) framework

9The BAG2 framework presents a non-traditional approach to analog circuit layout development, in that, it captures the specifications of the circuit into a parameterized generator which can then be executed to automatically generate specific instances of analog circuit layouts.One of the main usefulness of BAG2 is in its process-agnostic approach which allows generators to be used across different process technologies with minimal effort.In this regard, BAG2 has been demonstrated in a lot of published works to show how designs can be ported to different process technologies.[3] shows a differential amplifier for 3 different technologies (GF 45 nm RF SOl, TSMC 28 nm and TSMC 16 nm) using the same generator.In [7], the authors show how circuit layout can be easily iterated depending on specification changes and floorplan constraints which allows for last minute design changes, which is not usually possible for manuallydrawn layouts without considerable effort and time.

10In [8], the performance of a BAG2-generated layout for a single-tail dynamic comparator is compared to a manually drawn layout and shows similar results which demonstrate the benefits of BAG.Finally in [9], the vanilla BAG2 framework is setup and evaluated to determine the effort required to get it running, for which this work is an extension.In spite of these benefits, there are still a number of notable limitations with the BAG2 generated circuit layout.Common layout optimization techniques used in analog circuits to reduce device-mismatches such as common-centroid or inter-digitized, as well as guard rings which are used to prevent latch-up currents require considerable effort to implement.

BAG2 setup for planar technologies

11The promise of the BAG framework is that it enables circuit designers to develop parameterized generators that can be executed to generate layouts for different process technologies.In setting up BAG2 to work K BAG2-assisted analog layout synthesis for TSMC 65 nm and GPDK 45 nm 89 with a new process, two problems can be immediately identified.The first is the lack of detailed setup documentation and information channel which makes the setup considerably difficult.The second problem is the lack of sufficient documentation of the application programming interface (API) which is standard and crucial for any software framework.This in addition to the limited source code documentation unnecessarily increases debug time when working with BAG2 and developing generators.

12The process-specific parameters are captured in a YAML configuration file.BAG2 comes with a template for planar, fin-FET and SOI processes but only the fin-FET template for the dummy Cadence CDS_FF_MPT 18 nm process is complete.

13BAG2 introduces two layout engines that can be used when designing circuit generators.The default XBase layout engine provides some base classes which can be extended to implement the transistor structures for different process technologies.A sample of code structure is shown in Fig. 1.The MOSTechFinfetBase and MOSTechPlanarGeneric classes are extended to implement fin-FET and planar transistors respectively.

14Given that TSMC 65 nm and GPDK 45 nm are planar processes, our initial setup extended the transistor base from the MOSTechPlanarGeneric class which provides already defined functions for drawing and routing transistors.Unfortunately, the MOSTechPlanarGeneric class appears incomplete and hence would not run.Upon debugging and trying to fix the code, other problems like missing functions and configurations parameters meant the generated layout had mismatches in device widths, via metal widths, and TAP spacing and hence did not pass DRCs.Fig. 2 shows the layout generated.

15Since there was no readily available working planar MOS template released with BAG2, the other option was to adapt the available dummy Cadence 18 nm finFET CDS_FF_MPT process template for the planar technologies.

16The other layout engine released for BAG2 is LAYGO [10] which offers a different approach to

Case study

17To demonstrate the viability of BAG2 and evaluate its process-independent layout generation claims, two generators were developed and executed for two different process technologies being TSMC 65 nm and Cadence dummy GPDK 45 nm.The generators were also executed on the dummy Cadence fin-FET process (CDS_FF_MPT) for completeness.

Differential amplifier

18Differential amplifiers are used extensively in analog and mixed-signal circuit designs.The specific architecture used is usually determined by the requirements and constraints of the design.For this demonstration, a minimal-effort architecture was chosen which is a differential input and output with NMOS input and tail transistors and PMOS active loads.The supply voltage is 1.2 V as required for the model of transistor used.The dimensioning of the circuit was achieved with the gm/Id methodology.

19The specifications for the differential amplifier are summarized in the table below.

20With the specifications defined, a schematic template was implemented with arbitrary device dimensions.The real values are passed from the layout generator using the layout-first approach of BAG2.The schematic for the differential amplifier as generated by BAG2 is shown in Fig. 3 below.The layout generator was designed with TSMC 65 nm as the reference process.This meant the routing grid was tailored to the minimum metal spacing and areas of this process.The tracks for routing the transistors were also based on this reference.Fig. 4 shows the generated layout for the TSMC 65 nm process.

21In the case of GPDK 45 nm which is a smaller node, the same routing grid, the number of tracks as well as transistor dimensions were used to maintain consistency.In order to take advantage on the smaller process, the design will have to be resized and the generator updated to use a different routing grid and number of tracks.Fig. 5 shows the generated layout for the GPDK 45 nm process.The difference in width compared to the TSMC 65 nm process is due to the difference in technology configuration for both processes.Once again, by optimizing the configuration, Common-mode Feedback Circuit Schematic Fig. 7 Common-mode Feedback Circuit layout for TSMC 65 nm the GPDK 45nm should be able to achieve smaller width and hence area.

Common-mode feedback circuit

22Another circuit which is used to stabilize the output common-mode voltage of amplifiers is the commonmode feedback circuit (CMFB).The common-mode Fig. 8 Common-mode Feedback Circuit layout for GPDK 45 nm voltage in this case is set to half the supply voltage which is 0.6 V

23The schematic template for the CMFB circuit was first developed with arbitrary transistor dimensions and then the real dimensions were calculated from the generated layout.The schematic as generated by BAG2 is shown in Fig. 6 below.

24The layout generator for the CMFB circuit was designed for the TSMC 65 nm process with the same routing grid as for the differential amplifier with a suitable floor-plan taking into account the number of devices in the circuit and their interconnections.Fig. 7 shows the generated layout.

25The final step was to also run the generator on the GPDK 45 nm process with the same routing grid, number of routing tracks and the layout as generated is shown in Fig. 8 below.

Generator design

26Traditionally, layout engineers entirely depend on a visual environment to develop analog circuit layouts.Tools like the Cadence Virtuoso Layout Editor or open-source alternatives like KLayout [12] and MAGICAL [11] allow designers to create and modify device instances to create a layout floor-plan that is consistent to their implementation requirements while being considerate of how the devices are routed by signal and power wires to minimise the impact of parasitic capacitance and device mis-matches.

27In the case of BAG2 which is entirely a code-based approach to layout development, designers don't have direct feedback path to visualising the final layout of the circuit but instead have to rely on an initial draft floor-plan that is implemented by either paper and pencil or some other digital drawing application.This drawback can be significant in the case of complex circuits where the parameters such as number and width of transistor fingers can dramatically change the re-sulting layout that is generated by the code.Also, the de-coupling of floor-plan draft makes it a bit more difficult for layouters without programming experience to run the generator without additional and sufficient documentation of the code.

28From the common-mode feedback circuit shown in Fig. 6, the parameters of the transistors used to achieve the required performance is shown in Table 2.The pair of values in the finger width and number of fingers columns are used to generate 2 different Stacking transistors M3, M4, M1, M2 and M5 into a single column and 5 rows with each transistor having 10 number of fingers and a corresponding finger width for the desired total width as specified in Table 2 results in a balanced layout as shown in Fig. 9.

29On the other hand, opting for more number of fingers, in this case 16 and a corresponding finger width produces a more wider layout that might be necessary if the physical chip structure requires this floor-plan.

30In either case, the number of dummy transistors that are used to separate the transistors as well as to pad the edges can also change how the final floor-plan of the layout turns out as shown in Fig. 10.

31A third option will be to either arrange the devices into a single row of PMOS transistors stacked on top of a row of NMOS transistors to get an extremely horizontal layout or stack each device on top of each other to get vertical layout but this is considered impractical and is therefore not implemented in this research.Given the massive design space that has to be explored to achieve the optimum layout, having to write a different generator for every instance of a particular layout floor-plan is not trivial and even though the code can be generalised to some extent to account for a set of layout types, the effort needed to do that might be too significant.

Hierarchical circuits: differential amplifier with CMFB

32BAG2 generators can be instantiated in top-level generators to create a system hierarchy.The each submodule in a block can be connected to every other sub-module at the same level to achieve the integration that is typically done by hand except in this case the module are connected using code.

33Using the 2 different CMFB layout floor-plans, the top-level differential amplifier with CMFB circuit are show in Figs.11 and 12 which are implemented using two different generators for the CMFB circuit.

34It should be noted that the floorplan optimization is also applied to the differential amplifier as well but this has a less significant effect in this case since the CMFB circuit is much bigger and has more devices.For any generator circuit, all the inidividual blocks will have to be optimized to achieve the best top-level layout.

K

35BAG2-assisted analog layout synthesis for TSMC 65 nm and GPDK 45 nm 95

Evaluation

36The verification of analog circuit layout requires the use of tools like Cadence Assura or Siemens Calibre to perform design-rule checks (DRC) and layout-vsschematic (LVS) to ensure the designs layout matches the schematic netlist as well as meets the requirements as specified in the process development kit (PDK) by the foundry.In addition, the performance of the layout can be evaluated by parasitic extraction (PEX) and compared with the schematic which serves as an ideal target.In this case, the DC and AC performance of the circuit was evaluated to ensure they met the specification for gain, output common-mode voltage and gain-bandwidth using both parametric simulation of the device over all corners for process-temperaturevoltage variation as well as Monte-Carlo.

Hierarchical circuit floor-plan 1 (FP 1)

37As can be seen from the results of Monte-Carlo simulation in Figs. 13 and 14, the variation between the schematic and PEX layout using the floor-plan in Fig. 11 is minimal which is primarily a result of using less number of fingers and hence wider finger widths which makes it more tolerant to process variations.The same is true for the parametric simulation for the device corners over temperature which can be seen in Figs. 15 and 16.Here the temperature is swept between −30 • C and 80 • C.

Hierarchical circuit floor-plan 2 (FP 2)

38When using more number of fingers and hence a thinner finger width as is the case for the floor-plan in Fig. 12, the variation in the Monte-Carlo simulation of the gain between the schematic (mean: 36.1045) and PEX layout (mean: 35.8463) is more pronounced which is primarily attributable to effects caused by process variations.

39The parametric simulation once again shows a noticeable variation in the gain performance of the cir- The results of the parametric simulation for the device corners over temperature is shown in full in the appendix.For much more complex circuits with stringent performance requirements, this variation will be significant and will require more consideration when developing a generator to get the best outcome.

Discussion

40The promise of BAG2 as a process-independent framework for automating analog layouts for the most part works as intended but with significant hurdles that have to be overcome to setup the framework for a new process technology.The most notable problem is the lack of appropriate documentation of the API and source code.This makes it close to impossible to determine and even utilize all the features of the framework.BAG2 releases with a number of tutorial generators and some basic work-flow with minimal documentation and this means generator development has to be tailored to these sample generators which increases the effort for writing more complex generators.Also the effort of debugging and tracing code execution paths is significant, especially when setting up BAG2 for a new process due to the lack of documentation.In this instance, it took about 3 months to fully adapt and setup BAG2 for the TSMC 65 nm process and another 2 weeks to get it to work for the GPDK 45 nm process.The generator code on the other hand took about a month to develop, with a few more days needed to iterate the layout floorplan.

41Once these hurdles are overcome though, generators largely works across multiple processes as shown in this case study.

42In order for BAG2 generators to take advantage of any specific process, the generator code requires modification due to differences in the routing grid and number of tracks as a result of different wire lengths/ spacing for each process.This inconvenience, though minor is necessary to prevent shorting wires in the circuit and generating DRC-clean layouts.

43Lastly, lack of important layout structures like device interleaving to reduce mismatch and guard rings prevents the generated layouts from being optimal.

Conclusion and outlook

44In effect, this paper evaluates the use of BAG2 as a reliable tool for automating analog layouts for different processes namely the TSMC 65 nm and GPDK 45 nm and shows that it offers a lot of benefits.A case study of a number of analog circuits is used to evaluate the framework.

45As noted, the lack of flexibility in using the BAG2 frameworks coupled with the strictly code-based development environment poses a significant hurdle that needs to be overcome by layout engineers to use the framework.The need to develop multiple generators for similar layouts is also inconvenient and increases the initial time and effort which has to be invested do produce a viable layout.

46As a next step, the BAG2 generated layout could be compared to a hand-made layout and their performance examined to determine how much of an advantage or disadvantage each solution offers.A more objective analysis would require both the automatic and hand-made layouts implemented on a physical chip which will provide a much more useful insight and would capture the real effect of the process variations and its impact the chip.sity of Applied Sciences (CUAS).

47Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material.If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Parametric corners

48Nominal PMOS -Nominal NMOS (TT) Fast PMOS -Fast NMOS (FF)

Fig. 1 BAG2

49Fig. 1 BAG2 Code dependency structure

Fig. 2

50Fig. 2 BAG2 Planar MOS layout for TSMC 65 nm

Fig. 4 Fig. 3

51Fig. 4 Differential Amplifier layout for TSMC 65 nm

Fig. 5

52Fig. 5 Differential Amplifier layout for GPDK 45 nm

Fig. 9 10 Fig. 10 Fig. 12

53Fig. 9 CMFB Layout with number of fingers = 10

Fig. 13 1 Fig. 14

54Fig. 13 Monte-Carlo Gain using Schematic of Floorplan 1

Fig. 15

55Fig. 15 Parametric Simulation of Gain (dB) for Floor-plan 1 Schematic.Legend: red FF Corner, cyan FS Corner, violet SF Corner, yellow SS Corner, green TT

Fig. 17 2 Fig. 16

56Fig. 17 Monte-Carlo Gain using Schematic of Floorplan 2

Fig. 18

57Fig. 18 Monte-Carlo Gain using PEX of Floor-plan 2

Fig. 19

58Fig. 19 Parametric Simulation of Gain (dB) for Floor-plan 2 Schematic.Legend: red FF Corner, green FS Corner, blue SF Corner, yellow SS Corner, violet TT

Fig. 20

59Fig. 20 Parametric Simulation of Gain (dB) for Floor-plan 2 PEX Layout.Legend: red FF Corner, green FS Corner, blue SF Corner, yellow SS Corner, violet TT

Table 1

60Differential amplifier specs

Table 2 CMFB

61circuit transistor parameters Transistor Finger Width (µm) Number of fingers Total Width (µm) M 1 , M 6 , [5.84, 3.65] [10, 16] 58.4 M 2 , M 7 [5.84,3.65] [10, 16] 58.4 M 3 , M 8 [11.68, 7.3] [10, 16] 116.8 M 4 , M 9 [11.68,7.3] [10, 16] 116.8 M 5 , M 10 [11.68, 7.3] [10, 16] 116.8

Table 3

62Gain Corner Simulation Results

6398 BAG2-assisted analog layout synthesis for TSMC 65 nm and GPDK 45 nm K

참고문헌 5건

  1. An Integrated Layout-Synthesis Approach for Analog ICs IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2008 10.1109/tcad.2008.923417
  2. Performance Comparison of BAG and Custom Generated Analog Layout for Single-Tail Dynamic Comparator 2020 10.1109/austrochip51129.2020.9232979
  3. The ALIGN open-source analog layout generator 2020 10.1145/3400302.3415784
  4. 2018 2nd International Conference on Micro-Electronics and Telecommunication Engineering (ICMETE) 2018 10.1109/icmete43082.2018
  5. BAG2 Assisted Hierarchical Analog Layout Synthesis for Planar Technologies 2023 10.1109/austrochip61217.2023.10285163