test_class_basic Class Reference
Test Class - Basic.
More...
List of all members.
Detailed Description
Test Class - Basic.
Just a basic class declaration.
"String in Quotes in a comment"
Definition at line 517 of file test.sv.
Member Enumeration Documentation
- Enumerator:
-
| A |
A State. |
| B |
B State. |
| C |
C State. |
| D |
D State. |
Definition at line 529 of file test.sv.
- Enumerator:
-
Definition at line 535 of file test.sv.
Member Function Documentation
| covergroup test_class_basic::cov1 |
( |
|
) |
|
Cov1 Coverage Group.
Covers m_alpha and m_mn
Definition at line 574 of file test.sv.
| covergroup test_class_basic::cov2 |
( |
|
) |
|
Cov2 Coverage Group.
Covers m_protected_bit and m_protected_int on m_protected_bit event.
Definition at line 584 of file test.sv.
| covergroup test_class_basic::cov3 |
( |
int |
arg1, |
|
|
int |
arg2 | |
|
) |
| | |
Cov3 Coverage Group with args.
Covers m_protected_bit and m_protected_int on m_protected_bit event.
Definition at line 594 of file test.sv.
| covergroup test_class_basic::cov4 |
( |
int |
arg1, |
|
|
int |
arg2 | |
|
) |
| | |
Cov4 Coverage Group with args on 2 lines.
Covers m_protected_bit and m_protected_int on m_protected_bit event.
Definition at line 604 of file test.sv.
| covergroup test_class_basic::cov5 |
( |
int |
arg1, |
|
|
int |
arg2 | |
|
) |
| | |
Cov5 Coverage Group with args on with sampling.
Covers m_protected_bit and m_protected_int on m_protected_bit event.
Definition at line 615 of file test.sv.
| constraint test_class_basic::extern_constraint |
( |
|
) |
|
Extern Constraint.
Constraint body defined extern.
Definition at line 738 of file test.sv.
| void test_class_basic::myexternfunction |
( |
|
) |
[private] |
Extern Function.
Test extern function
Test method access specifier
- Returns:
- void
Definition at line 747 of file test.sv.
| void test_class_basic::myprivatefunction |
( |
|
) |
[private] |
local function.
Test method access specifier
- Returns:
- void
Definition at line 710 of file test.sv.
| void test_class_basic::myprotectedexternfunction |
( |
|
) |
[protected] |
Protected Extern Function.
Test extern function
Test method access specifier
- Returns:
- void
Definition at line 761 of file test.sv.
| task test_class_basic::myprotectedfunction |
( |
|
) |
[protected] |
Protected Task.
Test method access specifier
Definition at line 686 of file test.sv.
| task test_class_basic::myprotectedfunction |
( |
|
) |
[protected] |
Protected Task.
Test method access specifier
Definition at line 677 of file test.sv.
| virtual task test_class_basic::mypublicvirtualfunction |
( |
|
) |
[virtual] |
Public Task.
Test method access specifier.
Test virtual method specifier.
Definition at line 661 of file test.sv.
| virtual int test_class_basic::mypurevirtualfunction |
( |
int |
A, |
|
|
int |
B | |
|
) |
| | [pure virtual] |
Pure Virtual Function.
Test pure virtual specifier
- Parameters:
-
| A | int - description of parameter A |
| B | int - description of parameter B |
- Returns:
- int
| virtual task test_class_basic::mypurevirtualtask |
( |
|
) |
[pure virtual] |
Pure Virtual Task.
Test pure virtual specifier
| virtual void test_class_basic::myvirtualfunction |
( |
|
) |
[virtual] |
Virtual Function.
Test Virtual Function
Test bit vector braces
Test literals with tickmark (')
- Returns:
- void
Definition at line 722 of file test.sv.
| test_class_basic::new |
( |
time |
myint, |
|
|
bit |
mybit = 0 | |
|
) |
| | |
Constructor.
Class Constructor
- Parameters:
-
| myint | int - description of parameter myint |
| mybit | bit - description of parameter mybit (defaults to 0) |
Definition at line 628 of file test.sv.
| constraint test_class_basic::small_int |
( |
|
) |
|
Small Int Constraint.
Constrain m_local_int to a small value.
Definition at line 550 of file test.sv.
| constraint test_class_basic::word_align |
( |
|
) |
|
Word Align Constraint.
Constrain m_public_bitvector to word align
Definition at line 557 of file test.sv.
Member Data Documentation
Alpha State.
Definition at line 539 of file test.sv.
Fixed Size Array of Int.
Definition at line 525 of file test.sv.
Private Event.
Definition at line 524 of file test.sv.
Private Int.
Definition at line 520 of file test.sv.
Protected Bit.
Definition at line 522 of file test.sv.
Protected Int.
Definition at line 521 of file test.sv.
Public Bit Vector.
Definition at line 527 of file test.sv.
Public Event.
Definition at line 523 of file test.sv.
A public variable.
Definition at line 543 of file test.sv.
The documentation for this class was generated from the following file: