Font size
WorksheetsDigital Design Quiz 1
Total questions: 10
Worksheet time: 55mins
What action can be taken to disable the randomization of any random variable?
Constraint the variable to "0"
Set rand_mode of variable to "0"
Override in post_randomize function
Set constraint_mode to "0"
What will be the value of var after below randomization?
rand bit [7:0] var;
constraint var_valid {!(var inside {[10:30]};);}
Less than 10
Greater than 30
Less than 10 or greater than 30
Between 10 and 30
Considering the given circuit, which switching leads to a dynamic hazard?
a=0>1, b=1, c=0, d=1
a=0>1, b=1, c=0, d=0
a=1, b=0, c=1, d=0>1
a=0, b=1, c=0, d=0>1
A verification engineer is interested in defining a variable to solve his constraints to iterates over all values in a given range without repetition of numbers as shown in the below diagram . Which of the following modifiers best suits for his requirement?
rand
$random
constraint
randc
Which of the following statement/statements are correct regarding the final procedure?
The final procedure doesn't take simulation time
A final procedure shall execute after any PLI callbacks that indicate the end of simulation.
The final procedure only triggers once in a simulation
$finish can be executed within a final procedure
In 2’s complement representation the number 11011101 represents the decimal number
-43
-21
-35
Answer is missing
Which statement/statements are correct about the decade counter
It counts through 9 states
It skips counting binary steps from 1010 to 1111
It counts only up to 1001 in binary
To set the counter output to zero, the reset line must be set to high
Consider the given equation. Which could be the value of "x"?
8
10
7
Answer is missing
A serially-fed shift register takes 40 micro-seconds to enter 8-bits. What could be the clock frequency?
25kHz
3125Hz
200kHz
1600kHz
Which of the following circuit diagrams are equivalent to the code given?
