You copied the Doc URL to your clipboard.

Creating an AMBA-PV master

This section describes how to create an AMBA-PV master.


  1. Derive the master class from class amba_pv_master_base (in addition to sc_module).
  2. Instantiate one master socket of class amba_pv_master_socket for each connection to an AMBA bus. Specify a distinct identifier for each socket.
  3. Implement the method invalidate_direct_mem_ptr().
    A master does not need to implement this method explicitly if it does not support DMI.
  4. Set every attribute of each amba_pv_control object before passing it as an argument to read(), write(), burst_read(), burst_write(), get_direct_mem_ptr(), debug_read(), or debug_write().
  5. On completion of the transaction, check the returned response value.