@@ -10,6 +10,7 @@ module core_ibex_tb_top;
10
10
import core_ibex_test_pkg :: * ;
11
11
12
12
wire clk;
13
+ wire scramble_req;
13
14
wire rst_n;
14
15
15
16
clk_rst_if ibex_clk_if (.clk (clk), .rst_n (rst_n));
@@ -63,6 +64,7 @@ module core_ibex_tb_top;
63
64
parameter bit ICacheECC = 1'b0 ;
64
65
parameter bit BranchPredictor = 1'b0 ;
65
66
parameter bit SecureIbex = 1'b0 ;
67
+ parameter bit ICacheScramble = 1'b0 ;
66
68
67
69
ibex_top_tracing # (
68
70
.DmHaltAddr (32 'h`BOOT_ADDR + 'h0 ),
@@ -79,6 +81,7 @@ module core_ibex_tb_top;
79
81
.ICache (ICache ),
80
82
.ICacheECC (ICacheECC ),
81
83
.SecureIbex (SecureIbex ),
84
+ .ICacheScramble (ICacheScramble ),
82
85
.BranchPredictor (BranchPredictor )
83
86
) dut (
84
87
.clk_i (clk ),
@@ -91,39 +94,44 @@ module core_ibex_tb_top;
91
94
.hart_id_i (32'b0 ),
92
95
.boot_addr_i (32 'h`BOOT_ADDR ), // align with spike boot address
93
96
94
- .instr_req_o (instr_mem_vif.request),
95
- .instr_gnt_i (instr_mem_vif.grant ),
96
- .instr_rvalid_i (instr_mem_vif.rvalid ),
97
- .instr_addr_o (instr_mem_vif.addr ),
98
- .instr_rdata_i (instr_mem_vif.rdata ),
99
- .instr_rdata_intg_i (instr_mem_vif.rintg ),
100
- .instr_err_i (instr_mem_vif.error ),
101
-
102
- .data_req_o (data_mem_vif.request ),
103
- .data_gnt_i (data_mem_vif.grant ),
104
- .data_rvalid_i (data_mem_vif.rvalid ),
105
- .data_addr_o (data_mem_vif.addr ),
106
- .data_we_o (data_mem_vif.we ),
107
- .data_be_o (data_mem_vif.be ),
108
- .data_rdata_i (data_mem_vif.rdata ),
109
- .data_rdata_intg_i (data_mem_vif.rintg ),
110
- .data_wdata_o (data_mem_vif.wdata ),
111
- .data_wdata_intg_o (data_mem_vif.wintg ),
112
- .data_err_i (data_mem_vif.error ),
113
-
114
- .irq_software_i (irq_vif.irq_software ),
115
- .irq_timer_i (irq_vif.irq_timer ),
116
- .irq_external_i (irq_vif.irq_external ),
117
- .irq_fast_i (irq_vif.irq_fast ),
118
- .irq_nm_i (irq_vif.irq_nm ),
119
-
120
- .debug_req_i (dut_if.debug_req ),
121
- .crash_dump_o ( ),
122
-
123
- .fetch_enable_i (dut_if.fetch_enable ),
124
- .alert_minor_o (dut_if.alert_minor ),
125
- .alert_major_o (dut_if.alert_major ),
126
- .core_sleep_o (dut_if.core_sleep )
97
+ .instr_req_o (instr_mem_vif.request ),
98
+ .instr_gnt_i (instr_mem_vif.grant ),
99
+ .instr_rvalid_i (instr_mem_vif.rvalid ),
100
+ .instr_addr_o (instr_mem_vif.addr ),
101
+ .instr_rdata_i (instr_mem_vif.rdata ),
102
+ .instr_rdata_intg_i (instr_mem_vif.rintg ),
103
+ .instr_err_i (instr_mem_vif.error ),
104
+
105
+ .data_req_o (data_mem_vif.request ),
106
+ .data_gnt_i (data_mem_vif.grant ),
107
+ .data_rvalid_i (data_mem_vif.rvalid ),
108
+ .data_addr_o (data_mem_vif.addr ),
109
+ .data_we_o (data_mem_vif.we ),
110
+ .data_be_o (data_mem_vif.be ),
111
+ .data_rdata_i (data_mem_vif.rdata ),
112
+ .data_rdata_intg_i (data_mem_vif.rintg ),
113
+ .data_wdata_o (data_mem_vif.wdata ),
114
+ .data_wdata_intg_o (data_mem_vif.wintg ),
115
+ .data_err_i (data_mem_vif.error ),
116
+
117
+ .irq_software_i (irq_vif.irq_software ),
118
+ .irq_timer_i (irq_vif.irq_timer ),
119
+ .irq_external_i (irq_vif.irq_external ),
120
+ .irq_fast_i (irq_vif.irq_fast ),
121
+ .irq_nm_i (irq_vif.irq_nm ),
122
+
123
+ .scramble_key_valid_i ('0 ),
124
+ .scramble_key_i ('0 ),
125
+ .scramble_nonce_i ('0 ),
126
+ .scramble_req_o ( ),
127
+
128
+ .debug_req_i (dut_if.debug_req ),
129
+ .crash_dump_o ( ),
130
+
131
+ .fetch_enable_i (dut_if.fetch_enable ),
132
+ .alert_minor_o (dut_if.alert_minor ),
133
+ .alert_major_o (dut_if.alert_major ),
134
+ .core_sleep_o (dut_if.core_sleep )
127
135
);
128
136
129
137
// We should never see any alerts triggered in normal testing
0 commit comments