Using the following components: 4-bit general-purpose register, 4-bit adder/ subtractor, and tristate buffer, and assuming the inbus

Question:

Using the following components: 4-bit general-purpose register, 4-bit adder/ subtractor, and tristate buffer, and assuming the inbus and outbus are 4 bits wide, design a control unit using hardwired control to perform the operations shown in Figure P6.13. You may use counters, decoders, and PLAs as required. 

(a) Outbus ← 4 A. Assume A is a 4-bit unsigned number and the result is 4 bits wide.
(b) If the 4-bit number in register B is odd, outbus ← 0; otherwise outbus ← A + (B/2). Assume A and B are unsigned 4 bit numbers. Also, assume data is already loaded into B.
(c) If the content of a 4-bit register Q = 0, perform R ← M and then transfer the 4-bit result to outbus. On the other hand, if the content of the 4-bit register Q = 0, perform R ← 0 and then transfer the 4-bit result to the outbus. Assume M and R are 4 bits wide.

R CLD Clock Action 0100 Clear Clock 0 0 10 0 0 01 R Load External d Decrement by o 4-bit General 1000 Logical Right S No Change Purpose Register 00 00 L D Control F Input 1+r Control 1-r Input 4-Bit Adder/ Subtractor F Control Y Input Control Tristate

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: