pmd: Fix wrong type of assignment

This process used the wrong type of assignment. Fix it.

Fixes: 1d65661 ("Add pmd")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
Sean Anderson 2022-08-28 12:18:18 -04:00
parent dd4183991d
commit 050ecaade6
1 changed files with 4 additions and 4 deletions

View File

@ -101,10 +101,10 @@ module pmd (
* that, we need two cycles of history to detect edges.
*/
always @(posedge rx_clk_125) begin
rx_a[2:1] = rx_a[1:0];
rx_b[2:1] = rx_b[1:0];
rx_c[2:1] = rx_c[1:0];
rx_d[2:1] = rx_d[1:0];
rx_a[2:1] <= rx_a[1:0];
rx_b[2:1] <= rx_b[1:0];
rx_c[2:1] <= rx_c[1:0];
rx_d[2:1] <= rx_d[1:0];
end
localparam A = 0;