Skip to content

Commit 2847e76

Browse files
committed
Don't assign incorrect static address on SETAASA command
Signed-off-by: Maciej Dudek <[email protected]>
1 parent b9ba283 commit 2847e76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ctrl/ccc.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,10 +1045,10 @@ module ccc
10451045
// be set
10461046
`I3C_BCAST_SETAASA: begin
10471047
if (state_q == RxTbit && bus_rx_done_i) begin
1048-
if (~target_dyn_address_valid_i) begin
1048+
if (~target_dyn_address_valid_i && ~(target_sta_address_i inside {[7'h00:7'h07], 7'h3E, 7'h5E, 7'h6E, 7'h76, [7'h78:7'h7F]})) begin
10491049
set_aasa_valid <= 1'b1;
10501050
end
1051-
if (~virtual_target_dyn_address_valid_i) begin
1051+
if (~virtual_target_dyn_address_valid_i && ~(virtual_target_sta_address_i inside {[7'h00:7'h07], 7'h3E, 7'h5E, 7'h6E, 7'h76, [7'h78:7'h7F]})) begin
10521052
set_aasa_virt_valid <= 1'b1;
10531053
end
10541054
end else begin

0 commit comments

Comments
 (0)