Skip to content

Commit 034c08b

Browse files
wkkunaPiotrZierhoffer
authored andcommitted
Wire unused logic
Signed-off-by: Wiktoria Kuna <[email protected]>
1 parent 4d1c93f commit 034c08b

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

src/ctrl/controller_standby_i3c.sv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,8 @@ module controller_standby_i3c
552552
.escalate_reset_o (escalate_reset)
553553
);
554554

555+
logic unused_ibi_byte_err;
556+
555557
ibi u_ibi (
556558
.clk_i,
557559
.rst_ni,
@@ -571,7 +573,7 @@ module controller_standby_i3c
571573
.ibi_byte_ready_o(ibi_fifo_rready),
572574
.ibi_byte_i (ibi_fifo_rdata),
573575
.ibi_byte_last_i (ibi_last_byte),
574-
.ibi_byte_err_o (), // FIXME
576+
.ibi_byte_err_o (unused_ibi_byte_err), // FIXME
575577

576578
.scl_negedge_i (ctrl_bus_i.scl.neg_edge),
577579
.scl_posedge_i (ctrl_bus_i.scl.pos_edge),

src/i3c.sv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ module i3c
587587

588588
logic bypass_i3c_core;
589589
assign bypass_i3c_core = hwif_out.I3C_EC.SoCMgmtIf.REC_INTF_CFG.REC_INTF_BYPASS.value;
590+
logic unused_err;
590591

591592
controller #(
592593
.DatAw(DatAw),
@@ -744,7 +745,7 @@ module i3c
744745
.i3c_fsm_en_i (i3c_fsm_en_i),
745746
.i3c_fsm_idle_o(i3c_fsm_idle_o),
746747

747-
.err(), // TODO: Handle errors
748+
.err(unused_err), // TODO: Handle errors
748749
.irq(ctl_irq),
749750
.hwif_out_i(hwif_out),
750751
.hwif_rec_i(hwif_rec_out),

src/recovery/recovery_handler.sv

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,13 @@ module recovery_handler
972972

973973
logic indirect_rx_empty;
974974

975+
logic [$clog2(IndirectFifoDepth + 1)-1:0] unused_depth_o;
976+
logic unused_start_thld_trig_o;
977+
logic unused_ready_thld_trig_o;
978+
logic [ 2:0] unused_ready_thld_o;
979+
logic unused_reg_rst_we_o;
980+
logic unused_reg_rst_data_o;
981+
975982
// Indirect FIFO (RX only)
976983
read_queue #(
977984
.Depth (IndirectFifoDepth),
@@ -992,8 +999,8 @@ module recovery_handler
992999

9931000
// Clear port
9941001
.reg_rst_i (indirect_rx_clr),
995-
.reg_rst_we_o (),
996-
.reg_rst_data_o(),
1002+
.reg_rst_we_o (unused_reg_rst_we_o),
1003+
.reg_rst_data_o(unused_reg_rst_data_o),
9971004

9981005
// Status
9991006
.full_o (indirect_rx_full),
@@ -1002,10 +1009,10 @@ module recovery_handler
10021009
// Threshold logic (unused)
10031010
.start_thld_i ('0),
10041011
.ready_thld_i ('0),
1005-
.ready_thld_o (),
1006-
.start_thld_trig_o(),
1007-
.ready_thld_trig_o(),
1008-
.depth_o ()
1012+
.ready_thld_o (unused_ready_thld_o),
1013+
.start_thld_trig_o(unused_start_thld_trig_o),
1014+
.ready_thld_trig_o(unused_ready_thld_trig_o),
1015+
.depth_o (unused_depth_o)
10091016
);
10101017

10111018
always_ff @(posedge clk_i or negedge rst_ni) begin : indirect_fifo_access_permissions

verification/cocotb/block/lib_hci_queues/hci_queues_wrapper.sv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,8 @@ module hci_queues_wrapper
620620
logic csr_tti_ibi_queue_reg_rst_we;
621621
logic csr_tti_ibi_queue_reg_rst_data;
622622

623+
logic unused_irq;
624+
623625
tti xtti (
624626
.clk_i (clk_i),
625627
.rst_ni(rst_ni),

0 commit comments

Comments
 (0)