-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathmisc_sc_port_array3.sv
46 lines (39 loc) · 1.09 KB
/
misc_sc_port_array3.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
//==============================================================================
//
// The code is generated by Intel Compiler for SystemC, version 1.6.6
// see more information at https://github.com/intel/systemc-compiler
//
//==============================================================================
//==============================================================================
//
// Module: Dut ()
//
module Dut // "dut"
(
input logic clk
);
// Variables generated for SystemC signals
logic [3:0] slave_s;
logic [3:0] tars_r[2][3];
//------------------------------------------------------------------------------
// Method process: methProc (test_sc_port_array3.cpp:90:5)
always_comb
begin : methProc // test_sc_port_array3.cpp:90:5
logic [3:0] val;
logic [3:0] TMP_0;
logic [3:0] val_1;
logic [3:0] l;
// Call f() begin
val = slave_s;
// Call f() begin
val = tars_r[1][2];
// Call f() end
val_1 = slave_s;
// Call g() begin
tars_r[1][2] = val_1;
TMP_0 = tars_r[1][2];
// Call g() end
l = TMP_0;
// Call f() end
end
endmodule