Skip to content

Commit c5cd4c6

Browse files
fix: hsel signal in ahb mux had incorrect width
1 parent 86043ab commit c5cd4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tang20k/scr1/ip/ahb_slave_mux/ahb_slave_mux.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module ahb_slave_mux
1919
if (~rst_n)begin
2020
local_hsel <= 2'b0;
2121
end
22-
else if (htrans != 2'b0 && hsel_s != 2'b0) begin
22+
else if (htrans != 2'b0 && hsel_s != 3'b0) begin
2323
local_hsel <= hsel_s;
2424
end
2525

0 commit comments

Comments
 (0)