From 2832c79ff02496424b7385916206f663087e128c Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Sun, 16 Oct 2022 17:42:17 -0400 Subject: [PATCH] pmd_io: Switch to single-ended tx signal The singal-ended to differential conversion will be done by the transceiver (by the ECL interface circuit). Signed-off-by: Sean Anderson --- rtl/pmd_io.v | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/rtl/pmd_io.v b/rtl/pmd_io.v index c92f8e2..a76bd40 100644 --- a/rtl/pmd_io.v +++ b/rtl/pmd_io.v @@ -19,8 +19,8 @@ module pmd_io ( input rx_clk_125, input signal_detect, - output reg tx_p, tx_n, input rx, + output reg tx, /* PMD */ output signal_status, @@ -187,26 +187,14 @@ module pmd_io ( `ifdef SYNTHESIS SB_IO #( .PIN_TYPE(`PIN_OUTPUT_ALWAYS | `PIN_OUTPUT_REGISTERED), - .IO_STANDARD("SB_LVDS_INPUT") ) data_txp_pin ( - .PACKAGE_PIN(tx_p), - .OUTPUT_CLK(rx_clk_125), - .D_OUT_0(pmd_data_tx) - ); - - SB_IO #( - .PIN_TYPE(`PIN_OUTPUT_ALWAYS | `PIN_OUTPUT_REGISTERED_INVERTED), - .IO_STANDARD("SB_LVDS_INPUT") - ) data_txn_pin ( - .PACKAGE_PIN(tx_n), + .PACKAGE_PIN(tx), .OUTPUT_CLK(rx_clk_125), .D_OUT_0(pmd_data_tx) ); `else - always @(posedge tx_clk) begin - tx_p <= pmd_data_tx; - tx_n <= ~pmd_data_tx; - end + always @(posedge tx_clk) + tx <= pmd_data_tx; `endif `ifndef SYNTHESIS