VIP Smartsearch

X
  • VIP Smartsearch is a framework that supports search within VIP reference documents using query in natural language. It facilitates reordering of search results and keeps record of user’s decision for the ordering of result display and applies that in search of same query on subsequent usage.
  • How to download VIP smartsearch?

    1. Get VIP Smartsearch (Available as a seperate run file).
    2. Set environment variable
      DESIGNWARE_HOME
      to required designware home location where VIP Smartsearch should be downloaded.
    3. Run
      vip_smartsearch_<version>.run
      file.
      VIP Smartsearch will be downloaded to the location
      $DESIGNWARE_HOME/vip/svt/vip_smartsearch/<version>
  • How to install VIP Smartsearch?

    Please refer to the file
    VIP_Smartsearch_installation_and_usage_guide.pdf
    in
    $DESIGNWARE_HOME/vip/svt/vip_smartsearch/<version>
    for installation steps.
  • Customer Support

    For more details about VIP smartsearch tool, contact support_center@synopsys.com.
    Mention your queries along with below details and send email to above email id.
    Product: Verification IP
    Sub Product: <vip_title>
    Tool: VIP Smartsearch

svt_dti_master Class Reference

Inheritance diagram for class svt_dti_master:

List of all members.


Detailed Description

This class is UVM Driver that implements an DTI Master component.



Public Member Functions

function void  build_phase ( uvm_phase phase )
function void  end_of_elaboration_phase ( uvm_phase phase )
function void  get_active_txn_ids ( output int id_list[$], input string msg_typ )
function svt_dti_transaction  get_device_ack_param ( )
function svt_dti_transaction  get_device_param ( )
function int  get_number_of_outstanding_transactions ( bit silent = 1 )
virtual function uvm_object_wrapper  get_object_type ( )
function int  get_outstanding_master_transactions ( string mode = "", string msg_typ = "", bit silent = 1, output svt_dti_transaction actvQ[$] )
static function type_id  get_type ( )
virtual function string  get_type_name ( )
function void  new ( string name, uvm_component parent )
task   read_reg ( bit [SVT_DTI_MAX_ADDR_WIDTH-1:0] tagged_addr, output bit [7:0] read_data[] )
function void  reconfigure ( svt_configuration cfg )
function void  report_phase ( uvm_phase phase )
task   run_phase ( uvm_phase phase )
function void  set_object_id ( svt_dti_transaction xact )

Public Attributes

bit  is_cmd_cfg_applied = 1; 
uvm_analysis_port  item_observed_port 
uvm_analysis_port  item_started_port 
static const string  type_name = "svt_dti_master"; 

Member Typedefs

 typedef class  type_id 


Member Function Documentation

  function void
 svt_dti_master::build_phase

 (  uvm_phase phase  ) 


Build Phase Constructs the common class

 Superseded functions 
 uvm_component :: build_phase 
 svt_driver :: build_phase 

  function void
 svt_dti_master::end_of_elaboration_phase

 (  uvm_phase phase  ) 


End of Elaboration Phase Disables automatic item recording if the feature is available

 Superseded functions 
 uvm_component :: end_of_elaboration_phase 

  function void
 svt_dti_master::get_active_txn_ids

 (  output int id_list [$], input string msg_typ  ) 


This method is used to get list of all IDs which are currently under use by outstanding transactions. However, user can choose the type of outstanding transactions this method should consider while extracting ID of active transactions. "msg_typ" arguments should be used for this purpose.

It provides if total number of unique IDs currently used by active transactions, is less than all possible ID that can be used by an DTI transaction. This helps in determining whether randomizing ID field of a new transaction which should not be part of the all the IDs currently in use, is possible or not.

msg_typ - Type of outstanding transactions this method should consider while extracting ID of active transactions. Currently it supports following modes (defined as string) ::

  • "all_request" => all transactions (default)
  • "trl" => translation message.

  function svt_dti_transaction
 svt_dti_master::get_device_ack_param

 (   ) 


This method returns current value of DTI device parameter SUP_T in condis ack via svt_dti_transaction object.

  function svt_dti_transaction
 svt_dti_master::get_device_param

 (   ) 


This method returns current value of DTI device parameters via svt_dti_transaction object.

  function int
 svt_dti_master::get_number_of_outstanding_transactions

 (  bit silent = 1  ) 


Returns the number of outstanding transactions

 virtual function uvm_object_wrapper
 svt_dti_master::get_object_type

 (   ) 


 Superseded functions 
 uvm_object :: get_object_type 

  function int
 svt_dti_master::get_outstanding_master_transactions

 (  string mode = "", string msg_typ = "", bit silent = 1, output svt_dti_transaction actvQ [$]  ) 


This method returns list of transactions which are currently active and pending inside master agent.

silent - Suppresses debug messages from this method if set to '1'. Default value is '1'.

 static function type_id
 svt_dti_master::get_type

 (   ) 


 Superseded functions 
 uvm_object :: get_type 

 virtual function string
 svt_dti_master::get_type_name

 (   ) 


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

  function void
 svt_dti_master::new

 (  string name , uvm_component parent  ) 


CONSTRUCTOR: Create a new driver instance

name - The name of this instance. Used to construct the hierarchy.

parent - The component that contains this intance. Used to construct the hierarchy.


 Superseded functions 
 uvm_component :: new 
 uvm_driver :: new 

  task
 svt_dti_master::read_reg

 (  bit [SVT_DTI_MAX_ADDR_WIDTH-1:0] tagged_addr , output bit [7:0] read_data []  ) 


This method reads register located at the specified address and returns its content.

tagged_addr - Address of the register being read. This must be tagged address i.e. it needs to differentiate between secure and non-secure addresses. 'secure_access' attribute is appended at the MSB of address considering 'addr_width' as effective address width.

read_data - Holds value of the register content returned by reading the register.

  function void
 svt_dti_master::reconfigure

 (  svt_configuration cfg  ) 


Called when a new configuration is applied to the VIP

 Superseded functions 
 svt_driver :: reconfigure 

  function void
 svt_dti_master::report_phase

 (  uvm_phase phase  ) 


Report phase execution of the UVM component

 Superseded functions 
 uvm_component :: report_phase 

  task
 svt_dti_master::run_phase

 (  uvm_phase phase  ) 


Run phase Starts persistent threads like consume_from_seq_item_port()

 Superseded tasks 
 uvm_component :: run_phase 
 svt_driver :: run_phase 

  function void
 svt_dti_master::set_object_id

 (  svt_dti_transaction xact  ) 


Member Attribute Documentation

 bit  attribute
 svt_dti_master::is_cmd_cfg_applied = 1

 uvm_analysis_port  attribute
 svt_dti_master::item_observed_port


Analysis port makes observed dti transaction available to the user

 uvm_analysis_port  attribute
 svt_dti_master::item_started_port


Analysis port makes dti transaction available to the user, just when the transaction starts

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


 Superseded attributes 
 uvm_component :: type_name 
 uvm_driver :: type_name 


Member Typedef Documentation

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