Lab1_report
.pdf
keyboard_arrow_up
School
Iowa State University *
*We aren’t endorsed by this school
Course
201
Subject
Electrical Engineering
Date
Apr 3, 2024
Type
Pages
6
Uploaded by BrigadierRamPerson4431
CprE 381, Computer Organization and Assembly Level Programming Lab 1 Report Student Name: Joseph Barnes III Submit a typeset pdf version of this on Canvas by the due date. Refer to the highlighted language in the lab document for the context of the following questions
. [Part 1.c] Think of three more cases and record them in your lab report. Test case 3: s_iX <= 0; s_iW <= 2; s_iLdW <= 1; s_iY <= 0; wait for gCLK_HPER*2; Test case 4: s_iX <= 5; s_iW <= 0; s_iLdW <= 0; s_iY <= 11; wait for gCLK_HPER*2; wait for gCLK_HPER*2; Test case 5: s_iX <= 5; s_iW <= 2; s_iLdW <= 1; s_iY <= 3; wait for gCLK_HPER*2; wait for gCLK_HPER*2; end process; [Part 1.e] For labels 1, 7, 22, and 28, specify where (VHDL file and line number) these values are located – some will be found in more than one place. Also attempt to explain the functionality of each label as it occurs in the code Label 1 – In the attached file that was given label 1 is located on line 23 in the TPU_MV_Element.vhd Label 7 – In the attached file that was given label 7 is located on line 117 in the TPU_MV_Element.vhd Label 22 – In the attached file that was given label 22 is located on line 86 in the TPU_MV_Element.vhd Label 28 - In the attached file that was given label 28 is located on line 114 in the TPU_MV_Element.vhd
[Part 1.g.v] In your lab report, include a screenshot of the waveform. Describe, in plain English, any differences between what you expected and what the simulation showed. The expected output was 55, but the actual output was 33. The program verified that the timing is correct in the code, with 5 ns delay before the first cycle, 20 ns delay after the first cycle, and 40 ns delay after the second cycle. Despite this, the output doesn't match the expected result. [Part 1.h] In your lab report, include a screenshot of the waveform. Describe, in plain English, how your waveform matches the expected result (e.g., reference the specific cycles and times). In your submission zip file, provide the completed TPU_MV_Element.vhd
file in a folder called ‘MAC’. This output is correct because after the three test cases run, the output is 55. [Part 3.a] Draw the truth table, Boolean equation, and Boolean circuit equivalent (using only two-
input gates) that implements a 2:1 mux. Include this in your lab report. [Part 3.d] In your lab report, include a screenshot of the waveform. Make sure to label the screenshot with which module it is testing.
Above image is structural Mux2to1 waveform [Part 3.e] Again, in your lab report, include a labeled screenshot of the waveform showing the dataflow mux implementation working.
Above image is dataflow Mux2to1 waveform [Part 4] Include a waveform screenshot and corresponding description demonstrating it is working correctly.
The waveform displayed above corresponds to the Mux2to1_N operation. Its functionality is affirmed by the observed behavior: in the initial scenario, with the signal bit set to zero, it correctly selects D1 as the output; upon changing the signal bit to 1, the output appropriately switches to D0. [Part 5.b] Include a waveform screenshot and description in your lab report.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
THE FOLLOWING QUESTION CONTAINS ALL THE REQUIREMENTS NEEDED.
arrow_forward
please answer ASAP
Subject: MICROPROCESSOR
arrow_forward
Write assembly language program.
arrow_forward
Answer all 4 please. For your information last question is true or false
arrow_forward
Note: Please do not handwritten.
arrow_forward
Question iii please help......
arrow_forward
An 8085 assembly language program is given below.
Line 1: MVI A, B5H
2: MVI B, OEH
3: XRI 69H
4: ADD B
5: ANI 9BH
6: CPI 9FH
7: STA 3010H
8: HLT
The contents of the accumulator just execution of the ADD instruction in line
4 will be
arrow_forward
Thank you in advance.
arrow_forward
Here is the data flow diagram for a particular instruction. The various values shown indicate the state of the machine after the action of this
instruction. The question mark locates this instruction in memory.
GatePC
DR 100
GateMARMUX
RO
X2FFF
PC X
RI
x3006
MARMUX
TRAPVECTOR
R2
x3005
X0:0
PCMUX
R3
x3004
ZEXT
R4
x3003
OFPSETŐ OR
R5
x3002
PC OR BASER
R6
x3001
PCOFFSET
(7:0)
R7
x3000
ADDR2MUX
ADDRIMUX
SR2
SRI
(100
SEXT
IMMS
SEXT
SRZMUX
SEXT
FINITE
[50]
SEXT
STATE
[40]
MACHINE
Arith/Logic Operation
AL select
IRO01
A/L RESULT
LOGIC
GateALU
Gate MDR
16
16
MDR
MAR
T16
МЕМORY
x 30 0O
x 30 0 1
X 3:0:0 2
x3003
x3004
x 30 03
x3001
x: 3:0 0 4
X 30 05
X300 6
x3000
x3006
x3002
What is that instruction in binary? (You may use any number of spaces to organize the bits.)
address instruction
х3002
arrow_forward
The numbers from 0-9 and a no characters
is the Basic 1 digit seven segment display
* .can show
False
True
In a (CA) method of 7 segments, the
anodes of all the LED segments are
* "connected to the logic "O
False
True
Some times may run out of pins on your
Arduino board and need to not extend it
* .with shift registers
True
False
arrow_forward
Please answer the question
arrow_forward
Task 08
Perform the following arithmetic operations
1. 236DF * AF
2. 8A32F4D5/ C9A5
3. CA92 * BAF9
4. C2A2 * ABCD / BED
Task 09 (Home Task)
Write two examples for each combination of registers possible for the 'mov' instruction.
Hint: See the table above to see all the possible combinations.
Task 10 (Home Task)
Write two examples for each combination of registers possible for the 'add' and 'sub'
instructions.
Hint: See the table above to see all the possible combinations.
Task 11 (Home Task)
Perform the following arithmetic operation: (1+ 2) * (3 – 1) /5 +3 + 2- (1 * 2)
arrow_forward
RESEARCH
Draw at least 4 typrs of IC.
Discuss the different IC packages.
How to identify the pin numbering of IC?
Proper handling of IC.
What is seven-segment display?
How to produce the required decimal digit from 0 through 9 using seven-segment display?
Uses of seven-segment display.
arrow_forward
Here is the data flow diagram for a particular instruction. The various values shown indicate the state of the machine after the action of this
instruction.
GatePC
DR 101
GateMARMUX
RO
OnFFFO
OxFFFE
PC X
RI
MARMUX
TRAPVECTOR
R2
OxFFFD
X:0:0
PCMUX
R3
OFFFB
EXT
R4
ODFFA
OFFSET6 OR
R5
OXFFFD
PCOFPSET
PC OR BASER
R6
OcFFFC
(7:0)
R7
OscOFO8
ADDR2MUX
ADDRIMUX
SR2
SRI
010
[100]
SEXT
IMMS
(8:0)
SEXT
SEXT
FINITE
SRZMUX
[50]
SEXT
STATE
[4:0|
2
MACHINE
Arith/Logic Operation
AL select
A/L RESULT
LOGIC
GateALU
Gate MDR
16
MDR
MAR
16
OUTPUT
INPUT
MEMORY
XFE02
XFE06
What is that instruction in binary? (You may use any number of spaces to organize the bits.)
address instruction
x3002
arrow_forward
Can you explain this
arrow_forward
Choose the right answer :
arrow_forward
Question 1:
Use Indirect addressing to write a PIC24 assembly code that complements and
adds 5 and multiply by 2 to 1024 data bytes into the memory at starting address
Ox1000. The original data are stored in the memory starting from address 0x800.
it is an electrical engineering question . this is the full
information about the question!
arrow_forward
Consider the following assembly program
MOV CX, 1100H
DLY: SUBS CX, CX, #1
NOP
BNE DLY
NXT: ---
(a) How many times does the BNE DLY instruction get executed?
(b) Change the first line of the program so that BNE DLY is executed 34 times
(c) Change the second line of the program so that BNE DLY is executed 34 times,
while the fist line stays unchanged (MOV CX, 1100H)
arrow_forward
You should use ASCII code. you solve it wrong in last time.
arrow_forward
What is the purpose of the break statement?
Force the termination of a program.
When a break statement is encountered in a loop, the loop terminates immediately
and the execution resumes the next statement following the loop.
To produce the systematic code, and the break statement does not affecting the
program.
To make the code easy to understand.
arrow_forward
1 _ Compare between the status and control flags? Explain the status flags for the operation AEH+37H ? 2)
2 _What are the purposes of both segmentation and physical generation? Explain with draw and numerical example?
arrow_forward
ehcu.org/pluginfile.
هل ترید اس
لم يقم إيقاف
+
100%
10 / 11
Questions:-
1- Write a program in assembly language to perform the following logic
ci
CI
DL
[5100].
2- How we can perform the NEG and NOT instructions by using different
instructions.
3- Write the following program by using different instruction or instructions
for each instruction on the
program.
MOV AL , 00
MOV BX , FFFF
XOR CL , FF
NEG BYTE PTR [DI]
AND CX ,
161756649_26189.jpg O
12.jpg
LG
arrow_forward
i need the answer quickly
arrow_forward
please help me on this
arrow_forward
RESEARCH
What is an INTEGRATED CIRCUIT (IC)?
Uses or applications of Integrated Circuit.
Types of Integrated Circuit.
Draw at least 4 typrs of IC.
Discuss the different IC packages.
How to identify the pin numbering of IC?
Proper handling of IC.
What is seven-segment display?
How to produce the required decimal digit from 0 through 9 using seven-segment display?
Uses of seven-segment display.
arrow_forward
(c)
Figure Q3(c)(i) shows a register and Figure Q3(c)(ii) shows the input waveforms
(CLOCK and Data in) to the circuit.
A1
A9
A10
A2
Function generator
A3
A11
A12
AS
A13
A6
A14
A7
A15
Data in
Bop.7)
ip.r
82p.7)
Logic analyser
U1
U2
U3
U4
UO
6.
1.
6
1
6
INVERTER
3
CLK
3 CLK
oCLK
CLK
5
K
K
5
K
K
4027
Clock
Function generator
Figure Q3(c)(i)
(i)
Determine the type of register as shown in Figure Q3(c)(i).
arrow_forward
The observation of a certain measurement is described by the following figure.
'True' value
A
Which of the following statement is correct ?
O a.
low accuracy and high precision
O b. low accuracy and low precision
Oc high accuracy and low precision
O d. high accuracy and high precision
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning
Related Questions
- An 8085 assembly language program is given below. Line 1: MVI A, B5H 2: MVI B, OEH 3: XRI 69H 4: ADD B 5: ANI 9BH 6: CPI 9FH 7: STA 3010H 8: HLT The contents of the accumulator just execution of the ADD instruction in line 4 will bearrow_forwardThank you in advance.arrow_forwardHere is the data flow diagram for a particular instruction. The various values shown indicate the state of the machine after the action of this instruction. The question mark locates this instruction in memory. GatePC DR 100 GateMARMUX RO X2FFF PC X RI x3006 MARMUX TRAPVECTOR R2 x3005 X0:0 PCMUX R3 x3004 ZEXT R4 x3003 OFPSETŐ OR R5 x3002 PC OR BASER R6 x3001 PCOFFSET (7:0) R7 x3000 ADDR2MUX ADDRIMUX SR2 SRI (100 SEXT IMMS SEXT SRZMUX SEXT FINITE [50] SEXT STATE [40] MACHINE Arith/Logic Operation AL select IRO01 A/L RESULT LOGIC GateALU Gate MDR 16 16 MDR MAR T16 МЕМORY x 30 0O x 30 0 1 X 3:0:0 2 x3003 x3004 x 30 03 x3001 x: 3:0 0 4 X 30 05 X300 6 x3000 x3006 x3002 What is that instruction in binary? (You may use any number of spaces to organize the bits.) address instruction х3002arrow_forward
- The numbers from 0-9 and a no characters is the Basic 1 digit seven segment display * .can show False True In a (CA) method of 7 segments, the anodes of all the LED segments are * "connected to the logic "O False True Some times may run out of pins on your Arduino board and need to not extend it * .with shift registers True Falsearrow_forwardPlease answer the questionarrow_forwardTask 08 Perform the following arithmetic operations 1. 236DF * AF 2. 8A32F4D5/ C9A5 3. CA92 * BAF9 4. C2A2 * ABCD / BED Task 09 (Home Task) Write two examples for each combination of registers possible for the 'mov' instruction. Hint: See the table above to see all the possible combinations. Task 10 (Home Task) Write two examples for each combination of registers possible for the 'add' and 'sub' instructions. Hint: See the table above to see all the possible combinations. Task 11 (Home Task) Perform the following arithmetic operation: (1+ 2) * (3 – 1) /5 +3 + 2- (1 * 2)arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Electricity for Refrigeration, Heating, and Air C...Mechanical EngineeringISBN:9781337399128Author:Russell E. SmithPublisher:Cengage Learning
Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning