Altera Mentor Verification IP Altera Edition AMBA AXI4-St Manuel d'utilisateur Page 153

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 231
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 152
VHDL Slave BFM
execute_stream_ready()
Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
153
April 2014
execute_stream_ready()
This procedure executes a stream ready by placing the ready argument value onto the TREADY
signal.
Example
-- Assign TREADY = '0'. This will consume one cycle.
execute_stream_ready(0, bfm_index, axi4stream_tr_if_0(bfm_index));
-- Two clock cycle wait.
for i in 0 to 1 loop
wait_on(AXI4STREAM_CLOCK_POSEDGE, bfm_index,
axi4stream_tr_if_0(bfm_index));
end loop;
-- Assign TREADY = '1'.
execute_stream_ready(1, bfm_index, axi4stream_tr_if_0(bfm_index));
Prototype
procedure execute_stream_ready
(
ready : in integer;
non_blocking_mode : in integer; -- Optional
bfm_id : in integer;
signal tr_if : inout axi4stream_vhd_if_struct_t
);
Arguments
ready The value of the TREADY signal
non_blocking_mode (Optional) Controls the blocking or nonblocking mode of the
procedure.
0 = blocking (default)
1 = nonblocking
bfm_id BFM identifier. Refer to “Overloaded Procedure Common
Arguments” on page 87 for more details.
tr_if Transaction signal interface. Refer to “Overloaded Procedure
Common Arguments” on page 87 for more details.
Returns
None
Vue de la page 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 230 231

Commentaires sur ces manuels

Pas de commentaire