

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Engineer Name: ___________________________________________ Design Number: _________
Prepared by: C. E. Korman and M. Y. Afridi, September 18,2000.
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.
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
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
Other Design Rules:
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.
?????????? ??????????????????