pcs: Fix some lint

There were two unused variables; remove them. The wrong type of
assignments were used; fix them.

Fixes: d351291 ("Initial commit")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
Sean Anderson 2022-08-06 15:21:15 -04:00
parent d2b4f9b061
commit 93e91e3eb0
1 changed files with 2 additions and 4 deletions

View File

@ -450,8 +450,6 @@ module pcs_rx (
reg ce_next, valid_next, err_next;
reg [2:0] state, state_next;
initial state = IDLE;
/* Receive shift buffer */
reg [9:0] buffer, buffer_next;
/* Whether we are aligned and receiving */
reg rx_next;
@ -645,7 +643,7 @@ module top (
reg [11:0] in;
always @(posedge clk)
in = { in[10:0], in_next };
in <= { in[10:0], in_next };
wire tx_ce;
wire tx_en;
@ -668,7 +666,7 @@ module top (
reg [9:0] out_next;
always @(posedge clk)
out_next = { rx_ce, rx_dv, rxd, rx_er, pma_data_tx, crs, col };
out_next <= { rx_ce, rx_dv, rxd, rx_er, pma_data_tx, crs, col };
assign out = ^out_next;