Commit fd5eac3e authored by Alexey Grebenkin's avatar Alexey Grebenkin

rx/tx -> x state on idle

parent 7c04cd9c
...@@ -57,7 +57,7 @@ localparam wake_bursts_cnt = 5; ...@@ -57,7 +57,7 @@ localparam wake_bursts_cnt = 5;
localparam init_bursts_cnt = 5; localparam init_bursts_cnt = 5;
wire idle; wire idle;
assign idle = RXN == RXP; assign idle = (RXN == RXP) | (RXP === 1'bx);
wire state_notrans; wire state_notrans;
wire state_error; //nostrans substate wire state_error; //nostrans substate
......
...@@ -98,8 +98,8 @@ wire line_idle_pcs; // line_idle in pcs clock domain ...@@ -98,8 +98,8 @@ wire line_idle_pcs; // line_idle in pcs clock domain
wire [internal_data_width - 1:0] ser_input; wire [internal_data_width - 1:0] ser_input;
wire oob_active; wire oob_active;
assign TXP = ~line_idle & serial_data; assign TXP = ~line_idle ? serial_data : 1'bx;
assign TXN = ~line_idle & ~serial_data; assign TXN = ~line_idle ? ~serial_data : 1'bx;
assign line_idle_pcs = TXELECIDLE & ~oob_active | reset; assign line_idle_pcs = TXELECIDLE & ~oob_active | reset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment