-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathframe_agent_out.sv
More file actions
24 lines (19 loc) · 829 Bytes
/
frame_agent_out.sv
File metadata and controls
24 lines (19 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class frame_agent_out extends uvm_agent;
frame_driver_out drv;
frame_monitor_out mon;
uvm_analysis_port #(frame_ycbcr_tr) item_collected_port;
`uvm_component_utils(frame_agent_out)
function new(string name = "frame_agent_out", uvm_component parent = null);
super.new(name, parent);
item_collected_port = new("item_collected_port", this);
endfunction
virtual function void build_phase(uvm_phase phase);
super.build_phase(phase);
drv = frame_driver_out::type_id::create("drv", this);
mon = frame_monitor_out::type_id::create("mon", this);
endfunction
virtual function void connect_phase(uvm_phase phase);
super.connect_phase(phase);
mon.item_collected_port.connect(item_collected_port);
endfunction
endclass: frame_agent_out