AC 2011-1060: ELECTRICAL ENGINEERING STUDENT SENIOR CAP- STONE PROJECT: A MOSIS FAST FOURIER TRANSFORM PROCES- SOR CHIP-SET



Similar documents
DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Lecture-3 MEMORY: Development of Memory:

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Module 3: Floyd, Digital Fundamental

A DESIGN OF DSPIC BASED SIGNAL MONITORING AND PROCESSING SYSTEM

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Decimal Number (base 10) Binary Number (base 2)

Microprocessor & Assembly Language

A Digital Timer Implementation using 7 Segment Displays

Interfacing Analog to Digital Data Converters

The 104 Duke_ACC Machine

Microtronics technologies Mobile:

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

AC : PRACTICAL DESIGN PROJECTS UTILIZING COMPLEX PROGRAMMABLE LOGIC DEVICES (CPLD)

Design: a mod-8 Counter

Technical Aspects of Creating and Assessing a Learning Environment in Digital Electronics for High School Students

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Accurate Measurement of the Mains Electricity Frequency

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

Digital Electronics Detailed Outline

INTRODUCTION TO DIGITAL SYSTEMS. IMPLEMENTATION: MODULES (ICs) AND NETWORKS IMPLEMENTATION OF ALGORITHMS IN HARDWARE

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Counters and Decoders

Serial port interface for microcontroller embedded into integrated power meter

Asynchronous Counters. Asynchronous Counters

Digital Guitar Effects Pedal

HD61202U. (Dot Matrix Liquid Crystal GraphicDisplay Column Driver)

Memory Elements. Combinational logic cannot remember

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

7a. System-on-chip design and prototyping platforms

Teaching Systems Integration In An Advanced Microprocessor Applications Course

8051 hardware summary

Table 1 Mixed-Signal Test course major topics. Mixed-signal Test and Measurement Concepts ENCT 351 What are Mixed-signal circuits

CHAPTER 11: Flip Flops

Example #1: Controller for Frequency Modulated Spectroscopy

Chapter 2 Logic Gates and Introduction to Computer Architecture

Monitoring of Intravenous Drip Rate

Sequential Logic: Clocks, Registers, etc.

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Ultrasound Distance Measurement

Standart TTL, Serie Art.Gruppe

Memory unit. 2 k words. n bits per word

EC313 - VHDL State Machine Example

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

FFT Frequency Detection on the dspic

MICROPROCESSOR AND MICROCOMPUTER BASICS

MicroMag3 3-Axis Magnetic Sensor Module

Copyright Peter R. Rony All rights reserved.

Lesson 7: SYSTEM-ON. SoC) AND USE OF VLSI CIRCUIT DESIGN TECHNOLOGY. Chapter-1L07: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Modeling Registers and Counters

The components. E3: Digital electronics. Goals:

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

Lecture N -1- PHYS Microcontrollers

Floating Point Fused Add-Subtract and Fused Dot-Product Units

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Digital To Analog Converter with Sine Wave Output

DM54161 DM74161 DM74163 Synchronous 4-Bit Counters

Architectural Level Power Consumption of Network on Chip. Presenter: YUAN Zheng

ASYNCHRONOUS COUNTERS

Computer Organization and Components

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

DS1307ZN. 64 x 8 Serial Real-Time Clock

Serial Communications

Using Altera MAX Series as Microcontroller I/O Expanders

RAM & ROM Based Digital Design. ECE 152A Winter 2012

[PROJECT PLAN: IPOD BARCODE SCANNER]

CSC 2405: Computer Systems II

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

A PC-BASED TIME INTERVAL COUNTER WITH 200 PS RESOLUTION

A bachelor of science degree in electrical engineering with a cumulative undergraduate GPA of at least 3.0 on a 4.0 scale

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

Cascaded Counters. Page 1 BYU

Serial Communications

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

Digital Logic Design Sequential circuits

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

Sequential Logic Design Principles.Latches and Flip-Flops

Bluetooth Audio Data Transfer between Bluetooth chipset (PMB6752&PMB6625) and TriCore Host TC1920

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Project Plan. Project Plan. May Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

Upon completion of unit 1.1, students will be able to

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Introduction to Digital System Design

Signal Types and Terminations

TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN

Design Verification & Testing Design for Testability and Scan

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller

A Second Undergraduate Course in Digital Logic Design: The Datapath+Controller-Based Approach

EXPERIMENT 8. Flip-Flops and Sequential Circuits

An On-chip Security Monitoring Solution For System Clock For Low Cost Devices

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Transcription:

AC 2011-1060: ELECTRICAL ENGINEERING STUDENT SENIOR CAP- STONE PROJECT: A MOSIS FAST FOURIER TRANSFORM PROCES- SOR CHIP-SET Peter M Osterberg, University of Portland Dr. Peter Osterberg is an associate professor in Electrical Engineering at the University of Portland (Portland, OR). He received his BSEE and MSEE degrees from MIT in 1980. He received his Ph.D. degree in electrical engineering from MIT in 1995 in the field of MEMS. He worked in industry at Texas Instruments, GTE, and Digital Equipment Corporation in the field of microelectronics. His research interests are microelectronics, MEMS, and nanoelectronics. Aziz Sukru Inan, University of Portland Dr. Inan is a professor in the Department of Electrical Engineering and Computer Science in the School of Engineering at the University of Portland (Portland, OR). He has been on the faculty since 1989 and was department chair between 1990 and 1996. He received his Ph.D. from Stanford University in 1983. Dr. Inan has co-authored two textbooks in electromagnetics. His research interests include Electromagnetics, Electric Circuits and Signals and Systems. c American Society for Engineering Education, 2011

Electrical Engineering Student Senior Capstone Project: A MOSIS Fast Fourier Transform Processor Chip-Set The purpose of this paper is to describe an undergraduate electrical engineering senior capstone design project success story from the University of Portland. This project incorporated the University of Southern California s (USC) MOSIS 1 Educational Program (MEP) for the fabrication and packaging of a CMOS chip-set which successfully implemented a 4-bit, 8-sample Fast Fourier Transform (FFT) function. MOSIS is an acronym for Metal Oxide Semiconductor Implementation Service and is run out of USC. The MOSIS Educational Program provides free CMOS integrated circuit fabrication services for participating universities in the form of a Multi-Project Wafer (MPW) using the N-Well 0.5um CMOS process from ON Semiconductor, Inc 2. The goal of the MEP program is to provide undergraduate electrical engineering students experience in integrated circuit design, fabrication, packaging, and test. At the University of Portland, senior EE student teams design their own digital circuit (which is part of their senior design capstone project) using a standard digital simulation tool (e.g., B 2 Logic from Beige Bag Software 3 ). Then they layout their CMOS integrated circuit using a standard layout tool (e.g., L-Edit from Tanner Research, Inc. 4 ). Finally, a standard layout file (e.g., CIF file) is produced and sent to MOSIS for maskmaking, CMOS fabrication, and packaging. The University of Portland s Department of Electrical Engineering has been participating in the MOSIS MEP program since 1997. Approximately 50 EE student senior capstone design projects have successfully incorporated a MOSIS CMOS integrated circuit. It has been our observation that the use of the MEP program to implement interesting digital functions as part of an overall EE senior design project is an effective pedagogical experience for our students and faculty. Additionally, the MEP program plays a crucial role in leveraging EE student projects to higher functionality, higher project success rates, and higher achievement satisfaction in capstone design projects. This paper describes a recent and particularly interesting EE senior design capstone project completed at the University of Portland which was implemented using two MOSIS chips (or chip-set). This particular project was the most sophisticated and complex among all MOSIS projects done at the University of Portland. Each chip contained over 2000 gates. (Typically, student-designed MOSIS chips contain approximately 500 to 1000 digital gates.) For their EE Senior Design Capstone Project, a team of three senior EE students from the University of Portland (Neil Tuttle, Ziyuan Zhang, and Sandra Pellecer), along with their two faculty advisors (Dr. Peter Osterberg and Dr. Aziz Inan) successfully designed and simulated a digital 4-bit, 8- sample Fast Fourier Transform Processor circuit and then implemented it as a CMOS chip-set and submitted their layout to the MOSIS Educational Program (MEP) for fabrication and packaging. After receiving the chip-set back, the students successfully built and tested a functioning Fast Fourier Transform prototype system which was presented and demonstrated to the EE community at the University of Portland. This use of the MEP Program to implement a sophisticated digital function such as the FFT was an extremely effective pedagogical experience for the students and the faculty.

FFT Circuit Description The design of the FFT processor begins with the algorithm to be implemented. The FFT algorithm is a divide-and-conquer approach which reduces the number of required calculations from O(n 2 ) to O(n log n), where n is the number of samples. Figure 1 shows the flow of data for an n=8 FFT. Fig. 1. Dataflow diagram of n=8 FFT The students implemented the above FFT algorithm in digital logic using the B 2 Logic digital simulation tool from Beige Bag Software. The algorithm is split into a two CMOS MOSIS integrated circuit chip-set (CHIP1 and CHIP2). CHIP1 is responsible for receiving input and executing part of the FFT calculations. The data produced by CHIP1 is then transferred to CHIP2, where the final part of the FFT calculations is executed and the results obtained are buffered for output. Figure 2 shows the high-level block diagrams of MOSIS CHIP1 and CHIP2, along with the breakdown of calculations and communication between them. Figure 3 and Figure 4 show the CMOS integrated circuit layouts for CHIP1 and CHIP2, respectively. The layouts were created using L-Edit from Tanner Research, Inc.

Fig. 2. High-level block diagrams of MOSIS CHIP1 and CHIP2 Fig. 3. L-Edit layout of CHIP1 Fig. 4. L-Edit layout of CHIP2

