SyoSil ApS UVM Scoreboard  1.0.3.0
syoscb_common.svh
1 
2 ////////////////////////////////////////////////////////////////////////////
3 // Type definitions
4 ////////////////////////////////////////////////////////////////////////////
5 typedef enum {TXT,XML} t_dump_type;
6 
7 typedef enum {SYOSCB_QUEUE_STD,
8  SYOSCB_QUEUE_MD5,
9  SYOSCB_QUEUE_USER_DEFINED} t_scb_queue_type;
10 
11 typedef enum {SYOSCB_COMPARE_IO,
12  SYOSCB_COMPARE_IO2HP,
13  SYOSCB_COMPARE_IOP,
14  SYOSCB_COMPARE_OOO,
15  SYOSCB_COMPARE_USER_DEFINED} t_scb_compare_type;
16 
17 typedef enum {SYOSCB_COMPARE_NOT_GREEDY,
18  SYOSCB_COMPARE_GREEDY} t_scb_compare_greed;
19 
20 typedef enum {SYOSCB_PRINTER_TABLE,
21  SYOSCB_PRINTER_TREE,
22  SYOSCB_PRINTER_LINE,
23  SYOSCB_PRINTER_XML} t_printer_type;
24 
25 typedef enum { SYOSCB_HASH_COMPARE_NO_VALIDATION,
26  SYOSCB_HASH_COMPARE_VALIDATE_MATCH,
27  SYOSCB_HASH_COMPARE_VALIDATE_NO_MATCH,
28  SYOSCB_HASH_COMPARE_VALIDATE_ALL} t_hash_compare_check;
29 
30 ////////////////////////////////////////////////////////////////////////////
31 // Local Parameters
32 ////////////////////////////////////////////////////////////////////////////
33 localparam int unsigned MIN_FIRST_COLUMN_WIDTH = 8;
34 localparam int unsigned GLOBAL_REPORT_INDENTION = 2;
35 
36 localparam int unsigned MD5_HASH_DIGEST_WIDTH = 128;
37 
38 ////////////////////////////////////////////////////////////////////////////
39 // Macro Definitions
40 ////////////////////////////////////////////////////////////////////////////
41 let max(a,b) = (a > b) ? a : b;
42 let min_width(sl) = ((sl>pk_syoscb::MIN_FIRST_COLUMN_WIDTH)? sl : pk_syoscb::MIN_FIRST_COLUMN_WIDTH);

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