Interrupt source and sink api, Get_irq(), Get_version() – Altera Avalon Verification IP Suite User Manual

Page 21: Interrupt source and sink api -2, Get_irq() -2 get_version() -2

Advertising
background image

Interrupt Source and Sink API

clear_irq()

int clear_irq()

Prototype:

Verilog HDL:

interrupt_bit

VHDL:

interrupt_bit

,

bfm_id

,

req_if(bfm_id)

Arguments:

void

Returns:

Asserts the interrupt signal and sets the interrupt signal to 0,
regardless of the value you set for Assert IRQ high in the parameter
editor.

Description:

Verilog HDL, VHDL

Language Support:

get_irq()

get_irq()

get_irq()

Prototype:

Verilog HDL: None

VHDL:

irq

,

bfm_id

,

req_if(bfm_id)

Arguments:

logic[AV_IRQ_W-1:0]void

Returns:

Returns the current value of the register holding the latched
interrupt signal.

Description:

Verilog HDL, VHDL

Language Support:

get_version()

get_version()

string get_version()

Prototype:

Verilog HDL: None

VHDL: N.A.

Arguments:

String

Returns:

Returns BFM version as a string of three integers separated by
periods. For example, version 13.1 sp1 is encoded as "13.1.1".

Description:

Verilog HDL

Language Support:

Avalon Interrupt Source and Interrupt Sink BFMs

Altera Corporation

Send Feedback

Interrupt Source and Sink API

4-2

Advertising