Brief description of MOSIS CHIP1 The detailed block diagram of MOSIS CHIP1 is shown in Figure 5. To keep the initial design simple, the input is limited to eight four-bit signed samples in the 2's complement format. In order to avoid overflow, the final output consists of eight complex pairs of nine-bit signed fixed-point numbers. Each fixed-point number contains seven bits for its integer part and two bits for its fractional part. The range of the output data is greater than the range of the input data in order to prevent overflow. The state machine in each of the chips is a five-bit binary counter with a decoder which controls the flip-flop storage elements. The asynchronous reset signal synchronizes the counters in CHIP1 and CHIP2 to the initial state. During the first eight clock cycles, CHIP1 reads the four-bit input data and stores it in an appropriate register. CHIP1 clocks in data on the falling edge. This step serves both to store and reorder the data. On the ninth clock cycle, CHIP1 performs four n=2 butterfly calculations simultaneously. An intermediate set of registers stores the result. Note that since the inputs must be real, the logic gates that would be responsible for handling complex numbers have been omitted wherever complex values are impossible. On the tenth clock cycle, CHIP1 performs two n=4 butterfly calculations simultaneously and stores the output data in a set of registers to prepare the data for output. At the rising edges of the 11th through 23rd clock cycles, CHIP1 clocks out the data from the output buffer using a multiplexer. Since CHIP1 contains the complex multiplication logic, it outputs eight-bit numbers to avoid overflow. Fig. 5. Detailed block diagram of MOSIS CHIP1

Brief description of MOSIS CHIP2 The detailed block diagram of CHIP2 is shown in Figure 6. CHIP2 waits for the 11th clock cycle before it starts reading data from CHIP1. CHIP2 clocks in the data on the falling edge of each clock. On the 24th clock cycle, CHIP2 performs the n=8 butterfly calculation to complete the FFT algorithm. CHIP2 stores the result in a set of nine-bit fixed-point output registers. CHIP2 clocks out the data from the output registers on the rising edges of the 25th through 33rd clock cycles. After the 33rd clock cycle, the state counter wraps back to the initial state so that CHIP1 will be ready to receive new data on the next clock cycle. The outputs from CHIP2 are complex numbers in rectangular form. There are nine output pins for the real part and nine output pins for the imaginary part. Fig. 6. Detailed block diagram of MOSIS CHIP2

The timing diagram in Figure 7 summarizes the interaction between CHIP1, CHIP2, and the enclosing system. Fig. 7. FFT timing diagram Test System The final FFT project was assembled into a test system for debug and demonstration. The overall block diagram of this FFT test system, including the MOSIS chip-set (CHIP1 and CHIP2) is shown in Figure 8. The test system features a PIC microcontroller (PIC1) connected to a Personal Computer (PC), Liquid Crystal Display (LCD), and a secondary microcontroller (PIC2) which acts as an I/O extender. LCD PC RS232 PIC1 CLK CHIP1 I 2 C Analog Input PIC2 CHIP2 Fig. 8. FFT test system block diagram

PIC1 can receive data over the RS-232 protocol from a PC or over the Inter-Integrated Circuit protocol (I 2 C) from PIC2 s internal A/D converter. The A/D converter samples analog input data from an external function generator at 10 khz, so the maximum frequency on the input is 5 khz. Next, PIC1 applies a clock signal to CHIP1 and CHIP2 and sends the data to CHIP1. PIC1 continues to clock CHIP1 and CHIP2 until the output data from CHIP2 is ready. PIC1 and PIC2 receive this result data from CHIP2. PIC2 sends its part of the data to PIC1 via the I 2 C bus. PIC1 formats and displays the data on the LCD and sends the data to the PC. The PC is used for testing and debugging and is not needed for normal operation. A photograph of the final FFT test system is shown in Figure 9. The left side of the LCD displays the input samples and the right side displays the magnitude of each frequency component. Figure 9 shows the test system in action with input from a function generator (not shown). Fig. 9. Final FFT test system Test Results In order to test the CHIP1/CHIP2 MOSIS chip-set, PIC1 has a set of test vectors and expected results in its ROM. When the system powers up, PIC1 runs the test vectors and automatically compares the actual outputs to the expected outputs. After PIC1 runs all the test

vectors, it reports to the PC whether the test has passed or failed. The LCD shows the input samples on the left and the amplitude of each frequency component on the right. The chip set functioned as expected. Figure 10 shows a successful demonstration with a 3.6 khz sine wave as the input and an n=8 FFT as the output. The MATLAB 5 simulation results on the left agree with the actual test results on the LCD. Fig.10. MATLAB simulation I/O (left) agrees with actual test I/O (right) Conclusion In conclusion, the 4-bit, 8-sample FFT chip-set is an effective use of the MOSIS Educational Program (MEP) to implement the Fast Fourier Transform function. It is an example of an extensive application at the undergraduate level. The MEP Program served as a vehicle to help the students implement a sophisticated digital function such as the FFT and provided them a pedagogical approach to achieve it. This project was an excellent example of how the MEP program plays a crucial role in leveraging EE student projects. This was the first time a design of this scale had been successfully attempted and completed at the University of Portland, and it achieved first-silicon success. Bibliography 1. http://www.mosis.com 2. http://www.onsemi.com 3. http://www.tanner.com 4. http://www.beigebag.com 5. http://www.mathworks.com/products/matlab/