-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrggen_ral_pkg.sv
53 lines (48 loc) · 1.77 KB
/
rggen_ral_pkg.sv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
`ifndef RGGEN_RAL_PKG_SV
`define RGGEN_RAL_PKG_SV
package rggen_ral_pkg;
import uvm_pkg::*;
import rggen_ral_backdoor_pkg::rggen_backdoor;
`include "uvm_macros.svh"
`include "rggen_ral_macros.svh"
`ifdef RGGEN_UVM_PRE_IEEE
typedef uvm_path_e rggen_door;
localparam rggen_door RGGEN_DEFAULT_DOOR = UVM_DEFAULT_PATH;
`else
typedef uvm_door_e rggen_door;
localparam rggen_door RGGEN_DEFAULT_DOOR = UVM_DEFAULT_DOOR;
`endif
`ifdef RGGEN_ENABLE_ENHANCED_RAL
typedef tue_pkg::tue_reg_item rggen_ral_reg_item_base;
typedef tue_pkg::tue_reg_field rggen_ral_field_base;
typedef tue_pkg::tue_reg rggen_ral_reg_base;
typedef tue_pkg::tue_reg_block rggen_ral_block_base;
typedef tue_pkg::tue_reg_map rggen_ral_map_base;
`else
typedef uvm_pkg::uvm_reg_item rggen_ral_reg_item_base;
typedef uvm_pkg::uvm_reg_field rggen_ral_field_base;
typedef uvm_pkg::uvm_reg rggen_ral_reg_base;
typedef uvm_pkg::uvm_reg_block rggen_ral_block_base;
typedef uvm_pkg::uvm_reg_map rggen_ral_map_base;
`endif
typedef class rggen_ral_reg_item;
typedef class rggen_ral_field;
typedef class rggen_ral_reg;
typedef class rggen_ral_reg_file;
typedef class rggen_ral_block;
typedef class rggen_ral_map;
`include "rggen_ral_utils.svh"
`include "rggen_ral_reg_item.svh"
`include "rggen_ral_field.svh"
`include "rggen_ral_rowo_field.svh"
`include "rggen_ral_rwe_rwl_field.svh"
`include "rggen_ral_w0trg_w1trg_field.svh"
`include "rggen_ral_row0trg_row1trg_field.svh"
`include "rggen_ral_custom_field.svh"
`include "rggen_ral_reg.svh"
`include "rggen_ral_reg_file.svh"
`include "rggen_ral_indirect_reg.svh"
`include "rggen_ral_block.svh"
`include "rggen_ral_map.svh"
endpackage
`endif