


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this exam paper are: Table Below, Representation in Both, Complete the Table, Binary Formats, Decimal Value, Sign-Magnitude, Missing Entries, Integer Values, Representation, Following Additions
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



March 30, 2007 Page 1 of 4
Name:
Student Number:
Problem 1. (16 points possible)
Problem 2. (18 points possible)
Problem 3. (16 points possible)
TOTAL. (50 points possible)
March 30, 2007 Page 2 of 4
Problem 1. (16 points)
A. (10 points) Each row in the table below lists a decimal value and its representation in both 6-bit sign-magnitude and 6-bit 2’s-complement binary formats. Complete the table, filling in the missing entries in each row.
Value (decimal)
6-bit sign-magnitude binary representation
6-bit 2’s-complement binary representation
19
1 0 0 1 1 0
1 0 1 0 1 0
0 0 1 1 0 1
B. (6 points) What range of integer values can be represented by each of the following representations? Also circle either 1 or 2, indicating the number of different patterns for the value zero in the indicated representation.
Patterns Representation Range of possible integer values for zero
8-bit unsigned: to 1 2
10-bit sign-magnitude: to 1 2
n-bit 1’s-complement: to 1 2
n-bit 2’s-complement: to 1 2
March 30, 2007 Page 4 of 4
Problem 3. (16 points)
A. (3 points) A loadable T (toggle) register that uses two-phase non-overlapping clocking is being designed. The logic symbol for this register is shown below, on the left. Complete the state table, on the right below, for this register. LD T Q
T D Q LD
1 2
B. (6 points) Complete the following timing diagram for this register. Assume that the initial value of the output, Q, is zero.
LD
T
D
Q
C. (7 points) A two-bit binary counter, implemented using these loadable T registers, is shown below. Complete the state table below for this counter, computing LD, T 1 , T 0 , and the next state. Finally, show the sequence of values generated by this counter, starting at <00>.
Q 1 Q 0 LD T 1 T 0 Q 1 +^ Q 0 + 0 0 0 1
1 0 1 1
1 1
1 2
T D Q LD
1 2
T D Q LD
0
Q (^1)
Q (^0) Sequence Generated: