SyoSil ApS UVM Scoreboard  1.0.3.0
cl_scb_test_single_scb.svh
1 // Base test class which uses a single scoreboard only
2 
3 class cl_scb_test_single_scb extends cl_scb_test_double_scb;
4  //-------------------------------------
5  // UVM Macros
6  //-------------------------------------
7  `uvm_component_utils(cl_scb_test_single_scb)
8 
9  //-------------------------------------
10  // Constructor
11  //-------------------------------------
12  extern function new(string name = "cl_scb_test_single_scb", uvm_component parent = null);
13  extern virtual function void end_of_elaboration_phase(uvm_phase phase);
14  //-------------------------------------
15  // UVM Phase methods
16  //-------------------------------------
17 endclass : cl_scb_test_single_scb
18 
19 function cl_scb_test_single_scb::new(string name = "cl_scb_test_single_scb",
20  uvm_component parent = null);
21  super.new(name, parent);
22 endfunction : new
23 
24 function void cl_scb_test_single_scb::end_of_elaboration_phase(uvm_phase phase);
25  super.end_of_elaboration_phase(phase);
26 
27  // Disabling insert check as the tests derived from this will use syoscb[0] only.
28  // This prevents to generate sim errors because nothing no items are inserted into syoscb[1] queues.
29  this.syoscb_cfgs.syoscb_cfg[1].set_enable_no_insert_check(0);
30 endfunction: end_of_elaboration_phase
Base class for all SCB tests usings two scoreboards.

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:38:31
Find a documentation bug? Report bugs to: scoreboard@syosil.com