Skip to content

Commit 3ed8fc3

Browse files
committed
i3c_controller: extend daa_trigger signal until sdo byte
Extending the signal until the sdo byte (dynamic address) is written is useful to debug the logic. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
1 parent 7850a9f commit 3ed8fc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/i3c_controller/i3c_controller_core/i3c_controller_framing.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ module i3c_controller_framing #(
185185
// Delay DAA trigger one word to match last SDI byte.
186186
cmdp_daa_trigger <= 1'b0;
187187
if (cmdw_ready) begin
188-
daa_trigger <= 1'b0;
189188
cmdp_daa_trigger <= daa_trigger;
190189
end
191190

@@ -281,13 +280,14 @@ module i3c_controller_framing #(
281280
`CMDW_DAA_DEV_CHAR: begin
282281
dev_char_len <= dev_char_len - 1;
283282
if (~|dev_char_len) begin
284-
st <= `CMDW_DYN_ADDR;
283+
st <= `CMDW_DYN_ADDR;
285284
sm <= SM_SETUP_SDO;
286285
daa_trigger <= 1'b1;
287286
end
288287
end
289288
`CMDW_DYN_ADDR: begin
290289
st <= j == MAX_DEVS - 1 ? `CMDW_STOP_OD : `CMDW_START;
290+
daa_trigger <= 1'b0;
291291
end
292292
`CMDW_MSG_SR: begin
293293
cmdw_body <= {cmdp_da, cmdp_rnw}; // Be aware of RnW here

0 commit comments

Comments
 (0)