Skip to content

Commit a061794

Browse files
wkkunakgugala
authored andcommitted
Wire unused logic
Signed-off-by: Wiktoria Kuna <[email protected]>
1 parent b940b43 commit a061794

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
@@ -591,6 +591,7 @@ module i3c
591591
`else
592592
assign bypass_i3c_core = '0;
593593
`endif
594+
logic unused_err;
594595

595596
controller #(
596597
.DatAw(DatAw),
@@ -748,7 +749,7 @@ module i3c
748749
.i3c_fsm_en_i (i3c_fsm_en_i),
749750
.i3c_fsm_idle_o(i3c_fsm_idle_o),
750751

751-
.err(), // TODO: Handle errors
752+
.err(unused_err), // TODO: Handle errors
752753
.irq(ctl_irq),
753754
.hwif_out_i(hwif_out),
754755
.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
@@ -979,6 +979,13 @@ module recovery_handler
979979

980980
logic indirect_rx_empty;
981981

982+
logic [$clog2(IndirectFifoDepth + 1)-1:0] unused_depth_o;
983+
logic unused_start_thld_trig_o;
984+
logic unused_ready_thld_trig_o;
985+
logic [ 2:0] unused_ready_thld_o;
986+
logic unused_reg_rst_we_o;
987+
logic unused_reg_rst_data_o;
988+
982989
// Indirect FIFO (RX only)
983990
read_queue #(
984991
.Depth (IndirectFifoDepth),
@@ -999,8 +1006,8 @@ module recovery_handler
9991006

10001007
// Clear port
10011008
.reg_rst_i (indirect_rx_clr),
1002-
.reg_rst_we_o (),
1003-
.reg_rst_data_o(),
1009+
.reg_rst_we_o (unused_reg_rst_we_o),
1010+
.reg_rst_data_o(unused_reg_rst_data_o),
10041011

10051012
// Status
10061013
.full_o (indirect_rx_full),
@@ -1009,10 +1016,10 @@ module recovery_handler
10091016
// Threshold logic (unused)
10101017
.start_thld_i ('0),
10111018
.ready_thld_i ('0),
1012-
.ready_thld_o (),
1013-
.start_thld_trig_o(),
1014-
.ready_thld_trig_o(),
1015-
.depth_o ()
1019+
.ready_thld_o (unused_ready_thld_o),
1020+
.start_thld_trig_o(unused_start_thld_trig_o),
1021+
.ready_thld_trig_o(unused_ready_thld_trig_o),
1022+
.depth_o (unused_depth_o)
10161023
);
10171024

10181025
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)