-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathmisc_module_binds_simple.sv
71 lines (54 loc) · 1.35 KB
/
misc_module_binds_simple.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
//==============================================================================
//
// The code is generated by Intel Compiler for SystemC, version 1.6.14
// see more information at https://github.com/intel/systemc-compiler
//
//==============================================================================
//==============================================================================
//
// Module: Parent ()
//
module Parent // "tb_inst.top_mod"
(
);
// Variables generated for SystemC signals
logic signed [15:0] data;
logic resp;
logic req;
//------------------------------------------------------------------------------
// Child module instances
Producer prod
(
.resp(resp),
.data(data),
.req_sig(req)
);
Consumer cons
(
.resp_sig(resp),
.req(req),
.data(data)
);
endmodule
//==============================================================================
//
// Module: Producer (test_module_binds_simple.cpp:29:5)
//
module Producer // "tb_inst.top_mod.prod"
(
output logic resp,
output logic signed [15:0] data,
output logic req_sig
);
endmodule
//==============================================================================
//
// Module: Consumer (test_module_binds_simple.cpp:30:5)
//
module Consumer // "tb_inst.top_mod.cons"
(
input logic resp_sig,
input logic req,
input logic signed [15:0] data
);
endmodule