From 52c7549b623f071883c6018abc102da51d9e8748 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 18 Jan 2019 19:54:10 +0800 Subject: [PATCH] ku_1000basex: cleanup --- misoc/cores/liteeth_mini/phy/ku_1000basex.py | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/misoc/cores/liteeth_mini/phy/ku_1000basex.py b/misoc/cores/liteeth_mini/phy/ku_1000basex.py index d5615cd20..9da170feb 100644 --- a/misoc/cores/liteeth_mini/phy/ku_1000basex.py +++ b/misoc/cores/liteeth_mini/phy/ku_1000basex.py @@ -796,25 +796,16 @@ def __init__(self, clk_pads, data_pads, sys_clk_freq): # o_TXSYNCDONE=, # o_TXSYNCOUT=, ) - # Vivado fails to automatically insert BUFG_GT_SYNC for some reason. tx_bufg_gt_ce = Signal() tx_bufg_gt_clr = Signal() rx_bufg_gt_ce = Signal() rx_bufg_gt_clr = Signal() self.specials += [ Instance("GTHE3_CHANNEL", **xilinx_mess), - Instance("BUFG_GT", i_I=self.txoutclk, o_O=self.cd_eth_tx.clk, i_DIV=0),#, - #i_CE=tx_bufg_gt_ce, i_CLR=tx_bufg_gt_clr), - Instance("BUFG_GT", i_I=self.txoutclk, o_O=self.cd_eth_tx_half.clk, i_DIV=1),#, - #i_CE=tx_bufg_gt_ce, i_CLR=tx_bufg_gt_clr), - #Instance("BUFG_GT_SYNC", i_CLK=self.txoutclk, i_CE=1, i_CLR=0, - # o_CESYNC=tx_bufg_gt_ce, o_CLRSYNC=tx_bufg_gt_clr), + Instance("BUFG_GT", i_I=self.txoutclk, o_O=self.cd_eth_tx.clk, i_DIV=0), + Instance("BUFG_GT", i_I=self.txoutclk, o_O=self.cd_eth_tx_half.clk, i_DIV=1), Instance("BUFG_GT", i_I=self.rxoutclk, o_O=self.cd_eth_rx.clk, i_DIV=0), - #i_CE=rx_bufg_gt_ce, i_CLR=rx_bufg_gt_clr), - Instance("BUFG_GT", i_I=self.rxoutclk, o_O=self.cd_eth_rx_half.clk, i_DIV=1),#, - #i_CE=rx_bufg_gt_ce, i_CLR=rx_bufg_gt_clr), - #Instance("BUFG_GT_SYNC", i_CLK=self.rxoutclk, i_CE=1, i_CLR=0, - # o_CESYNC=rx_bufg_gt_ce, o_CLRSYNC=rx_bufg_gt_clr), + Instance("BUFG_GT", i_I=self.rxoutclk, o_O=self.cd_eth_rx_half.clk, i_DIV=1), AsyncResetSynchronizer(self.cd_eth_tx, ~tx_reset_done), AsyncResetSynchronizer(self.cd_eth_rx, ~rx_reset_done), ]