273S23key
pdf
keyboard_arrow_up
School
San Jose State University *
*We aren’t endorsed by this school
Course
273
Subject
Electrical Engineering
Date
Apr 3, 2024
Type
Pages
2
Uploaded by ColonelLightning4050
EE273 S’23 midterm
A
1. Why are clock timings normally part of drivers and monitors? (10 points)
They tend to be implementation specific, and are typically not part of a higher level specific
2. When does verification happen related to design? Why? (10 points)
Verification happens before design. Design need to develop an architecture, and then design. They need the verification the moment they have code.
3. Why does uvm_analysis_imp have two parameters? (10 points)
One for the message type, and one for the class containing the write function.
4. What are the first two things to look for when planning verification? (10 points)
Statically invalid
Dynamically invalid
Some will say: Customer usage and important features
5. Draw a UVM Box diagram for an observing test bench to check a gray scale communication system. The system uses a 3 bit gray scale code 000 → 001 → 011 → 010 → 110 → 111 → 101 → 100 then to 000. The sequence steps forward for each 1 data bit, and steps backward for each 0 data bit. Assume a message is available which has the data to be transmitted. Assume a monitor message is available with the 3 bits of the gray code. The monitor data is sampled every 10ns. You should have at least 5 scoreboard boxes. (30 points)
Many solutions: Steps leading to boxes could be:
•
Detect new code
•
Check forward one step, or backwards one step
•
Create one or zero from change
•
Serial to parallel conversion •
Compare to expected
6. Write complete System Verilog code for a uvm_sequence body to generate test patterns for a 32 bit signed adder. Ensure that 250 patterns have A<B, 250 with A negative, and B positive, 250 with A positive and B negative, and 250 with A negative and B negative. Then generate 1000 test patterns with A>B and B is positive. Assume a message data class extended from uvm_sequence_item named ‘SI’ with rand variables A and B. (30 points)
Many answers: expecting repeat or for loops containing constrained random cases and start/finish
1
1
EE273 S’23 midterm
B
1. If a bus interface is not part of the specification, where should it be handled in UVM? (10 points)
Drivers and monitors
2. When does verification happen related to design? Why? (10 points)
Verification happens before design. Design need to develop an architecture, and then design. They need the verification the moment they have code.
3. Which UVM components have parameters? Why? (10 points)
uvm_sequencer, uvm_driver. uvm_sequence is not a components
4. What are the first two things to look for when planning verification? (10 points)
Statically invalid
Dynamically invalid
Some will say: Customer usage and important features
5. Draw a UVM Box diagram for an observing test bench to check a 7 segment display in a countdown system. The system starts at 80 seconds, and then counts down to 00 seconds. The display is two 7 segment digits. Draw a box diagram for an observing test bench which verifies the display counts down correctly. You receive a monitor message containing 7 segments for 2 digits sampled every 10ns. Your box diagram should have at least 6 scoreboards. (30 points)
Many solutions, steps could include:
•
look for change in 7 segments (2 boxes)
•
convert 7 segments to digit, record time(2 boxes)
•
combine two digits into a single number
•
check time from last digit change
•
check counts down correctly
•
check stays at zero
6. Write complete System Verilog code for a uvm_sequence body to generate test patterns for a 32 bit signed multiplier. Ensure that 250 patterns have A equals -B, 250 with A negative, and B positive, 250 with A positive and B negative, and 250 with A negative and B negative. Then generate 1000 test patterns with A>B and B is positive. Assume a message data class extended from uvm_sequence_item named ‘SI’ with rand variables A and B. (30 points)
Many answers: expecting repeat or for loops containing constrained random cases and start/finish
2
1
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 Documents
Related Questions
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
A 9-bit asynchronous counter has a 128-kHz clock signal applied.
(1) What is the MOD number of this counter?
MOD number =
(ii) What will be the frequency at the MSB output?
fmsb =
(iii)
Assume that the counter starts at zero. What will be the count after 635 input pulses?
After 635 input pulse, Count =
arrow_forward
8:37 4 A M
Vo)
Gt LTE1
You
Just now
i) Analyse and execute the following 8051 Instructions and specify the output
and explain the contents of the registers with comments
MOV A, #92H
SWAP A
In the absence of a SWAP instruction, how would you exchange the
nibbles? Write an 8051 ALP to show the process
ii) Analyse and execute the following 8051 Instructions and specify the output
and explain the contents of the registers with comments.
CLRC
MOV A, #4FH
SUBB A#6DH
JNC NXT
CPL
A
INC
A
NXT: MOV RI,A
ADD A,RI
arrow_forward
program using emu 8086
arrow_forward
Using the emu8086 program, I need
to solve two points and explain the
difference in the solutions between
them.
Question: Compute the physical address for the specified
each of the following instructions. The register contents and
as follows: (CS)=0A00H, (DS)=0B00Н,
(DI)=00BOH, (BP)=00EAH and
BX-2500H.
1) Destination operand of the instruction
2) Source operand of the instruction
(IP)-0000H,
(SS)=0D00H,
LIST=00FOH,
MOV LIST [BP+DI], AX
MOV CL, [BX+200H]
operand in
variable are
(SI)=OFFOH,
AX=4020H,
arrow_forward
d)
Draw the schematics of 4-bit synchronous and asynchronous MOD-8
counters and comment on their pros and cons.
e)
Calculate the noise margin for a logic gate with the following logic levels:
VIL = 1.1 V, VIH = 3.2 V, VOL = 0.6 V, VOH = 4.0 V.
arrow_forward
Q3/(A) False OR True
1- A0-0 and BHE-1 are used as low bank-select signal:
2-AX is 2234 H after executing the following instruction: AAS. If AX-2234H.
3-IP register holds the offset address of the next instruction to be executed.
4- The XLAT instruction in 8086 assembly language is used to perform arithmetic
operations between two memory operands.
5- Bus interface unit is responsible form
arrow_forward
Question iii please help......
arrow_forward
Please help me, solve this question.
arrow_forward
Y=f(A,B,C)=(0,4,5)+don't care(2)
arrow_forward
assembly 8051 microcontroller language
arrow_forward
In IC 74153,the input at pin number 14 is
Options
A-Connected to ground
B-Connected to power/VCC
C-Connected to LOGIC State
D-Connected to LOGIC Probe
arrow_forward
Solve all part plz or don't attempt.
arrow_forward
P. 2. Consider a proposed new instruction named rpt. This instruction combines a loop's
condition check and counter decrement into a single instruction. For example rpt x29, loop
would do the following:
if (x29 >0) {
x29 = x29 -1:
goto loop
a) If this instruction were to be added to the RISC-V instruction set. what is the most appropriate
instruction format?
b) What is the shortest sequence of RISC-V instructions that performs the same operation?
arrow_forward
I need the answer as soon as possible
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Related Questions
- 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_forwardA 9-bit asynchronous counter has a 128-kHz clock signal applied. (1) What is the MOD number of this counter? MOD number = (ii) What will be the frequency at the MSB output? fmsb = (iii) Assume that the counter starts at zero. What will be the count after 635 input pulses? After 635 input pulse, Count =arrow_forward8:37 4 A M Vo) Gt LTE1 You Just now i) Analyse and execute the following 8051 Instructions and specify the output and explain the contents of the registers with comments MOV A, #92H SWAP A In the absence of a SWAP instruction, how would you exchange the nibbles? Write an 8051 ALP to show the process ii) Analyse and execute the following 8051 Instructions and specify the output and explain the contents of the registers with comments. CLRC MOV A, #4FH SUBB A#6DH JNC NXT CPL A INC A NXT: MOV RI,A ADD A,RIarrow_forward
- program using emu 8086arrow_forwardUsing the emu8086 program, I need to solve two points and explain the difference in the solutions between them. Question: Compute the physical address for the specified each of the following instructions. The register contents and as follows: (CS)=0A00H, (DS)=0B00Н, (DI)=00BOH, (BP)=00EAH and BX-2500H. 1) Destination operand of the instruction 2) Source operand of the instruction (IP)-0000H, (SS)=0D00H, LIST=00FOH, MOV LIST [BP+DI], AX MOV CL, [BX+200H] operand in variable are (SI)=OFFOH, AX=4020H,arrow_forwardd) Draw the schematics of 4-bit synchronous and asynchronous MOD-8 counters and comment on their pros and cons. e) Calculate the noise margin for a logic gate with the following logic levels: VIL = 1.1 V, VIH = 3.2 V, VOL = 0.6 V, VOH = 4.0 V.arrow_forward
- Q3/(A) False OR True 1- A0-0 and BHE-1 are used as low bank-select signal: 2-AX is 2234 H after executing the following instruction: AAS. If AX-2234H. 3-IP register holds the offset address of the next instruction to be executed. 4- The XLAT instruction in 8086 assembly language is used to perform arithmetic operations between two memory operands. 5- Bus interface unit is responsible formarrow_forwardQuestion iii please help......arrow_forwardPlease help me, solve this question.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
