svt_mem_driver Class Reference

Inheritance diagram for class svt_mem_driver:

List of all members.


Detailed Description

This class is a memory driver class. It extends the svt_reactive_driver base class and adds the seq_item_port necessary to connect with an svt_mem_sequencer .



Public Member Functions

virtual function uvm_object_wrapper  get_object_type ( )
static function type_id  get_type ( )
virtual function string  get_type_name ( )

Public Attributes

static const string  type_name = "svt_mem_driver"; 

Protected Member Functions

function void  post_response_get ( svt_mem_transaction rsp )
function void  post_response_get_cov ( svt_mem_transaction req, svt_mem_transaction rsp )
function void  pre_request_put ( svt_mem_transaction req )
function void  transaction_ended ( svt_mem_transaction req, svt_mem_transaction rslt )
function void  transaction_started ( svt_mem_transaction req, svt_mem_transaction rsp )

Member Typedefs

 typedef class  type_id 


Member Function Documentation

 virtual function uvm_object_wrapper
 svt_mem_driver::get_object_type

 (   ) 


 Superseded functions 
 uvm_object :: get_object_type 

 static function type_id
 svt_mem_driver::get_type

 (   ) 


 Superseded functions 
 uvm_object :: get_type 

 virtual function string
 svt_mem_driver::get_type_name

 (   ) 


 Superseded functions 
 uvm_object :: get_type_name 
 uvm_component :: get_type_name 
 uvm_driver :: get_type_name 

 protected function void
 svt_mem_driver::post_response_get

 (  svt_mem_transaction rsp  ) 


Called after getting a response from the memory reactive sequencer, but before the post_responsed_get_cov callbacks are executed. Modifying the response descriptor will modify the response itself.

rsp - A reference to the memory response descriptor

 protected function void
 svt_mem_driver::post_response_get_cov

 (  svt_mem_transaction req , svt_mem_transaction rsp  ) 


Called after the post_response_get callbacks have been executed, but before the response is physically executed by the driver. The request and response descriptors must not be modified. In most cases, both the request and response descriptors are the same objects.

req - A reference to the memory request descriptor

rsp - A reference to the memory response descriptor

 protected function void
 svt_mem_driver::pre_request_put

 (  svt_mem_transaction req  ) 


Called before sending a request to memory reactive sequencer. Modifying the request descriptor will modify the request itself.

req - A reference to the memory request descriptor

 protected function void
 svt_mem_driver::transaction_ended

 (  svt_mem_transaction req , svt_mem_transaction rslt  ) 


Called after the memory transaction has been completely executed. The memory request and response descriptors must not be modified. In most cases, both the request and response descriptors are the same objects.

req - A reference to the memory request descriptor

rslt - A reference to the completed memory transaction descriptor.

 protected function void
 svt_mem_driver::transaction_started

 (  svt_mem_transaction req , svt_mem_transaction rsp  ) 


Called when the driver starts executing the memory transaction response. The memory request and response descriptors should not be modified.

req - A reference to the memory request descriptor

rsp - A reference to the memory response descriptor


Member Attribute Documentation

 static const string  attribute
 svt_mem_driver::type_name = "svt_mem_driver"


 Superseded attributes 
 uvm_component :: type_name 
 uvm_driver :: type_name 


Member Typedef Documentation

 typedef class  svt_mem_driver::type_id
 Typedefe'd string ==>   uvm_component_registry#(svt_mem_driver,)