pmd: Consolidate initial assignment

We don't have to use a separate initial statement when declaring initial
values.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
Sean Anderson 2022-08-28 12:20:09 -04:00
parent 050ecaade6
commit fe908de1f1
1 changed files with 2 additions and 4 deletions

View File

@ -112,10 +112,8 @@ module pmd (
localparam C = 2;
localparam D = 3;
reg [1:0] state, state_next;
initial state = A;
reg valid, valid_next;
initial valid = 0;
reg [1:0] state = A, state_next;
reg valid = 0, valid_next;
reg [1:0] pmd_data_rx_next, pmd_data_rx_valid_next;
reg [3:0] rx_r, rx_f;