test_class_basic Class Reference

Test Class - Basic. More...

Inheritance diagram for test_class_basic:

Inheritance graph
[legend]

List of all members.

Public Types

enum  alpha_enum_t { A, B, C, D }
enum  mn_enum_t { M, N }

Public Member Functions

constraint small_int ()
 Small Int Constraint.
constraint word_align ()
 Word Align Constraint.
constraint extern_constraint ()
 Extern Constraint.
covergroup cov1 ()
 Cov1 Coverage Group.
covergroup cov2 ()
 Cov2 Coverage Group.
covergroup cov3 (int arg1, int arg2)
 Cov3 Coverage Group with args.
covergroup cov4 (int arg1, int arg2)
 Cov4 Coverage Group with args on 2 lines.
covergroup cov5 (int arg1, int arg2)
 Cov5 Coverage Group with args on with sampling.
 new (time myint, bit mybit=0)
 Constructor.
virtual task mypublicvirtualfunction ()
 Public Task.
virtual task mypurevirtualtask ()=0
 Pure Virtual Task.
virtual int mypurevirtualfunction (int A, int B)=0
 Pure Virtual Function.
virtual void myvirtualfunction ()
 Virtual Function.

Public Attributes

event m_public_event
 Public Event.
int m_int_array [1:32]
 Fixed Size Array of Int.
rand bit< 31:0 > m_public_bitvector
 Public Bit Vector.
alpha_enum_t m_alpha
 Alpha State.
bit m_public_var
 A public variable.

Protected Member Functions

void myprotectedexternfunction ()
 Protected Extern Function.
task myprotectedfunction ()
 Protected Task.
task myprotectedfunction ()
 Protected Task.

Protected Attributes

rand int m_protected_int
 Protected Int.
rand bit m_protected_bit
 Protected Bit.

Private Member Functions

void myexternfunction ()
 Extern Function.
void myprivatefunction ()
 local function.

Private Attributes

rand int m_local_int
 Private Int.
event m_local_event
 Private Event.


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:
M  M State.
N  N State.

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.

rand int test_class_basic::m_local_int [private]

Private Int.

Definition at line 520 of file test.sv.

rand bit test_class_basic::m_protected_bit [protected]

Protected Bit.

Definition at line 522 of file test.sv.

rand int test_class_basic::m_protected_int [protected]

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:

Intelligent Design Verification
Intelligent Design Verification
Project: Test, Revision: 1.0.0
Copyright (c) 2008 Intelligent Design Verification.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included here:
http://www.intelligentdv.com/licenses/fdl.txt
doxygen
Doxygen Version: 1.5.8
IDV SV Filter Version: 2.4.0
Mon Jun 22 22:48:39 2009
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV