MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3

Similar documents
MOSIS REPORT. Report:

Gates and Flip-Flops

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

CHW 261: Logic Design

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept.

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

Synchronous Sequential Logic

Sequential vs. Combinational

Synchronous 4 Bit Counters; Binary, Direct Reset

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

ELCT201: DIGITAL LOGIC DESIGN

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

Digital Fundamentals

Roger L. Tokheim. Chapter 8 Counters Glencoe/McGraw-Hill

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques

EECS150 - Digital Design Lecture 23 - FFs revisited, FIFOs, ECCs, LSFRs. Cross-coupled NOR gates

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

CSE 140 Midterm 2 Tajana Simunic Rosing. Spring 2008

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Topics. CMOS Design Multi-input delay analysis. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Lecture 14: State Tables, Diagrams, Latches, and Flip Flop

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

NTE4035B Integrated Circuit CMOS, 4 Bit Parallel In/Parallel Out Shift Register

CD74HC93, CD74HCT93. High Speed CMOS Logic 4-Bit Binary Ripple Counter. Description. Features. Pinout. Ordering Information

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Up/down binary counter with separate up/down clocks

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

Integrated Circuits & Systems

PGT104 Digital Electronics. PGT104 Digital Electronics

EET 310 Flip-Flops 11/17/2011 1

ENGR4300 Fall 2005 Test 3A. Name. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

Digital Circuits ECS 371

74LS195 SN74LS195AD LOW POWER SCHOTTKY

HCF4035B 4 STAGE PARALLEL IN/PARALLEL OUT SHIFT REGISTER

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package. *MR for LS160A and LS161A *SR for LS162A and LS163A

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Chapter 5 CMOS Logic Gate Design

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Digital Fundamentals

Lecture 9: Digital Electronics

8-BIT SYNCHRONOUS BINARY UP COUNTER

MODULE 5 Chapter 7. Clocked Storage Elements

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

6 Synchronous State Machine Design

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each)

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Clock Strategy. VLSI System Design NCKUEE-KJLEE

Digital Logic Design - Chapter 4

S No. Questions Bloom s Taxonomy Level UNIT-I

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

Counters. We ll look at different kinds of counters and discuss how to build them

Digital Electronics Final Examination. Part A

Lecture 7: Logic design. Combinational logic circuits

Vidyalankar S.E. Sem. III [INFT] Analog and Digital Circuits Prelim Question Paper Solution

NTE74177 Integrated Circuit TTL 35Mhz Presettable Binary Counter/Latch

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

EE141Microelettronica. CMOS Logic

Sequential Logic Circuits

Sample Test Paper - I

Chapter 7 Sequential Logic

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2.

Digital Electronics. Delay Max. FF Rate Power/Gate High Low (ns) (MHz) (mw) (V) (V) Standard TTL (7400)

COE 202: Digital Logic Design Sequential Circuits Part 4. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Adders, subtractors comparators, multipliers and other ALU elements

74LV393 Dual 4-bit binary ripple counter

Homework Assignment #5 EE 477 Spring 2017 Professor Parker

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Using the NOT realization from the NAND, we can NOT the output of the NAND gate making it a NOT NOT AND or simply an AND gate.

ALU A functional unit

Sequential Circuits Sequential circuits combinational circuits state gate delay

3 Logic Function Realization with MSI Circuits

Sequential Logic Worksheet

Lecture 5. MOS Inverter: Switching Characteristics and Interconnection Effects

Experiment 9 Sequential Circuits

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Chapter 13. Clocked Circuits SEQUENTIAL VS. COMBINATIONAL CMOS TG LATCHES, FLIP FLOPS. Baker Ch. 13 Clocked Circuits. Introduction to VLSI

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of

NTE74HC299 Integrated Circuit TTL High Speed CMOS, 8 Bit Universal Shift Register with 3 State Output

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

ENGR4300 Fall 2005 Test 3S. Name solution. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

Layout of 7400-series Chips Commonly Used in. CDA 3101: Introduction to Computer Hardware and Organization

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

CD74HC195. High Speed CMOS Logic 4-Bit Parallel Access Register. Features. Description. Ordering Information. PInout. [ /Title (CD74 HC195 ) /Subject

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

Chapter 7. Sequential Circuits Registers, Counters, RAM

DATA SHEET. HEF40163B MSI 4-bit synchronous binary counter with synchronous reset. For a complete data sheet, please also download:

Transcription:

MOSIS REPORT Spring 2010 MOSIS Report 1 MOSIS Report 2 MOSIS Report 3

MOSIS Report 1 Design of 4-bit counter using J-K flip flop I. Objective The purpose of this project is to design one 4-bit counter using flip flops and implement it on an AMI 0.5um chip. Related Cadence tools are employed to simulate and layout the design. II. Counter structure A digital counter, or simply counter, is a semiconductor device that is used for counting the number of times that a digital event has occurred. The counter's output is indexed by one LSB every time the counter is clocked. A simple implementation of a 4-bit counter is shown in Figure 1, which consists of 4 stages of cascaded negative edge triggered J-K flip-flops. This is a binary counter, since the output is in binary system format, i.e., only two digits are used to represent the count, i.e., '1' and '0'. With only 4 bits, it can only count up to '1111'. Figure.1 A Simple Ripple Counter Consisting of J-K Flip-flops As one can see from Figure 1, the J and K inputs of all the flip-flops are tied to '1', so that they will toggle between states every time they are clocked. Also, the output of each flip-flop in the counter is used to clock the next flip-flop. As a result, the succeeding flip-flop toggles between '1' and '0' at only half the frequency as the flip-flop before it. This type of binary counter is known as a 'serial', 'ripple', or 'asynchronous' counter. The name 'asynchronous' comes from the fact that this counter's flip-flops are not being clocked at the same time. An asynchronous counter has a serious drawback - its speed is limited by the cumulative propagation times of the cascaded flip-flops. A counter that has N flip-flops, each of which has a propagation time T, must therefore wait for duration equal to N * T before it can undergo another transition clocking. A better counter, therefore, is one whose flip-flops are clocked at the same time. Such a counter is known as a synchronous counter. A simple 4-bit synchronous counter is depicted in Figure 2. Figure.2 A Simple Synchronous Counter Consisting of J-K Flip-flops and AND gates The 4-bit counter I designed for this project is based on Figure.2, while it also has serial carry look ahead and synchronous reset which allows all the output set to 0 by the user. III. Flip flop design Flip flops are fundamental building block in this 4-bit counter. A flip flop (FF) is a storage circuit that changes states on the rising or falling edge of a clock signal. There are many flip flop designs such as SR (Set-Reset) flip flop, D (delay) flip flop; T (toggle) flip flop and JK (Jump Key) flip flop. One negative edge triggered J-K flip flop is chosen in this design because it is a universal flip-flop that can be configured to work as an SR flip-flop, a D flip-flop, or a T flip-flop.

IV. in Figure 3. Design steps Cadence tools are employed in this design to implement the circuit. Basic design steps are illustrated below Figure. 3 Flowchart of design steps V. JK flip flop The basic characteristic table of JK flip flop is shown in Table 1. Table 1 characteristic table of JK flip flop R J K Qn+1 0 0 0 Qn 0 0 1 0 0 1 0 1 0 1 1 Qn' 1 d d 0 The most common approach for constructing an edge-triggered flip flop is to use a master-slave configuration. The schematic of this circuit is shown in Figure. 4

Figure. 4 Schematic of JK flip flop The circuit works as follows: On the high phase of the clock, the master stage is transparent, and the J-K inputs are passed to the master stage output, QM and QMB. During this period, the slave stage is in the hold mode, keeping its previous value by using feedback. On the falling edge of the clock, the master stage stops sampling the input, and the slave stage starts sampling. During the low phase of the clock, the slave stage samples the output of the master stage (QM), while the master stage remains in a hold mode. The value of Q is finalized right before falling edge of the clock, achieving the negative edge-triggered effect. The circuit layout is also depicted in Figure 5. Figure 5 Layout of JK flip flop VI. 4-bit counter The truth table for 4 bit counter is, Table 2 Truth table for 4-bit counter RESET States CLA (carry-out) F3 F2 F1 F0 Count 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 2 0 0 0 0 1 1 3 0 0 0 1 0 0 4 0 0 0 1 0 1 5 0 0 0 1 1 0 6

0 0 0 1 1 1 7 0 0 1 0 0 0 8 0 0 1 0 0 1 9 0 0 1 0 1 0 10 0 0 1 0 1 1 11 0 0 1 1 0 0 12 0 0 1 1 0 1 13 0 0 1 1 1 0 14 0 1 1 1 1 1 15 1 0 0 0 0 0 0 The counter has been designed with J-K flip flops with their inputs shorted. In addition, look ahead function is implemented using NAND gates. The schematic of this counter is in Figure. 6. Figure.6 schematic of 4-bit counter In transistor level, the design was done using the minimum gate length of 0.6μm. This minimum length has been adopted everywhere in the design and the width of each n-mos and p-mos transistor was chosen as 3.0μm to maximize the speed. For simplicity the widths were kept same everywhere, as it does not hinder the correct functionality of the circuit and helps keeping the total chip area to a minimum. The layout of this counter is in Figure. 7. All of three metal layers are used to minimize the area. Parallel power supply metal lines are also designed to avoid electro-migration. The total area is 422um*42um=0.018mm 2. Figure 7 Layout of 4-bit counter VII. Simulation results 1). Schematic simulation

