00001 class cl_syoscb_cfg_pl extends uvm_object; 00002 //------------------------------------- 00003 // Non randomizable member variables 00004 //------------------------------------- 00005 string list[]; 00006 00007 //------------------------------------- 00008 // UVM Macros 00009 //------------------------------------- 00010 `uvm_object_utils_begin(cl_syoscb_cfg_pl) 00011 `uvm_field_array_string(list, UVM_DEFAULT) 00012 `uvm_object_utils_end 00013 00014 //------------------------------------- 00015 // Constructor 00016 //------------------------------------- 00017 extern function new(string name = "cl_syoscb_cfg_pl"); 00018 00019 //------------------------------------- 00020 // Class methods 00021 //------------------------------------- 00022 extern function void set_list(string list[]); 00023 endclass: cl_syoscb_cfg_pl 00024 00025 function cl_syoscb_cfg_pl::new(string name = "cl_syoscb_cfg_pl"); 00026 super.new(name); 00027 endfunction : new 00028 00029 function void cl_syoscb_cfg_pl::set_list(string list[]); 00030 this.list = list; 00031 endfunction: set_list
|
Project: SyoSil ApS UVM Scoreboard, Revision: 1.0.2.2 Copyright 2014-2015 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 Version: 1.6.1 IDV SV Filter Version: 2.6.2 Wed Jul 29 14:03:55 2015 |