SyoSil ApS UVM Scoreboard  1.0.3.0
cl_scb_test_io_std_intermediate_dump.svh
1 /// Tests the intermediate queue stat printout, see cl_syoscb_cfg#queue_stat_interval
2 
4  //-------------------------------------
5  // UVM Macros
6  //-------------------------------------
7  `uvm_component_utils(cl_scb_test_io_std_intermediate_dump)
8 
9  //-------------------------------------
10  // Constructor
11  //-------------------------------------
12  function new(string name = "cl_scb_test_io_std_intermediate_dump", uvm_component parent = null);
13  super.new(name, parent);
14  endfunction: new
15 
16  //-------------------------------------
17  // UVM Phase methods
18  //-------------------------------------
19  extern function void end_of_elaboration_phase(uvm_phase phase);
21 
22 function void cl_scb_test_io_std_intermediate_dump::end_of_elaboration_phase(uvm_phase phase);
23  super.end_of_elaboration_phase(phase);
24 
25  this.syoscb_cfgs.syoscb_cfg[0].set_scb_stat_interval(7);
26  this.syoscb_cfgs.syoscb_cfg[0].set_queue_stat_interval("Q1", 3); //Every third tx
27  this.syoscb_cfgs.syoscb_cfg[0].set_queue_stat_interval("Q2", 5); //Every 5th tx
28  this.syoscb_cfgs.syoscb_cfg[0].set_enable_queue_stats("Q2", 1'b1); //Also print producer information for Q2
29 endfunction: end_of_elaboration_phase
Simple IO compare test using the function based API.
Tests the intermediate queue stat printout, see cl_syoscb_cfg::queue_stat_interval.

Project: SyoSil ApS UVM Scoreboard, Revision: 1.0.3.0

Copyright 2014-2022 SyoSil ApS
All Rights Reserved Worldwide

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
doxygen
Doxygen Version: 1.8.14
Generated with IDV SV Filter Version: 2.6.3
Fri Sep 2 2022 14:37:14
Find a documentation bug? Report bugs to: scoreboard@syosil.com