The 4-bit counter has been simulated under different clock frequencies from 1MHz to 100MHz. Figure 9 shows the simulation results under clock frequency of 50MHz. One can notice once the reset is set to 0, the counter begins to work. Figure 8 Schematic simulation of 4-bit counter (CLA is the look ahead) Figure 9 Post layout simulation of 4-bit counter 2). Post layout simulation The post layout simulation has been conducted using the same clock frequency (50MHz). 3). Performance of 4-bit counter The rise and fall time (10%-90%) and delay of each output have been measured under different load capacitance. The following graphs show both the rise and fall time and delay are increased linearly with the load capacitance. The clock frequency is set to 1MHz this time. 120.0 110.0 100.0 90.0 80.0 70.0 60.0 50.0 40.0 30.0 20.0 10.0 0.0 120.0 110.0 100.0 90.0 80.0 70.0 60.0 50.0 40.0 30.0 20.0 10.0 0.0 F0 rise time(ns) F0 fall time(ns) 0 1 2 3 4 5 Load capacitance (pf) Figure 10 Rise and fall time of F0 F1 F1 0 1 2 3 4 5 Load capacitance (pf) Figure 11 Rise and fall time of F1 120.0 110.0 100.0 90.0 80.0 70.0 60.0 50.0 40.0 30.0 20.0 10.0 0.0 120.0 110.0 100.0 90.0 80.0 70.0 60.0 50.0 40.0 30.0 20.0 10.0 0.0 F2 0 1 2 3 4 5 Load capacitance (pf) Figure 12 Rise and fall time of F2 F3 F3 fall 0 1 2 3 4 5 Load capacitance (pf) Figure 13 Rise and fall time of F3

54.0 52.0 50.0 48.0 46.0 44.0 42.0 40.0 38.0 36.0 34.0 32.0 30.0 28.0 26.0 24.0 22.0 20.0 18.0 16.0 14.0 12.0 10.0 8.0 6.0 4.0 2.0 0.0 F0 delay (ns) F1 delay (ns) F2 delay (ns) F3 delay (ns) 0 1 2 3 4 5 Load capacitance (pf) Figure 14 Propagation delay of all outputs VIII. Test result The taped out chip has been tested under different clock signals using breadboard setup, including 10 KHz, 500 KHz, and 2 MHz. Since the breadboard has quite a bit parasitic capacitance and inductance, no extra load capacitors are added to the output. Figure 16, 17 and 18 show the transient response of circuit outputs F0, F1, F2, and F3 (Bottom to Top traces) under 10 KHz, 500 KHz, and 2 MHz clock frequency, respectively. Figure 15 Transient response under 10KHz clock frequency Figure 16 Transient response under 500 KHz clock frequency

Figure 17 Transient responses under 2 MHz clock frequency The rise time for each output is around 60ns, while the fall time is around 160ns. IX. Conclusion In this project we implemented a 4-bit counter on a 0.6um chip. The counter is found in many digital Circuits, such as digit clock, PLL, and timing circuits. This counter is based on master slave J-K flip flop which also has features of look ahead output and synchronous reset. Post layout verification has been done and is ready for tape out.

MOSIS Report 2: Design 4 bit counter For a 4bit counter we need 4 flip flops. Each flip flop generate one bit of the output. The blew truth table shows the relation between each flip flop input and output of previous state: Present Next D3 D2 D1 D0 State State 0000 0001 0 0 0 1 0001 0010 0 0 1 0 0010 0011 0 0 1 1 0011 0100 0 1 0 0 0100 0101 0 1 0 1 0101 0110 0 1 1 0 0110 0111 0 1 1 1 0111 1000 1 0 0 0 1000 1001 1 0 0 1 1001 1010 1 0 1 0 1010 1011 1 0 1 1 1011 1100 1 1 0 0 1100 1101 1 1 0 1 1101 1110 1 1 1 0 1110 1111 1 1 1 1 1111 0000 1 0 0 0 From above table we can find the relation of D 0 and its output Q 0 : 00 01 11 10 Q1Q0 Q3Q2 00 1 0 0 1 01 1 0 0 1 11 1 0 0 1 10 1 0 0 1 And the input is connected to the Clock, therefore if we use a rising edge D-flip flop, in each rising of input the output will toggle; there we can understand that the frequency of output

is a half of input frequency. This is shown in figure blew: For Q 1, Q 2 and Q 3 we need this frequency division as well. It can be seen in first table that in rising edge of Q 0, Q 1 should toggle, in the rising edge of Q 1, Q 2 should toggle and in the rising edge of Q 2, Q 3 should toggle. Therefore we can connect every output of each D-flip flop to its input (D) and then connect the Clock to the output of previous stage. Complete circuit of 4 bit counter will look like blew: We can see the 7 buffers are added in the 3 input and 4 output of circuit. For D-flip flops, the rising edge flip flop is used, which is shown blew: But to add Set, Reset and Hold to this counter, the input of NOT No. 7 and N0. 8 should be under control. Therefore we used a set and reset system for NOT No. 5 and 6 to control the input of NOT No. 7 and 8. The same NOT is used to control the input of NOT 3 and NOT 4, to reset the memory of DFF, and do the counting from beginning and do not hold the data. Picture of these NOTs with reset and set is shown blew: Set Reset Output 0 0 1 0 1 Not-

allowed 1 0 1 1 Normal NOT of A and B 0 The reset and set of NOT No. 3,4,5 and 6 are being controlled by an output SET and RESET pin. Set Reset Mode Out of NOT3 Out of NOT4 Out of NOT5 Out of NOT6 0 0 Counting Defined by input Defined by input Defined by input Defined by input 0 1 Reset 0 1 1 0 1 0 Set 1 0 0 1 1 1 Hold 1 1 1 1 Set Reset Mode NOT3 NOT4 NO Set3 Reset3 Set4 Reset4 Set5 0 0 Counting 1 0 1 0 1 0 1 Reset 1 1 0 0 0 1 0 Set 0 0 1 1 1 1 1 Hold 0 0 0 0 0 Therefore we can find the required control signals: Set3=Set6= Reset3=Reset6= Set4=Set5= Reset4=Reset5= Final circuit of D-flip flop looks like blew:

The layout of the entire 4 bit counter is shown blew:

For testing the post layout simulation a circuit like blew is used: The result of post layout simulations without set and reset are shown blew:

The result of post layout simulations with Set and Reset and Hold activated are shown blew:

Summary of what has been achieved in this project: 1. 4 bit counter with Set, Reset and Hold 2. (W/L)p=7.5u/0.6u, (W/L)n=1.5u/0.6u 3. 4 stage Buffers in inputs and outputs 4. Max Delay=7ns, Max rise time=2ns 5. Area= 282um*294um Chip Test Results: Output result for input frequency of 10KHz

Output results for input frequency of 800KHz

Rise time and fall time in the edges in the above figure is shown below:

Report 3 I. Objective: The objective of this project is to design a 4-bit counter and implement it into a chip with the help of Cadence (custom IC design tool) AMI 0.6 micron process following necessary steps and rules dependent on selected process technology. II. Selection of Counter design: The chosen design for the 4-bit counter is a simple 4-bit synchronous. The reasons behind choosing this design are i. Synchronous counter is the most used and reliable counter design ii. Synchronous design ensures that all the output bits change simultaneously at the edge of a clock signal and holds that output until the next clock signal iii. Low propagation delay than asynchronous counter III. Selection of Flip-flop: The basic building block of a counter is flip-flop. The choice of flip-flop depends on the logic function of the circuit. The logic function of the counter suggests a D flipflop as most appropriate for the design. So a positive edge triggered D flipflop was chosen for counter design. The flipflop was built using transmission gates and inverters, so the number of transistors required was reduced to 20, which is quite low compared to conventional NAND/NOR gate design.

IV. Design Steps: Cadence is one of the most popular, efficient and commercial custom IC design tool widely used for transforming a design idea to fabrication. For fruitful production of an IC from a design concept a sequence of steps has to be followed. The flow chart below describes these steps- Design Specification Schematic Capture Create Symbol Simulation Layout DRC- Design rule Check Extraction LVS - Layout vs Schematic Check Post layout Simulation

