C_av_st_video_sink_bfm_’sink – Altera Video and Image Processing Suite User Manual
Page 296

Table A-13: Members of c_av_st_video_source_sink_base Class
Member
Description
mailbox # (c_av_st_video_item) m_video_items=
new(0);
The Avalon-ST video standard allows you to
send symbols in serial or parallel format. You
can set this control to either format.
t_pixel_format pixel_transport = parallel;
—
string name = "undefined";
—
int video_packets_sent = 0;
—
int control_packets_sent = 0;
—
int user_packets_sent = 0;
—
int readiness_probability = 80;
Determines the probability of when a sink or
source is ready to receive or send data in any
given clock cycle, as manifested on the bus by
the
READY
and
VALID
signals, respectively.
real long_delay_probability = 0.01;
• The
readiness_probability
control
provides a steady state readiness condition.
• The
long_delay_probability
allows for
the possibility of a much rarer and longer
period of unreadiness, of durations of the
order of the raster line period or even field
period.
rand int long_delay_duration_min_beats= 100;
This control sets the minimum duration (as
measured in data beats of) a long delay.
Note: If
pixel_transport
= parallel than
one data beats = one pixel = one
clock cycle.
rand int long_delay_duration_max_beats = 1000;
This control sets the maximum duration (as
measured in data beats) of a long delay.
rand int long_delay_duration = 80;
constraint c1 {long_delay_duration
inside [long_delay_duration_min_beats:
long_delay_duration_max_beats]};}
c_av_st_video_sink_bfm_’SINK
The declaration for the c_av_st_video_sink_bfm_’SINK class:
‘define CLASSNAME c_av_st_video_sink_bfm_’SINK;
class ‘CLASSNAME extends c_av_st_video_source_sink_base;
A-28
c_av_st_video_sink_bfm_’SINK
UG-VIPSUITE
2015.05.04
Altera Corporation
Avalon-ST Video Verification IP Suite