spi_switch: fix dangling else
This commit is contained in:
parent
90a49b6091
commit
c8f2cf1f7a
|
@ -44,7 +44,9 @@ generate if (PORTS == 3) always @(*) begin
|
||||||
end
|
end
|
||||||
end else always @(*) begin
|
end else always @(*) begin
|
||||||
`check_select(1)
|
`check_select(1)
|
||||||
else `do_select(0);
|
else begin
|
||||||
|
`do_select(0);
|
||||||
|
end
|
||||||
end endgenerate
|
end endgenerate
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue