Docsity

Homework Assignment 3 in CPSC 5155: Introduction to Computer Architecture - Prof. Edward B, Assignments of Computer Architecture and Organization

Toggle sidebar
bg1
CPSC 5155 Introduction to Computer Architecture
Homework Assignment 3 Due Wednesday, October 25, 2006
1. In Figure 4-6 (page 242 of the text), the control signals for the B bus register are encoded
in a 4โ€“bit field, while the control signals for the C bus are not encoded (one bit for each
register that can be fed by bus C). In one short paragraph, state a good reason for this.
HINT: I would use at most one or two sentences for my answer.
The next few questions are based on the following table, copied from Figure 4โ€“2
on page 234 of the textbook. For convenience, part of this table is repeated here.
For all of the following questions, assume F0 = 1 and F1 = 1.
NOTE: Some of the functions I specify will be nonsensical, repetitious of simpler functions.
F0F1ENA ENB INVA INC Function
1 1 0 0 0 1 1
1 1 0 0 1 0 โ€“ 1
1 1 0 1 0 1 B + 1
1 1 0 1 1 0 B โ€“ 1
1 1 1 0 0 1 A + 1
1 1 1 0 1 1 โ€“ A
1 1 1 1 0 0 A + B
1 1 1 1 0 1 A + B + 1
1 1 1 1 1 1 B โ€“ A
2. What is the function if ENA = 0, ENB = 0, INVA = 0, and INC = 0?
3. What is the function if ENA = 0, ENB = 0, INVA = 1, and INC = 1?
4. What is the function if ENA = 0, ENB = 0, INVA = 1, and INC = 0?

Partial preview of the text

Download Homework Assignment 3 in CPSC 5155: Introduction to Computer Architecture - Prof. Edward B and more Assignments Computer Architecture and Organization in PDF only on Docsity!

CPSC 5155 Introduction to Computer Architecture

Homework Assignment 3 Due Wednesday, October 25, 2006

  1. In Figure 4-6 (page 242 of the text), the control signals for the B bus register are encoded in a 4โ€“bit field, while the control signals for the C bus are not encoded (one bit for each register that can be fed by bus C). In one short paragraph, state a good reason for this. HINT: I would use at most one or two sentences for my answer. The next few questions are based on the following table, copied from Figure 4โ€“ on page 234 of the textbook. For convenience, part of this table is repeated here. For all of the following questions, assume F 0 = 1 and F 1 = 1. NOTE: Some of the functions I specify will be nonsensical, repetitious of simpler functions. F 0 F 1 ENA ENB INVA INC Function 1 1 0 0 0 1 1 1 1 0 0 1 0 โ€“ 1 1 1 0 1 0 1 B + 1 1 1 0 1 1 0 B โ€“ 1 1 1 1 0 0 1 A + 1 1 1 1 0 1 1 โ€“ A 1 1 1 1 0 0 A + B 1 1 1 1 0 1 A + B + 1 1 1 1 1 1 1 B โ€“ A
  2. What is the function if ENA = 0, ENB = 0, INVA = 0, and INC = 0?
  3. What is the function if ENA = 0, ENB = 0, INVA = 1, and INC = 1?
  4. What is the function if ENA = 0, ENB = 0, INVA = 1, and INC = 0?