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

Subversion Repositories qaz_libs

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /qaz_libs/trunk/BFM/src
    from Rev 34 to Rev 41
    Reverse comparison

Rev 34 → Rev 41

/axis_video_frame/avf_agent_class_pkg.sv
36,7 → 36,7
 
// --------------------------------------------------------------------
//
class avf_agent_class #(BYTES_PER_PIXEL = 2, OUTPUTS_PER_TILE = 1, AVF_U = 3);
class avf_agent_class #(BYTES_PER_PIXEL, OUTPUTS_PER_TILE = 1, AVF_U = 3);
 
localparam AVF_N = BYTES_PER_PIXEL * OUTPUTS_PER_TILE; // data bus width in bytes
localparam AVF_B = BYTES_PER_PIXEL * 8; // bits per pixel on TDATA
/tb/bfm_pkg.sv
37,25 → 37,22
// BURSTY
} traffic_type_e;
 
 
// --------------------------------------------------------------------
//
class delay_class;
 
rand int delay = 0;
rand int unsigned delay = 0;
 
 
// --------------------------------------------------------------------
//
virtual function void set_delay(traffic_type_e kind = REGULAR);
case(kind)
NONE: delay = 0;
REGULAR: assert(this.randomize() with{delay dist {0 := 40, [1:3] := 40, [4:7] := 20};});
default: assert(this.randomize() with{delay dist {0 := 40, [1:3] := 40, [4:7] := 20};});
REGULAR: assert(this.randomize() with{delay dist {0 := 60, [1:3] := 30, [4:7] := 10};});
default: delay = 0;
endcase
endfunction: set_delay
 
 
// --------------------------------------------------------------------
//
virtual function int next(traffic_type_e kind = REGULAR);
63,12 → 60,10
return(delay);
endfunction: next
 
 
// --------------------------------------------------------------------
//
endclass: delay_class
 
 
// --------------------------------------------------------------------
//
virtual class transaction_class #(parameter type TR_T);
81,7 → 76,6
assert(this.randomize());
endfunction: random
 
 
//--------------------------------------------------------------------
//
function new;
88,12 → 82,10
delay_h = new();
endfunction: new
 
 
// --------------------------------------------------------------------
//
pure virtual function void copy(TR_T from);
 
 
// --------------------------------------------------------------------
//
function automatic TR_T clone;
104,12 → 96,10
return(clone);
endfunction: clone
 
 
// --------------------------------------------------------------------
//
endclass: transaction_class
 
 
//--------------------------------------------------------------------
//
endpackage: bfm_pkg

powered by: WebSVN 2.1.0

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