Functional Coverage Flashcards

1
Q

What does a cover group contain?

A

A cover group contains cover points, options, formal arguments, and an optional trigger.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The basic unit of coverage.

A

A bin.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the domain of a cover point?

A

A domain is the range of possible values. A three bit variable has a range of 000-111.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many bins would be needed to measure a 5-bit variable crossed with a 3-bit variable?

A

M*N bins would be needed. In this case, 2^^5 * 2^^3 = 2^^8 = 256;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can coverage group sampling be stopped and started in a procedure?

A

Yes. cover groups have stop() and start() methods.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Does auto_bin_max apply to enumerated types?

A

No. When you gather coverage on enumerated types, auto_bin_max does not apply.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Can you use an expression in a cover point? If so, where would it go?

A

Yes. It goes where the signal would go, but don’t forget the parens:

 data_high : coverpoint (trans.data >= 64'hfffffff0)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Do default bins count towards coverage?

A

No. The LRM says that default bins are not used in coverage calculation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does cross coverage measure?

A

Cross coverage measures what values were seen for two or more cover points at the same time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When are bins created?

A

Bins are created when you specify a variable or expression in a cover point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly