Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

Simulation Lab 4 Answer Sheet The Microprocessor (GRADED A+)

Rating
-
Sold
-
Pages
20
Uploaded on
14-04-2023
Written in
2022/2023

CSE/EEE 120 Simulation Lab 4 Answer Sheet The Microprocessor Task 4-1: Build the Brainless Central Processing Unit Include a picture of your Logisim Brainless Central Processing Unit circuit here: Task 4-2: Test and Control the Brainless Central Processing Unit Perform the testing procedures outlined in the laboratory manual and fill in the blanks below. (Note that these questions appear in the text of the laboratory manual.)  Record the first number placed on the data bus here: 5  What do the following three switches need to be set to in order to perform the pass-through operation? /~A_Only = 0 /~Invert= 1 Logic/~Arith= X (don’t care)  Enter the second number you entered into the data bus here: 1  What do the following three switches need to be set to in order to perform the ADD operation? /~A_Only = 1 /~Invert= 1 Logic/~Arith= 0  Write down the number that appears in the accumulator here: 6 2 Describe other numerical additions and other operations you checked in order to verify your brainless CPU here: I toggled the clock input (twice) multiple times to see that it would add “1” to each previous total. I also placed different numbers on the data bus toggled the clock input pin twice to lock the output of the ALU into the Accumulator, then added a new number into the data bus, toggled the clock twice and validated that it was adding the number to the stored sum. After you are convinced your circuit is working properly, remove the 4-bit binary keyboard and set the ACC to Data Bus pin to 1. Did the output of the accumulator appear on the data bus? Yes How does the output of the ALU change? It changes from an error to the sum (output of the Accumulator + output of the Accumulator). If the 4-bit binary keyboard was not removed and the ACC to Data Bus switch is set to 1, what would you expect to see displayed in the hex digit display attached to the data bus? I would expect to see a data conflict (an error), we would have the output of the Accumulator being fed into the output of the 4-bit binary keyboard, the only way this would not cause an error is if the binary keyboard output is the same as the Accumulator output. Add the 4-bit binary keyboard back into your circuit and observe the hex digit display on the data bus for various keyboard values. Is the value on the hex digit display what you expected? Yes Explain: The Data Bus cannot receive two different inputs; it will cause a data error. Enabling the 3 state buffer (setting ACC to Data Bus = 1), allows the pass through of the output of the Accumulator Register to the Data Bus. Why do you think the register at the output of the ALU is called the ‘accumulator’? It accumulates or stores the output of the ALU at rise of every clock toggle. Task 4-3: Build the Addressing Logic Include a picture of your Logisim addressing logic circuit here:

Show more Read less
Institution
Course

Content preview

CSE/EEE 120

Simulation Lab 4 Answer Sheet
The Microprocessor
Name: Noel Beyard

Date: 11/27/2016

Task 4-1: Build the Brainless Central Processing Unit
Include a picture of your Logisim Brainless Central Processing Unit circuit here:




Task 4-2: Test and Control the Brainless Central Processing Unit
Perform the testing procedures outlined in the laboratory manual and fill in the blanks below. (Note
that these questions appear in the text of the laboratory manual.)

 Record the first number placed on the data bus here: 5
 What do the following three switches need to be set to in order to perform the pass-through
operation? /~A_Only = 0 /~Invert= 1 Logic/~Arith= X (don’t care)
 Enter the second number you entered into the data bus here: 1
 What do the following three switches need to be set to in order to perform the ADD operation?
/~A_Only = 1 /~Invert= 1 Logic/~Arith= 0
 Write down the number that appears in the accumulator here: 6

1

,Describe other numerical additions and other operations you checked in order to verify your brainless
CPU here: I toggled the clock input (twice) multiple times to see that it would add “1” to each
previous total. I also placed different numbers on the data bus toggled the clock input pin twice to
lock the output of the ALU into the Accumulator, then added a new number into the data bus, toggled
the clock twice and validated that it was adding the number to the stored sum.

After you are convinced your circuit is working properly, remove the 4-bit binary keyboard and set the
ACC to Data Bus pin to 1. Did the output of the accumulator appear on the data bus? Yes

How does the output of the ALU change? It changes from an error to the sum (output of the
Accumulator + output of the Accumulator).

If the 4-bit binary keyboard was not removed and the ACC to Data Bus switch is set to 1, what would you
expect to see displayed in the hex digit display attached to the data bus? I would expect to see a data
conflict (an error), we would have the output of the Accumulator being fed into the output of the 4-bit
binary keyboard, the only way this would not cause an error is if the binary keyboard output is the
same as the Accumulator output.

Add the 4-bit binary keyboard back into your circuit and observe the hex digit display on the data bus for
various keyboard values. Is the value on the hex digit display what you expected? Yes

Explain: The Data Bus cannot receive two different inputs; it will cause a data error. Enabling the 3
state buffer (setting ACC to Data Bus = 1), allows the pass through of the output of the Accumulator
Register to the Data Bus.

Why do you think the register at the output of the ALU is called the ‘accumulator’? It accumulates or
stores the output of the ALU at rise of every clock toggle.

Task 4-3: Build the Addressing Logic
Include a picture of your Logisim addressing logic circuit here:




2

, Test your circuit and record the results in Table 1. Include a picture of your Logisim addressing logic
circuit testing set up.

Table 1
A
Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
(4-bit binary)
0000 1 0 0 0 0 0 0 0
0001 0 1 0 0 0 0 0 0
0101 0 0 0 0 0 1 0 0
0111 0 0 0 0 0 0 0 1




3

Written for

Course

Document information

Uploaded on
April 14, 2023
Number of pages
20
Written in
2022/2023
Type
OTHER
Person
Unknown

Subjects

$13.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExamsConnoisseur Self
Follow You need to be logged in order to follow users or courses
Sold
587
Member since
3 year
Number of followers
344
Documents
1492
Last sold
6 days ago

4.2

68 reviews

5
40
4
11
3
13
2
1
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions