Instructions
Instructions
For this next part, the cohort will update the circuit from part 2. Now that sequential logic is involved,
several key changes must be made to the control of the circuit.
3.1.1 Memory
• Add a 32-bit memory register to the circuit between the output of the circuit and the output of the
multiplexer. A memory register will be identified by a flip-flop with a multi-bit input and multi-
bit output bus. This register is called the ACCUMULATOR or ACC.
• A clock signal will be added as a new input into the memory register. The clock signal is a single-
bit square wave that drives the flip-flops of the memory register.
• The output from the memory register will be a feedback loop to replace one of the inputs of the
operations. For example, instead of “Input A” and “Input B” there will be “Input A” and the
feedback from the accumulator.
3.1.2 Control
• The memory register output will feed into one of the multiplexer channels. This feedback
channel, typically channel 0, will represent the “no-operation” or no-op.
• One channel of the multiplexer will be nothing but 0, representing the reset of the circuit.
• The lower 16 bits of the memory register output will feed back to replace the second input into
the system.
3.1.3 Logic
The multiplexor will need the following channels for handling the logic, a NO-Op, a NOT, an AND, a
NAND, an OR, a NOR, an XOR, and an XNOR.
3.1.4 Arithmetic
Currently, the cohort should have addition, subtraction, multiplication, division, and modulus working on
their multiplexor.
3.2 Update System Design Description
The System Design description has six tasks to be completed: the list of inputs, the list of outputs, the list
of interfaces, the list of parts. Save this as a file called <cohort>.SystemDesign.3.pdf.
Example:
Operation Operation Type Op-Code
No-Op System 0000
And Logic 0001
Or Logic 0010
XOR Logic 0011
NOT Logic 0100
Nand Logic 0101
Nor Logic 0110
XNOR Logic 0111
Addition Arithmetic 1000
Division Arithmetic 1001
Modulus Arithmetic 1010
Multiplication Arithmetic 1011
Subtraction Arithmetic 1100
Reset System 1111