C_av_st_video_item – Altera Video and Image Processing Suite User Manual
Page 294

Member
Description
Int late_eop_probability = 20;
—
int user_packet_probability = 20;
—
int control_packet_probability = 20;
—
mailbox #(c_av_st_video_item) m_video_item_out
= new(0);
The mailbox is used to pass all packets in/out
of the file i/o object.
rand t_packet_control send_control_packets =
on;
—
rand t_packet_control send_user_packets = off;
—
rand t_packet_control send_early_eop_packets =
off;
—
rand t_packet_control send_late_eop_packets =
off;
If both
send_late_eop_packets
and
send_
early_eop_packets
are set to random, a late
EOP will only be generated if an early EOP has
not been generated.
rand t_packet_control send_garbage_after_
control_packets = off;
—
rand int early_eop_packet_length = 20;
constraint early_eop_length { early_
eop_packet_length dist {1:= 10,
[2:image_height*image_width-1]:/90};
early_eop_packet_length inside
{[1:image_height*image_width]}; }
rand int late_eop_packet_length = 20;
constraint late_eop_length { late_eop_
packet_length inside {[1:100]}; }
c_av_st_video_item
The declaration for the c_av_st_video_item class:
class c_av_st_video_item;
Table A-10: Method Calls for c_av_st_video_item Class
Method Call
Description
function new();
Constructor
function void copy (c_av_st_video_item c);
Sets
this.packet_type
to match that of c.
function void set_packet_type (t_packet_types
ptype);
—
function t_packet_typesget_packet_type();
—
A-26
c_av_st_video_item
UG-VIPSUITE
2015.05.04
Altera Corporation
Avalon-ST Video Verification IP Suite