mdio_io: Use localparams for states

These states are not user-modifyable, so make them local.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
Sean Anderson 2022-08-29 21:36:24 -04:00
parent ebcb8cc056
commit 4cc574048d
1 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,9 @@ module mii_io_rx (
reg rx_clk_p_next, rx_clk_n, rx_clk_n_next;
reg [1:0] state = HIGH, state_next;
parameter LOW = 2;
parameter RISING = 1;
parameter HIGH = 0;
localparam LOW = 2;
localparam RISING = 1;
localparam HIGH = 0;
always @(*) begin
rx_clk_p_next = 0;