Question
Build in Logisim. Assume a circuit that has a bus and connected to this bus is the following: two nibble registers R1 and R2, an
Build in Logisim.
Assume a circuit that has a bus and connected to this bus is the following: two nibble registers R1 and R2, an 8-bit instruction register IR, and a simple control unit CU. IR has a 2-bit op-code and two 3-bit parameters called S and D. The IR register looks like this: IR = OP:S:D, the concatenation of the op-code and S and D parameters into a single register called IR. The op-code 00 means MOVE. The op-code 11 mean ISSAME. The syntax of the MOVE command is as follows: MOVE DESTINATION_REGISTER SOURCE_REGISTER Example: MOVE R1 R2 This causes the contents of source register to be copied into the destination register. The previous contents of the destination register are overwritten. ISSAME REGISTER UNSIGNED_INTEGER Example: ISSAME R1 5 If the register and the integer are the same then nothing happens otherwise the register is assigned the value of the integer. The previous value is overwritten. Construct the above circuit in Logisim. You will need to determine an optimal bus. You will need to determine how the control unit will execute the two instruction. Your circuit will need to have: a bus, a control unit, IR, R1, R2. You can only use the following machines in your solution: wires, AND, OR, NOT, XOR, Flip-flop, Clock. You can build black boxes. To facilitate your (and the TA) testing provide input and output pins to initialize and see the contents of R1, R2 and the IR.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started