-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathmif_glob_const.sv
86 lines (64 loc) · 1.92 KB
/
mif_glob_const.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
//==============================================================================
//
// The code is generated by Intel Compiler for SystemC, version 1.5.12
// see more information at https://github.com/intel/systemc-compiler
//
//==============================================================================
//==============================================================================
//
// Module: Top ()
//
module Top // "top"
(
input logic clk
);
// Variables generated for SystemC signals
logic signed [31:0] minst_t1;
logic signed [31:0] t0;
// Local parameters generated for C++ constants
localparam logic B = 1;
localparam logic [31:0] C = 2;
localparam logic [31:0] E = 3;
//------------------------------------------------------------------------------
// Method process: minst_methProc (test_glob_const.cpp:54:5)
always_comb
begin : minst_methProc // test_glob_const.cpp:54:5
integer unsigned i;
i = C;
minst_t1 = i;
end
//------------------------------------------------------------------------------
// Method process: topProc (test_glob_const.cpp:82:5)
always_comb
begin : topProc // test_glob_const.cpp:82:5
integer unsigned i;
i = E;
t0 = i;
end
//------------------------------------------------------------------------------
// Child module instances
mod m
(
);
endmodule
//==============================================================================
//
// Module: mod (test_glob_const.cpp:74:5)
//
module mod // "top.m"
(
);
// Variables generated for SystemC signals
logic signed [31:0] minst_t0;
// Local parameters generated for C++ constants
localparam logic D = 0;
localparam logic [31:0] A = 1;
//------------------------------------------------------------------------------
// Method process: minst_methProc (test_glob_const.cpp:35:5)
always_comb
begin : minst_methProc // test_glob_const.cpp:35:5
integer unsigned i;
i = A;
minst_t0 = i;
end
endmodule