



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!




STUDENT NAME and NUMBER: (PLEASE PRINT CLEARLY)
REMARKS: 1. All questions should be answered (in the space provided).
DATE: July 11, 2001 TIME: 12:00 p.m. - 1:10 p.m.
Marks:
Total:
Georgia Institute of Technology Department of Electrical and Computer Engineering
ECE2030: Introduction to Computer Engineering (^) Q
Q
a) Show how the following numbers would be represented using 5-bits for each signed representation.
b)Add the following 6-bit numbers. Indicate if the addition results in an unsigned range overflow and if it results in a signed range overflow.
Decimal # Signed Magnitude Representation
1’s Complement Representation
2’s Complement Representation
(^6 )
Unsigned Overflow yes or no?
Signed Overflow yes or no?
Consider the following Boolean functions that define a finite state machine where is for the present states bits,
for the next state, is an input, and is an output.
a) Draw the circuit that implements the finite state machine defined by the above Boolean functions.
b)Develop the state table for the finite state machine.
c) Draw the state diagram for this state machine. Assume that is the initial state.
Present State Input Next State Outputs
0 1 0 1 0 1 0 1 S 0 or 0 0
P 1 P 0 A Y
S 0 or 0 0 S 1 or 0 1 S 1 or 0 1 S 2 or 1 0 S 2 or 1 0 S 3 or 1 1 S 3 or 1 1
N 1 N 0
Complete the below timing diagram where Q 1 is the output of a transparent latch, Q 2 the output of a positive
edge-triggered flip-flop, and Q 3 the output of a negative edge-triggered flip-flop. These all have D as an input
and CLK as the enable signal. Assume the latch and flip-flops are initially cleared.
a) For the memory chip specifications shown in the table below, fill in the remaining table cells with the total bits in each of the memory chips, the number of addressable locations, the number of address lines required to address all of these locations, and the number of input/output data lines.
Memory chip Total # of bits # of addresses # address lines # data lines
4Mx
16Gx
Q 1 Transparent latch output
Positive edge-triggered flip-flop
Negative edge-triggered flip-flop
b)The module shown below is a 4Mx4 memory chip. Design an 8Mx4 bank of memory using multiple copies of the given memory chip and any external combinational building blocks or gates needed. The inputs and outputs of your circuit should be the appropriate number of ADDRESS and DATA lines, as well as the MSEL (an enable to select the entire memory) and R/W lines to specify a read (or write) oper- ation. Use “bus notation” to indicate multiline datapaths, such as address and data lines. Label all inputs and outputs to your circuit, and label all pins on chips and building blocks used.
4Mx