NEW
Font size
WorksheetsModule III
Total questions: 15
Worksheet time: 8mins
The advantage(s) of randomization
It saves time and effort in verification instead of writing a test for every possible scenario.
It has the capability of finding hidden bugs with some random combinations.
Both of these
None of these
The difference between rand and randc is
rand is for floating points and randc is for integers.
randc keyword provides random values without repeating the same value unless a complete range is covered, while rand provides uniformly distributed random variables.
rand keyword provides random values without repeating the same value unless a complete range is covered, while randc provides uniformly distributed random variables.
randc is a normal distribution and rand is a uniform distribution.
Which of the following is not true for a constraint block?
Constraints block must have a unique name within a class.
A constraint block can call a function to get constraint values as the return value from the function.
Constraints are written inside square brackets.
For a particular class, constraint blocks can be written inside a class or outside a class using extern keywords.
The method involves disabling constraints for a particular variable (constraint_mode(0)) or disabling randomization itself.
Pre-randomization
Post-randomization
Assertions
External
To disable randomization, which of the following is used?
rand_mode(1)
rand_mode(0)
rand_mode(n)
rand_mode
The problem with the following statement rand int addr; constraint c { addr < 8; } is
Over-constrained variable
Under-constrained variable
Constraints not pure
Inline constraints that clash with class constraints
Randomization works in:
static methods
virtual methods with no handle
interfaces
Only class objects can have rand variables.
A generic term for measuring progress to complete design verification.
coverage
latency
bandwidth
timing
______________ measures how thoroughly your tests exercised the implementation of the design specification, and not the verification plan.
bug rate
code coverage
functional coverage
assertions
A container that holds cover points and crosses is called ________
a) cover bin
b) cover group
c) cover item
d) cover class
When is Functional Coverage Complete?
When all bins in all coverpoints are hit.
When all cross combinations reach the required coverage.
When coverage goals (e.g., 90% or 100%) are met.
All of these.
______________ measures how thoroughly your tests exercised the implementation of the design specification, and not the verification plan.
code coverage
testbench coverage
requirement coverage
functional coverage
The default value of rand_mode
1
0
empty parentheses
none of these
A constraint that gives the solver some flexibility, indicating that the constraint needs to be satisfied.
soft constraint
hard constraint
range constraint
inside constraint
Both array constraints and iterative constraints
have control size
controls min/max/sum
controls ordering
none of these
