Unformatted text preview:

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences Last modified on Nov.5th, 2009. Elad Alon FALL 2009 TERM PROJECT PHASE II EECS 141 Due: Friday, Nov. 13th, 5pm @ Drop Box 1. Design of a 5-bit Adder – Description Phase II of the project is the design of a 5-bit adder that adds two 5-bits inputs and outputs a 6-bit sum. The inputs to this adder are the 5-bit operands retrieved from two SRAMs (4:0 4:0()AFX= and 4:0 4:0()BGY= ), and the 6-bit output of the adder is 5:0S . A schematic indicating the inputs and outputs of the adder is shown in the figure below. 5-bit Adder [4:0]A[4:0]B[5:0]S Figure 1. 5-Bit Adder Block for Phase II 2. Implementation There are many different adder topologies that are used in modern digital circuits, each with their own tradeoffs between power and performance. The main goal of this phase of the project is to familiarize you with the underlying structure of adders – in phase III of the project you will have all the freedom you’d like to explore various adder circuits and topologies. For this phase, you will be designing a ripple-carry adder out of full-adders and half-adders, which in turn will be built from static combinational logic blocks. Although you can specify the input capacitance of each of the adder inputs to be anything you want in phase III, for this phase the input capacitance of each of the adder inputs is constrained to be less than 6fF.Figure 2. 1-Bit Half Adder Figure 3. 1-Bit Full Adder We have provided a library of standard cells that you are free to use in constructing your adder. Using the same process outlined in phase I for each of the cells, you can copy the standard cell library from the project directory ~ee141/fall09/project/adder_blocks/. The library includes many of the building blocks you are likely to need, including an XOR, XNOR, NAND2, NAND3, NOR2, NOR3, INV, and a full mirror adder (M_ADD). The basic logic equations for half adders and full adders are shown below. For a half adder: Sum = AB⊕ Cout = A·B For a full adder: Sum = inABC⊕⊕ Cout = A·B + B·Cin + A·Cin It is up to you to assemble (in both schematics and LVS/DRC-clean layout) the half-adders and full-adders into the 5-bit adder using the given blocks (and whatever additional blocks you decide to design and lay out). Note that you are not required to optimize the gate sizes of your adder/subtractor – i.e., you can simply use the standard cells to implement the required logic functions. However, you should use the cells as efficiently as possible in order to minimize the delay and power of the adder. If you find that you’d like to have a larger width than that used in the standard cells for one of the gates, you can achieve this by placing two or more of the cells in parallel with each other. Note that if you do decide to explore optimizing the adder’s sizing, remember that each output of the adder will eventually be driving a 30fF capacitive load as specified in phase I. 3. Analysis and Simulation Your primary goal in any IC design should be to ensure that the circuit you have designed functions as intended. Since the number of inputs to your adder is relatively small, we have provided to you a SPICE deck (~ee141/fall09/project/adder_blocks/check.sp) that you will use to exhaustively check that the output of your adder is correct for all possible inputs. Please attend one of the discussion sessions for further instructions on how to use this deck to check your adder. A B HA CO S A B FACOSCIAs you are assembling your adder, you should keep in mind which input pattern will result in the worst case delay. Once you have finalized the assembly of your adder and identified which gates are on the critical path, you should hand analyze the delay of this path. You should then extract the layout of your adder, and simulate it with this worst case pattern to find the delay. Please remember to load each of the outputs of your adder with 30fF capacitors in both analysis and simulation. If there are any major discrepancies between your analysis and the simulation, you should explain the reasons for this in your report. 4. Report The quality of your report is as important as the quality of your design. Be sure to provide all relevant information and eliminate unnecessary material. Organization, conciseness, and completeness are of paramount importance. Do not repeat information we already know. Use the templates provided on the web page. Make sure to fill in the cover page and use the correct units. Turn in the reports for each phase in the homework drop box. 4.1 Report for Phase II The organization of the report should be based on the following outline: Cover page: Names, calculated delay, simulated delay. Page 1: Schematic of the 5-bit adder with details of each of the blocks Page 2: Adder layout Page 3: Graph from the functionality check spice deck Page 4: Schematic showing the gates on the critical path and simulated delay. Page 5: Hand estimate of adder delay, explanation of any discrepancies vs.


View Full Document

Berkeley ELENG 141 - EE141 - Project Phase II

Documents in this Course
Adders

Adders

7 pages

Memory

Memory

33 pages

I/O

I/O

14 pages

Lecture 8

Lecture 8

34 pages

Lab 3

Lab 3

2 pages

I/O

I/O

17 pages

Project

Project

6 pages

Adders

Adders

15 pages

SRAM

SRAM

13 pages

Load more
Download EE141 - Project Phase II
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view EE141 - Project Phase II and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view EE141 - Project Phase II 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?