C_av_st_video_source_bfm_’source – Altera Video and Image Processing Suite User Manual

Page 297

Advertising
background image

Table A-14: Method Calls for c_av_st_video_sink_bfm_’SINK Class

This class does not have additional members to those of the base class.

Method Call

Description

function new(mailbox#(c_av_st_video_item)m_

vid);

Constructor.

task start;

The start method simply waits until the reset

of the Avalon-ST sink BFM goes inactive, then

calls the

receive_video()

task.

task receive_video;

The

receive_video

task continually drives

the Avalon-ST sink BFM’s ready signal in

accordance with the probability settings in the

base class. It also continually captures

signal_

received_transaction

events from the

Avalon-ST sink BFM and uses the Avalon-ST

sink BFM API to read bus data.
Bus data is decoded according to the Avalon-

ST video specification and data is packed into

an object of the appropriate type (video,

control or, user). The object is then put into

the mailbox.

c_av_st_video_source_bfm_’SOURCE

The declaration for the c_av_st_video_source_bfm_’SOURCE class:

‘define CLASSNAME c_av_st_video_source_bfm_’SOURCE
class ‘CLASSNAME extends c_av_st_video_source_sink_base;

Table A-15: Method Calls for c_av_st_video_source_bfm_’SOURCE Class

This class does not have additional members to those of the base class.

Method Call

Description

function new(mailbox#(c_av_st_video_item)m_

vid)

Constructor.

task start;

The start method simply waits until the reset

of the Avalon-ST source BFM goes inactive,

then continually calls the

send_video()

task.

UG-VIPSUITE

2015.05.04

c_av_st_video_source_bfm_’SOURCE

A-29

Avalon-ST Video Verification IP Suite

Altera Corporation

Send Feedback

Advertising