Video and Image Processing Suite User Guide

ID 683416
Date 4/04/2022
Public
Document Table of Contents

A.3.7. 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 102.  Method Calls for c_av_st_video_source_bfm_’SOURCE ClassThis 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.
task send_video; The send_video() task waits until a video item is put into the mailbox, then it drives the Avalon-ST sink BFM's API accordingly.

The set_transaction_idles() call is used to set the valid signal in accordance with the probability settings in the base class. The mailbox object is categorized according to object type.

Each object is presented to the bus according to the Avalon-ST Video specification and the setting of the pixel_transport control.