Docsity

Midterm Project Report - Digital Electronics and Design | ECE 122, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
Engineer Name: ___________________________________________ Design Number: _________
Prepared by: C. E. Korman and M. Y. Afridi, September 18,2000.
THE GEORGE WASHINGTON UNIVERSITY
DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING
ECE 122-FALL 2000
MIDTERM PROJECT
You are a beginning engineer in a new start up firm called KA*Tech Corporation. The firm is in the
business of designing integrated circuits (IC) for low power hand held devices and other consumer
products. Your first task is to design a 4-bit arithmetic logic unit (ALU) core which will be part of the IC
to control a new color touch pad display. In order to make the hand held device compete head-on with
larger competitors, such as, Palm and HP, your manager is under heavy pressure to add as much
functionality as possible to the display control chip. Therefore, the primary emphasis at this stage will be
on a working ALU design with minimum core layout area. If successful, your core ALU layout design
will be incorporated into other designs of the firm, as well. So it is also important to document your
design in a professional manner.
4-bit ALU Specifications:
Using Tanner tools, design, simulate, layout and verify the operation of an ALU integrated circuit shown
in the following block diagram:
This circuit accepts two 4-bit inputs, A3 to A0 and B3 to B0, and generates a 4-bit output R3 to R0. The
relationship between the input variables and the output variables is defined by the 4-bit control input S3 to
S0. The network also generates two status signals to indicate an arithmetic carry or borrow from the most
significant bit C and arithmetic overflow V. The table below defines the behavior of this network based
on the positive-logic assumption.
S3
S2
S1
S0
R Comments C V
0 0 0 0 A 0 0
0 0 0 1 B 0 0
0 0 1 0 A plus B Add A and B 0/1*
0/1
0 0 1 1 A minus B Subtract B from A** 0/1 0/1
0 1 0 0 A complement Complement of A *** 0 0
0 1 0 1 B complement Complement of B*** 0 0
0 1 1 0 0 minus A Negate A** 0 0
0 1 1 1 0 minus B Negate B** 0 0
4-bit ALU
A3
-
A0
B3
-
B0
R3
-
R0
C
V
S3
-
S0
pf2

Partial preview of the text

Download Midterm Project Report - Digital Electronics and Design | ECE 122 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

Engineer Name: ___________________________________________ Design Number: _________

Prepared by: C. E. Korman and M. Y. Afridi, September 18,2000.

THE GEORGE WASHINGTON UNIVERSITY

DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING

ECE 122-FALL 2000

MIDTERM PROJECT

You are a beginning engineer in a new start up firm called _KATech Corporation_*. The firm is in the business of designing integrated circuits (IC) for low power hand held devices and other consumer products. Your first task is to design a 4-bit arithmetic logic unit (ALU) core which will be part of the IC to control a new color touch pad display. In order to make the hand held device compete head-on with larger competitors, such as, Palm and HP, your manager is under heavy pressure to add as much functionality as possible to the display control chip. Therefore, the primary emphasis at this stage will be on a working ALU design with minimum core layout area. If successful, your core ALU layout design will be incorporated into other designs of the firm, as well. So it is also important to document your design in a professional manner.

4-bit ALU Specifications :

Using Tanner tools, design, simulate, layout and verify the operation of an ALU integrated circuit shown in the following block diagram:

This circuit accepts two 4-bit inputs, A3 to A0 and B3 to B0, and generates a 4-bit output R3 to R0. The relationship between the input variables and the output variables is defined by the 4-bit control input S3 to S0. The network also generates two status signals to indicate an arithmetic carry or borrow from the most significant bit C and arithmetic overflow V. The table below defines the behavior of this network based on the positive-logic assumption.

S3 S2 S1 S0 R Comments C V

0 0 0 0 A 0 0

0 0 0 1 B 0 0

0 0 1 0 A plus B Add A and B 0/1* 0/ 0 0 1 1 A minus B Subtract B from A** 0/1 0/

0 1 0 0 A complement Complement of A *** 0 0 0 1 0 1 B complement Complement of B*** 0 0 0 1 1 0 0 minus A Negate A** 0 0 0 1 1 1 0 minus B Negate B** 0 0

4-bit ALU

A3-A

B3-B

R3-R

C

V

S3-S

Engineer Name: ___________________________________________ Design Number: _________

Prepared by: C. E. Korman and M. Y. Afridi, September 18,2000.

1 0 0 0 A plus 1 Increment A 0/1 0/ 1 0 0 1 B plus 1 Increment B 0/1 0/ 1 0 1 0 A minus 1 Decrement A 0/1 0/ 1 0 1 1 B minus 1 Decrement B 0/1 0/

1 1 0 0 A AND B AND A with B *** 0 0 1 1 0 1 A OR B OR A with B *** 0 0 1 1 1 0 A XOR B XOR A with B *** 0 0 1 1 1 1 Max A, B Select maximum 0 0

  • 0/1 means the value depends on the result. ** Two’s complement *** Bit by bit

Other Design Rules:

  1. The design must be able to operate at a 30 MHz clock and 5V-power source. At this stage you are not responsible for the design of the clock.
  2. The design documentation is an essential part of the project. No design is acceptable unless accompanied by a detailed professional engineering documentation.
  3. Each engineer will make a brief 10 minute professional presentation to highlight the important features of their design.
  4. The code S3-S0 will be assigned to each engineer individually. (The code given in the above table is just an example.)
  5. All designs will employ the SCMOS logic gate library that is in TannerLB.
  6. All layouts will employ the Hewlett Packard 0.5? m n-well technology.

Design Notes: There are 16 rows corresponding to 16 combinations of the 4-bit control input. Using the hexadecimal representation for the control variable S, we can describe the behavior of the arithmetic logic unit in words. For S=0, the output R is set equal to A, and the carry and overflow signals will be set to 0. For S=1, the output R is set equal to B; again C and V are set to 0. Arithmetic addition and subtraction operations are defined by S=2 and S=3, respectively. The output R represents the sum or difference of the two 4-bit input signals, and C and V are set to 0 or 1, depending on the outcome of the operation. The next four operations, corresponding to S=4 to S=7, produce an output that is either the complement or negative (two’s complement representation) of either 4-bit input signal. For these four operations the arithmetic overflow and carry signals C and V are set to 0. With the next four operations, corresponding to S8 to S11, the output R is generated by incrementing or decrementing one of the 4-bit input signals. Since these represent arithmetic operations, the status signals C and V are set based on the result. Operations defined by S=12, 13 and 14 are logic operations, and the output R is formed bit by bit from the two 4-bit input signals. Status signals C and V are set to 0. For S=15, the largest of the two 4-bit inputs A and B is connected to the output R with C and V set to 0.

?????????? ??????????????????