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:
parent
ebcb8cc056
commit
4cc574048d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue