SP10-pp2

# SP10-pp2 - UNIVERSITY OF CALIFORNIADAVIS DEPARTMENT OF...

This preview shows pages 1–2. Sign up to view the full content.

UC Davis 1 Hussain Al-Asaad U NIVERSITY OF C ALIFORNIA —D AVIS D EPARTMENT OF E LECTRICAL & C OMPUTER E NGINEERING EEC180A — D IGITAL S YSTEMS I Spring 20 10 P RACTICE P ROBLEMS — S ET 2 1. Number Representation: Design a combinational circuit that converts a 4-bit one’s complement number X to its corresponding two’s complement number Y . 2. ALU Design: Design a bit slice of the ALU shown below. The ALU performs one of the eight operations (summarized in the table below) on the two data inputs A = A n – 1 ...A 0 and B = B n – 1 ...B 0 according to the values of the selection input S = S 2 S 1 S 0 . 3. Waveforms: Complete the output waveforms of the diagram shown below for the following fliplflops: (a) positive-edge triggered JK flipflop, and (b) negative-edge triggered JK flipflop. C 0 C 1 C 2 C n –1 M S C n S 2 S 1 A 0 B 0 A 1 B 1 A n – 1 B n – 1 F 0 F 1 F n – 1 Slice 0 Slice 1 Slice n – 1 .... S 2 S 1 S 0 ALU Operation 000 F = 0. ..0 001 F = B minus A 010 F = A minus B 011 F = A plus B 100 F = A XOR B 101 F = A OR B 110 F = A AND B 111 F = 1. ..1 C i C i

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 3

SP10-pp2 - UNIVERSITY OF CALIFORNIADAVIS DEPARTMENT OF...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online