Altera Mentor Verification IP Altera Edition AMBA AXI4-Li Bedienungsanleitung Seite 165

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 413
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 164
VHDL Master BFM
set_prot()
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
165
April 2014
set_prot()
This nonblocking procedure sets the protection prot field for a transaction that is uniquely
identified by the transaction_id field previously created by either the
create_write_transaction() or procedure.
Example
-- Create a read transaction with start address of 1.
-- Creation returns tr_id to identify the transaction.
create_read_transaction(1, tr_id, bfm_index, axi4_tr_if_0(bfm_index));
-- Set the protection field to a normal, secure, instruction access
-- for the tr_id transaction.
set_prot(AXI4_NORM_SEC_INST, tr_id, bfm_index, axi4_tr_if_0(bfm_index));
Prototype
set_prot
(
prot: in integer;
transaction_id : in integer;
bfm_id : in integer;
path_id : in axi4_path_t; --optional
signal tr_if : inout axi4_vhd_if_struct_t
);
Arguments
prot Protection:
AXI4_NORM_SEC_DATA (default);
AXI4_PRIV_SEC_DATA;
AXI4_NORM_NONSEC_DATA;
AXI4_PRIV_NONSEC_DATA;
AXI4_NORM_SEC_INST;
AXI4_PRIV_SEC_INST;
AXI4_NORM_NONSEC_INST;
AXI4_PRIV_NONSEC_INST;
transaction_id Transaction identifier. Refer to “Overloaded Procedure Common
Arguments” on page 151 for more details.
bfm_id BFM identifier. Refer to “Overloaded Procedure Common Arguments
on page 151 for more details.
path_id (Optional) Parallel process path identifier:
AXI4_PATH_0
AXI4_PATH_1
AXI4_PATH_2
AXI4_PATH_3
AXI4_PATH_4
Refer to “Overloaded Procedure Common Arguments” on page 151 for
more details.
tr_if Transaction signal interface. Refer to “Overloaded Procedure Common
Arguments” on page 151 for more details.
Returns
None
Seitenansicht 164
1 2 ... 160 161 162 163 164 165 166 167 168 169 170 ... 412 413

Kommentare zu diesen Handbüchern

Keine Kommentare