Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A 2-BIT CPU has to be built in Logicworks using the above instructions Build a 2-Bit CPU Objective of this lab: The purpose of this

image text in transcribed

A 2-BIT CPU has to be built in Logicworks using the above instructions

Build a 2-Bit CPU Objective of this lab: The purpose of this labi to learn about CPO Organisation by bling si plitiedotCO. Preparation Lab Assignment for the put operands 1 Bunda 2-bit CPU by expanding the 1-bit CPU described in the wb notes Remember to have a 2 bit bus for your design 2 The 2bit CPU will do the following operations For instruction 00, do 2-bit XOR test 10 XOR 11 = 01 o For instruction 01, do 2. AND. test 10 AND 1110 For instruction 10 do bit Addition, use your half adider, test 1.1 10. leave the higher bus bit as for the input operands For instruction 11. do bit Subtraction, use your hair subtractor and make the connections do ACC - TEMP O -1 11 leave the higher but as Hand in the following: 1. The completed 2 CPU Cut 2 The micro instructions (steps necessary to implement the following operations described above Remember the pre-conditions Do the XOR operation with the values in register Band C and the result in C Do the AND operation with the values in register Band C, and store the result in B . Do the ADD operation with the values in register ACC and C, and store the result in B For the operands, use values in the lower bit and fill the higher bit with For the result store the sum bit in the lower bit and c ry but in the higher bit. Do the SUB operation with the values in register Band TEMP, and store the result in C For the operance values in the lower bit and the gher but with For the result store the difference it in the lower bit and the borrow but in the higher bit 3. Please Note For all above four operations, you need to preload values in the registers from the Extin Use the above testing examples for your lab hand-in microstructions Build a 2-Bit CPU Objective of this lab: The purpose of this labi to learn about CPO Organisation by bling si plitiedotCO. Preparation Lab Assignment for the put operands 1 Bunda 2-bit CPU by expanding the 1-bit CPU described in the wb notes Remember to have a 2 bit bus for your design 2 The 2bit CPU will do the following operations For instruction 00, do 2-bit XOR test 10 XOR 11 = 01 o For instruction 01, do 2. AND. test 10 AND 1110 For instruction 10 do bit Addition, use your half adider, test 1.1 10. leave the higher bus bit as for the input operands For instruction 11. do bit Subtraction, use your hair subtractor and make the connections do ACC - TEMP O -1 11 leave the higher but as Hand in the following: 1. The completed 2 CPU Cut 2 The micro instructions (steps necessary to implement the following operations described above Remember the pre-conditions Do the XOR operation with the values in register Band C and the result in C Do the AND operation with the values in register Band C, and store the result in B . Do the ADD operation with the values in register ACC and C, and store the result in B For the operands, use values in the lower bit and fill the higher bit with For the result store the sum bit in the lower bit and c ry but in the higher bit. Do the SUB operation with the values in register Band TEMP, and store the result in C For the operance values in the lower bit and the gher but with For the result store the difference it in the lower bit and the borrow but in the higher bit 3. Please Note For all above four operations, you need to preload values in the registers from the Extin Use the above testing examples for your lab hand-in microstructions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions

Question

Describe the appropriate use of supplementary parts of a letter.

Answered: 1 week ago