
3–2 Chapter 3: Avalon Interrupt Source and Interrupt Sink BFMs
Application Program Interface
Avalon Verification IP Suite User Guide May 2011 Altera Corporation
get_irq()
get_version()
set_irq()
Prototype:
get_irq()
.
Arguments: None.
Returns:
logic[AV_IRQ_W-1:0]
.
Description: Returns the current value of the register holding the latched interrupt signal.
Prototype:
string get_version()
.
Arguments: None.
Returns:
String
.
Description: Returns BFM version as a string of three integers separated by periods. For example,
version 10.1 sp1 is encoded as "10.1.1".
Prototype:
set_irq()
.
Arguments:
int interrupt_bit
.
Returns:
void
.
Description: Asserts the interrupt signal and sets the interrupt signal to 1, regardless of the value you
set for Assert IRQ high in the parameter editor.
Kommentare zu diesen Handbüchern