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 <seanga2@gmail.com>
This commit is contained in:
parent
ab341eca0e
commit
2832c79ff0
20
rtl/pmd_io.v
20
rtl/pmd_io.v
|
@ -19,8 +19,8 @@ module pmd_io (
|
||||||
input rx_clk_125,
|
input rx_clk_125,
|
||||||
|
|
||||||
input signal_detect,
|
input signal_detect,
|
||||||
output reg tx_p, tx_n,
|
|
||||||
input rx,
|
input rx,
|
||||||
|
output reg tx,
|
||||||
|
|
||||||
/* PMD */
|
/* PMD */
|
||||||
output signal_status,
|
output signal_status,
|
||||||
|
@ -187,26 +187,14 @@ module pmd_io (
|
||||||
`ifdef SYNTHESIS
|
`ifdef SYNTHESIS
|
||||||
SB_IO #(
|
SB_IO #(
|
||||||
.PIN_TYPE(`PIN_OUTPUT_ALWAYS | `PIN_OUTPUT_REGISTERED),
|
.PIN_TYPE(`PIN_OUTPUT_ALWAYS | `PIN_OUTPUT_REGISTERED),
|
||||||
.IO_STANDARD("SB_LVDS_INPUT")
|
|
||||||
) data_txp_pin (
|
) data_txp_pin (
|
||||||
.PACKAGE_PIN(tx_p),
|
.PACKAGE_PIN(tx),
|
||||||
.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),
|
|
||||||
.OUTPUT_CLK(rx_clk_125),
|
.OUTPUT_CLK(rx_clk_125),
|
||||||
.D_OUT_0(pmd_data_tx)
|
.D_OUT_0(pmd_data_tx)
|
||||||
);
|
);
|
||||||
`else
|
`else
|
||||||
always @(posedge tx_clk) begin
|
always @(posedge tx_clk)
|
||||||
tx_p <= pmd_data_tx;
|
tx <= pmd_data_tx;
|
||||||
tx_n <= ~pmd_data_tx;
|
|
||||||
end
|
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
`ifndef SYNTHESIS
|
`ifndef SYNTHESIS
|
||||||
|
|
Loading…
Reference in New Issue