Altera Avalon Verification IP Suite Uživatelský manuál Strana 38

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 178
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 37
Chapter 1: Avalon-MM Master BFM 1–15
Application Program Interface
May 2011 Altera Corporation Avalon Verification IP Suite User Guide
set_command_idle()
set_command_init_latency()
set_command_lock()
set_command_request()
set_command_timeout()
Prototype:
void set_command_idle(int idle, int index)
.
Arguments:
int idle
.
int index
.
Returns:
void
.
Description: Sets idle cycles at the end of each transaction cycle. In the case of read commands, idle
cycles are inserted at the end of the command cycle. In the case of burst write
commands, idle cycles are inserted at the end of each write data cycle within the burst.
Prototype:
void set_command_init_latency(int cycles)
.
Arguments: cycles.
Returns:
void
.
Description: Sets the number of cycles to postpone the start of a command.
Prototype:
void set_command_lock (bit state).
Arguments:
bit state.
Returns:
void
.
Description: Controls the assertion or deassertion of the lock interface signal. The lock control is on
the transaction boundaries and is not used when the Avalon-MM Master BFM is
operating in burst mode.
Prototype:
void set_command_request(Request_t request)
.
Arguments:
Request_t
request.
Returns:
void
.
Description: Sets the transaction type to read or write in the command descriptor. The enumeration
type defines
REQ_READ
= 0 and
REQ_WRITE
= 1.
Prototype:
void set_command_timeout(int cycles)
.
Arguments:
int cycles
.
Returns:
void
.
Description: Sets the number of elapsed cycles between waiting for a
waitrequest
and when time
out is asserted. Disables time-out by setting the value to 0.
Zobrazit stránku 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 177 178

Komentáře k této Příručce

Žádné komentáře