EE 584 INTRODUCTION TO VLSI DESIGN AND TESTING INVERTER FANOUT 3 RINGOSCILLATOR Group 11 members 1. CAVATURU 2. GUDURU 3. MADDURI 4. VANKADARA 1 Table of contents 1. 2. 3. 4. 5. 6. 7. Goal of the project……………………………………………………………….3 Introduction………………………………………………………………………3 Input buffer………………………………………………………………………4 Ring oscillator……………………………………………………………………9 output buffer…………………………………………………………………….15 divide by 4 circuit……………………………………………………………….19 corner process…………………………………………………………………...23 2 Goal of the project The aim of the project is to design a ring oscillator which consists of inverters having fanout3. The number of the stages in a ring oscillator is chosen such that the ring oscillator drives a load of 10pf (input capacitance of a typical oscilloscope) . The output frequency of the ring oscillator should be measurable on an oscilloscope, so the output frequency of the ring oscillator on driving a load of 10pF(i.e, oscilloscope) should be less than 100Mhz (The typical maximum measurable frequency on an oscilloscope). The delay of each stage of a ring oscillator is calculated and simulations are carried out by using corner process methodology. Introduction Ring oscillators are used as e-test structures on wafers. Ring oscillator provides an accurate way of measuring the temperature, due to the dependency of its frequency on the temperature. The Ring oscillator is fabricated on the chip during its fabrication. The Ring oscillator provides information of the process used in the fabrication because delay per stage of the Ring oscillator is process dependent. The ring oscillator provides an accurate way of measuring the temperature because it is fabricated along with the chip. The project INVERTER FANOUT 3 RING OSCILLATOR, consists of a fan out 3 ring oscillator, tristate input buffer, output buffer, divider circuit and the load of the ring oscillator is an oscilloscope whose input capacitance is 10pF and the maximum measurable frequency on the oscilloscope is 100 MHz. The Block Diagram of the project is given below. Figure 1 Block Diagram of the Project. 3 Input buffer Purpose of the input buffer: Ring Oscillator is a self starting device, the ouput of the last stage is fed back to the input of the first stage. This operation of the ring oscillator can be controlled using a Tri state input buffer. The output of the last stage is given as an input to the Tri-state input buffer instead of the first stage of the ring oscillator and the output of the Tri-state input buffer is given to the first stage of the ring oscillator . The Tri-state input buffer gives an output (which is same as its input) only when the input to the enable pin is high otherwise the output of the buffer goes into high impedance state . So the feed back in the Ring Oscillator is complete only when the input to enable pin of the input buffer is high, thus we can control the operation of the ring oscillator using an tri-state input buffer. Block diagram of the Tri –state input buffer: The block diagram of the Tri-state input buffer is shown below Figure 2 A typical Tri State Input Buffer Ref: cmos circuit design , layout and simulation ,Jacob Baker 4 Schematic of the input buffer: The schematic of the input buffer is shown in the figure. The W/L ratios of nand and nor are chosen such that both will have equal rise time and fall time. Figure 3 Input Buffer Schematic. 5 Input buffer simulations: The input buffer simulations are carried out by using spectre tools The input conditions that are considered when performing input buffer simulations are given as follows Vdd Gnd Rise time Fall time Pulse width Period 1.8v 0v 1n 1n 100n 200n The simulations obtained are as shown below Figure 4 Input Buffer Simulation. 6 Input buffer layout: The input buffer layout is drawn out using virtuoso layout editor. The layout of the input buffer is as shown below. Figure 5 Input Buffer Layout 7 Input buffer symbol: The input buffer circuit symbol used in the project is shown below. Figure 6 Input buffer symbol. 8 RING OSCILLATOR Description: A ring oscillator consists of odd number of inverters in which the output of the last inverter is fed to the input of the first inverter. The frequency of the ring oscillator is calculated by the formula F = 1/N (Tphl+Tplh) Where N: odd number of the stages in the ring oscillator Tphl: Time taken for low to high transition Tplh: Time taken for high to low transition F: Frequency of the ring oscillator Ref: CMOS circuit design and layout 2nd edition, Baker Thus, ring oscillator frequency depends upon the number of stages. 9 Schematic of single stage in a inverter fan out 3 Ring Oscillator: The schematic of a single stage inverter fanout3 ring oscillator is obtained by using composerschematic tool where m factor is taken 2 such that two inverters will be in parallel and a third inverter is connected parallel to the two inverters such that a single stage three parallel inverters are obtained and the output is taken from a single inverter as shown below. Figure 7 schematic of single stage of an inverter fanout3 ring oscillator . 10 Symbol of single stage of an inverter fan out 3 Ring Oscillator: g Figure 8 The symbol of a single stage of an inverter fanout3 ring oscillator. Schematic of inverter fo3 ring oscillator: The schematic of the inverter fo3 ring oscillator is carried out using composer-schematic tools. The pfet transistor w/l is taken as 2.1 and nfet transistor w/l ratio is taken as 1.05. The purpose of the pfet transistor w/l ratio double that of w/l ratio of nfet transistor is to make the switching point close to Vdd/2. Inverter FO3 means that each stage of the ring oscillator 11 inverters is able to drive three other inverters. Frequency of 25.17 MHz is obtained by connecting 41 stages in series. A 10pf capacitor is loaded at the output assuming that an oscilloscope will have a load of 10pf. The schematic capture of 41 stage inverter fo3 ring oscillator is shown below. Figure 9 Schematic of 41 stage inverter fan out 3 Ring Oscillator with input buffer, output buffer,10pF load and divide by four circuit. Simulation: Frequency of 25.17 Mhz is obtained by using 41 stages of the ring oscillator. Corner process simulation methodology is performed where by varying Vdd and temperature the propagation delay of the ring oscillator is calculated for typical, fast, slow, slow-fast and fast-slow processes. The simulation of 41 stage inverter fan out 3 Ring Oscillator is shown below. 12 The first waveform is the output of the Ring Oscillator . The second waveform is the output taken after the capacitor load of 10 pF. Figure 10 Simulation of 41 stage inverter fan out 3 Ring Oscillator with a load of 10 pF. Layout of the 41 stage inverter fan out 3 Ring Oscillator: The layout of 41 stage inverter fan out 3 Ring Oscillator is shown below, where an M-factor of 3 is used to draw a single stage, so that area is minimized. 13 Figure 11 Layout of 41 stage inverter fan out 3 Ring Oscillator. 14 Output buffer Purpose of the output buffer: The frequency of the Ring Oscillator is calculated using an oscilloscope. The oscilloscope capacitance is estimated as 10Pf. So in order to drive such a heavy load of 10pF output buffer is needed. Schematic of the output buffer: The schematic of the output buffer is as shown below. The multiplication factor (A) is taken as 3 so that a minimum delay is obtained. The number of stages of an output buffer is taken as 6 which is capable of driving a capacitor load of 10pf that is the output obtained from the capacitor has a voltage swing of 0 to Vdd (1.8V) Figure 12 output buffer schematic Simulation of the output buffer: The simulation of the output buffer is shown below. 15 Figure 13 output buffer simulation 16 Layout of the output buffer: The layout of the output buffer is carried out using virtuoso tool and each stage is instantiated with an m-factor 3 such that minimum delay is obtained. Figure 14 output buffer layout 17 Symbol of the output buffer: The symbol of the output buffer is shown below. Figure 15 output buffer symbol 18 Divide by four circuit Divide by four circuit consists of two stages of an edge triggered D Flip-Flop.This circuit divides the frequency of the output of load by a factor of 4. Schematic of Divide by 4 circuit: The circuit consists of two edge triggered D Flip-Flops connected in series as shown below. Figure 16 Schematic of divide by 4 circuit. 19 Simulation of Divide by 4 circuit: Simulation of Divide by 4 circuit is shown below. The first waveform is the output of the divide by 4 circuit. The second waveform is the output of the first edge triggered D Flip-Flop . The last waveform is the input to the Divide by 4 Circuit. Figure 17:Simulation of Divide by 4 circuit. 20 Layout of the Divide by 4 circuit: Figure 18 Layout of the Divide by 4 circuit. 21 Divide by 4 circuit symbol: Figure 19 Symbol of Divide by 4 circuit. 22 Corner process -40 0 27 70 150 1.62 187.546 112.247 86.789 63.2988 42.0275 1.8 58.9029 45.4726 39.7151 33.4054 26.3412 1.9 38.4451 32.1006 29.1098 25.6395 21.4459 1.98 29.3098 25.5492 23.7161 21.4962 18.6198 Table1: typi_typi typi_typi 200 180 180-200 160 140 160-180 140-160 120 time period 100 80 60 40 20 0 120-140 100-120 80-100 60-80 40-60 1.9 -40 0 voltage 27 70 1.62 20-40 0-20 150 temperature(celsius) Figure 20 typi_typi 23 -40 0 27 70 150 1.62 55.8105 40.8973 34.8257 28.4418 21.5927 1.8 24.8331 21.4357 19.7468 17.6937 15.0609 1.9 18.4274 16.6262 15.6789 14.4705 12.8393 1.98 15.1488 14.075 13.455 12.6412 11.4957 Table2: fast_fast fast_fast 60 50 40 50-60 40-50 time period(ns) 30 30-40 20 20-30 10-20 10 0-10 1.9 0 -40 0 voltage 27 70 1.62 150 temperature(celsius) Figure 21 fast_fast 24 -40 0 27 70 150 1.62 625.942 286.884 192.968 119.85 64.926 Table 3: fast_slow 1.8 110.427 74.34 61.0054 47.6832 34.412 1.9 54.227 43.016 38.1172 32.5038 26.0488 1.98 35.3902 30.5827 28.1194 25.2841 21.5212 fast_slow 700 600 600-700 500 500-600 400 400-500 timeperiod(ns) 300 300-400 200 200-300 150 100 27 0 1.62 1.8 1.9 voltage 100-200 0-100 -40 1.98 temperature(celsius) Figure 22 fast_slow 25 -40 0 27 70 150 1.62 1473.2 607 386.053 221.325 110.477 1.8 260.21 151.997 116.921 85.0668 56.759 1.9 124.081 85.8969 71.5603 57.0643 42.4446 1.98 80.0786 60.5274 52.5816 44.1354 34.8982 Table 4: slow_slow slow_slow 1600 1400 time period(ns) 1200 1400-1600 1000 1200-1400 800 1000-1200 600 800-1000 600-800 400 150 200 27 0 1.62 1.8 1.9 400-600 200-400 voltage 0-200 -40 1.98 temperature(celsius) Figure 23 slow_slow 26 1.62 186.781 96.0164 71.6559 51.4452 34.576 -40 0 27 70 150 1.8 74.511 49.3071 40.06957 32.4687 26.574 1.9 50.4727 36.9127 31.7149 26.4121 20.9924 1.98 38.5504 30.077 26.5751 22.8068 18.708 Table4: slow_fast slow_fast 200 180 180-200 160 140 120 time period(ns) 100 80 60 40 20 0 160-180 140-160 120-140 100-120 80-100 150 60-80 40-60 27 1.62 1.8 1.9 -40 voltage 20-40 0-20 1.98 temperature(celsius) Figure 24 slow_fast 27 28