Skip to content

Commit 5749e6a

Browse files
author
Andrea Belano
committed
[hw] Synthesizability fixes
1 parent ef6f08a commit 5749e6a

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

rtl/redmule_ctrl.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module redmule_ctrl
2626
input logic test_mode_i ,
2727
output logic busy_o ,
2828
output logic clear_o ,
29-
output logic [N_CORES-1:0][1:0] evt_o ,
29+
output logic evt_o ,
3030
input redmule_config_t config_i ,
3131
output redmule_config_t config_o ,
3232
input logic reg_enable_i ,

rtl/redmule_inst_decoder.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ module redmule_inst_decoder
253253

254254
// The buffer has a number of slots equal to InstFifoDepth
255255

256-
$fatal("Not yet implemented!!!!");
256+
// TODO: implement
257257
end
258258

259259
always_ff @(posedge clk_i or negedge rst_ni) begin : config_register

rtl/redmule_top.sv

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -365,19 +365,20 @@ redmule_reduction_unit #(
365365
.MaxLat ( 0 ),
366366
.SumLat ( 1 )
367367
) i_red_unit (
368-
.clk_i ( clk_i ),
369-
.rst_ni ( rst_ni ),
370-
.clear_i ( clear_i ),
371-
.ctrl_i ( red_ctrl ),
372-
.valid_i ( z_buffer_ctrl.fill ),
373-
.data_i ( z_buffer_d ),
374-
.init_i ( red_init_fifo.data ),
375-
.init_valid_i ( red_init_fifo.valid ),
376-
.red_o ( red_out_q.data ),
377-
.red_valid_o ( red_out_q.valid ),
378-
.flags_o ( red_flags )
368+
.clk_i ( clk_i ),
369+
.rst_ni ( rst_ni ),
370+
.clear_i ( '0 ),
371+
.ctrl_i ( red_ctrl ),
372+
.valid_i ( z_buffer_ctrl.fill ),
373+
.data_i ( z_buffer_d ),
374+
.init_i ( red_init_fifo.data [Width*BITW-1:0] ),
375+
.init_valid_i ( red_init_fifo.valid ),
376+
.red_o ( red_out_q.data [Width*BITW-1:0] ),
377+
.red_valid_o ( red_out_q.valid ),
378+
.flags_o ( red_flags )
379379
);
380380

381+
assign red_out_q.data [(PIPE_REGS+1)*Width*BITW-1:Width*BITW] = '0;
381382
assign red_out_q.strb = 2 ** (DW/8 / (NumPipeRegs+1)) - 1;
382383

383384
/*---------------------------------------------------------------*/

0 commit comments

Comments
 (0)