OpenCores
URL https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [BFM/] [src/] [axis_video_frame/] [avf_monitor.svh] - Diff between revs 45 and 47

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 45 Rev 47
Line 27... Line 27...
 
 
class avf_monitor #(N, U) extends uvm_component;
class avf_monitor #(N, U) extends uvm_component;
  `uvm_component_param_utils(avf_monitor #(N, U));
  `uvm_component_param_utils(avf_monitor #(N, U));
 
 
  virtual axis_if #(.N(N), .U(U)) vif;
  virtual axis_if #(.N(N), .U(U)) vif;
  avf_config #(N, U) cfg_h;
  video_frame_config c_h;
  uvm_analysis_port #(avf_sequence_item) ap;
  uvm_analysis_port #(avf_sequence_item) ap;
  uvm_analysis_port #(avf_sequence_item) req;
  uvm_analysis_port #(avf_sequence_item) req;
 
 
  // --------------------------------------------------------------------
  // --------------------------------------------------------------------
  function new (string name, uvm_component parent);
  function new (string name, uvm_component parent);
Line 66... Line 66...
        if(vif.cb_s.tuser[0]) // SOF
        if(vif.cb_s.tuser[0]) // SOF
        begin
        begin
          ap_item = avf_sequence_item::type_id::create("ap_item");
          ap_item = avf_sequence_item::type_id::create("ap_item");
          ap_item.kind = AVF_TRANSACTION;
          ap_item.kind = AVF_TRANSACTION;
          ap_item.f_h = new();
          ap_item.f_h = new();
          ap_item.f_h.init( cfg_h.pixels_per_line
          ap_item.f_h.init( c_h.pixels_per_line
                          , cfg_h.lines_per_frame
                          , c_h.lines_per_frame
                          , cfg_h.bits_per_pixel
                          , c_h.bits_per_pixel
                          , cfg_h.pixels_per_clk
                          , c_h.pixels_per_clk
                          , cfg_h.name
                          , c_h.name
                          );
                          );
          sof_received = 1;
          sof_received = 1;
          p = 0;
          p = 0;
          l = 0;
          l = 0;
        end
        end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.