spi_switch: fix dangling else

This commit is contained in:
Peter McGoron 2023-03-14 15:43:34 +00:00
parent 90a49b6091
commit c8f2cf1f7a
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@ generate if (PORTS == 3) always @(*) begin
end
end else always @(*) begin
`check_select(1)
else `do_select(0);
else begin
`do_select(0);
end
end endgenerate
endmodule