V. Truth tables and K-maps: Present State Next State Flip Flop Input Q 3 Q 2 Q 1 Q 0 * Q 3 * Q 2 * Q 1 * Q 0 D 3 D 2 D 1 D 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 1 0 1 1 1 0 1 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 K-maps: Q 1 Q 0 Q 3 Q 2 00 01 11 10 00 0 0 0 0 01 0 0 1 0 11 1 1 0 1 10 1 1 1 1 D 3 Q 1 Q 0 Q 3 Q 2 00 01 11 10 00 0 0 1 0 01 1 1 0 1 11 1 1 0 1 10 0 0 1 0 D 2 Q 3 Q 2 Q 1 Q 0 00 01 11 10 00 0 1 0 1 01 0 1 0 1 11 0 1 0 1 10 0 1 0 1 D 1 Q 3 Q 2 Q 1 Q 0 00 01 11 10 00 1 0 0 1 01 1 0 0 1 11 1 0 0 1 10 1 0 0 1 D 0

Logic function: Logic circuit: Schematic of 4-bit counter: Figure 1: Schematic diagram of 4-bit counter

VI. Required Basic building blocks: D Flip-flop: D flip flop used in for this circuit for reliable operation and compression. The flip flop triggers at positive edge of the clock cycle. Truth table for the JK flip flop is given below: Schematic of D flip flop: Layout: Figure 2: Schematic diagram of D flip flop Layout was drawn in AMI 0.6 micron process. All the building blocks used in the layout have the same height to maintain symmetry. Minimum spacing rule was utilized to reduce the size of layout.

Figure 3: Layout of D flip flop Inverter: Figure 4: Layout of inverter

A standard inverter was built in AMI 0.6 micron process. To meet the design requirements while building AND gate from 2 input NAND gate, Inverter 2x was also built. Transmission gate: Figure 5: Layout of transmission gate AND gate: Figure 6: Layout of AND gate

XOR gate: Figure 7: Layout of XOR gate VII. Complete Layout of counter design: Maximum effort was made to minimize the delay while maintaining standard chip size The complete layout occupies an area = 471.3µm x 66.15µm = 0.0311mm 2

Figure 4: Layout of 4-bit up counter Extracted layout with pad frame: Figure 9: Extracted layout including padframe

VIII. Pre-layout simulation output: Figure 5: Prelayout simulation output, clock frequency= 10MHz

Post layout simulation output: Figure 6: Post layout simulation output, clock frequency= 10MHz

Post layout simulation with load: Figure 7: Post layout simulation output, clock frequency= 10MHz, C_load= 5 pf IX. Measurement of rise time and fall time and propagation delay: Capacitive loading was varied from 1pF to 15pF and rise time, fall time and propagation delay was measured. During rise time and fall time measurement time required to change from 10% to 90% of maximum voltage was measured. The propagation delay was measured at 50% point. Time measurement was taken for all four output bits.

Plot of response time Vs Capacitive load: Figure 8: Plot of Rise time, fall time Vs Capacitive load

Figure 9: Plot of propagation delay Vs Capacitive load Discussion: Above plots show that the rise time, fall time and delay linearly varies with the capacitive loading. This indicates the liner behavior of the designed circuit. It may be noticed that the fall time higher than the rise time. This is because during fall time the capacitive loads discharges through the NMOS to reach ground potential. In this design a large number of NAND gates are used which has number of NMOS in series. The series connected NMOS has a larger resistance and has greater RC delay which leads to the higher value of fall time. Since in NAND gates PMOS are connected in parallel they quickly charge the load capacitor and give lower rise time. The delay for all four bits are almost equal. All rise time and fall time was measured for 10MHz clock frequency. At this frequency capacitive loading beyond 15pF produces signal that cannot be recognized as 1 or 0. At lower clock frequency higher capacitive loading is possible. X. Application: Counter is used widely in number of digital and analog circuit. There are vast applications of counter in the field of electronics. Some of them are listed below- I. A counter can be used as frequency divider. This 4-bit counter can be efficiently used to get four different frequencies up to one sixteenth times of the original clock frequency.

II. III. IV. Counter can be used on building entrances to keep track of number of people entering or leaving. Counter can be used in digital logic deigns to perform certain operation at certain steps. Counters are also applicable in timer circuit to turn on/ off a device after certain time with use of a proper logic function.