Skip to content

Commit 2cc513d

Browse files
wkkunakgugala
authored andcommitted
IBI: Handle lost arbitration
Signed-off-by: Wiktoria Kuna <[email protected]>
1 parent 97f43a3 commit 2cc513d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

doc/cts-list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
| pvt_read | 5.1.2.3.3 Ninth Bit of SDR Slave Returned (Read) Data as End-of-Data |
2121
| pvt_write | 5.1.2.3.1 Transition from Address ACK to SDR Master Write Data |
2222
| slv_intr_req | 5.1.6 In-Band Interrupt <br /> 5.1.6.2 I3C Slave Interrupt Request |
23+
| slv_addr_arb | 5.1.2.2.1 I3C Address Arbitration <br /> 5.1.6 In-Band Interrupt |
2324

2425

src/ctrl/controller_standby_i3c.sv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ module controller_standby_i3c
591591
.bus_rx_req_value_i(ibi_bus_rx_data),
592592

593593
.t_hd_dat_i(t_hd_dat_i),
594+
.arbitration_lost_i,
594595
.sda_o(ibi_sda)
595596
);
596597

src/ctrl/ibi.sv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ module ibi (
6161

6262
// Bus drive interface
6363
input logic [19:0] t_hd_dat_i,
64+
input logic arbitration_lost_i,
6465
output logic sda_o
6566
);
6667

@@ -139,6 +140,7 @@ module ibi (
139140

140141
DriveAddr:
141142
if (bus_stop_i) state_q <= Done;
143+
else if (arbitration_lost_i) state_q <= WaitStopOrRstart;
142144
else if (bus_tx_done_i) state_q <= ReadAck;
143145

144146
ReadAck:

0 commit comments

Comments
 (0)