SV
task と function がある
pure virtual, extern も
construtor も
function new ;
// block_item_decls
// statement
endfunction // : new とラベルを付けられる
function new ( );
function new ( portA );
function scope new ;
function new ( arg );
super.new ( arg );
endfunction
class C ;
static function int fff ; ... endfunction
static task kkk (); .... endtask
endclass
class 定義の外側で method を定義
class A;
extern protected virtual function int send ( int data );
// use extern
endclass
function int A::send ( int data );
//
endfunction
{ method_qualifier } task_declaration
{ method_qualifier } function_declaration
pure virtual { class_item_qualifier } method_prototype ;
extern { method_qualifier } method_prototype ;
{ method_qualifier } class_constructor_declaration
extern { method_qualifier } class_constructor_declaration
function new [ ( [ tf_port_list ] ) ] ;