From 7e5a63838653bcfd73fe4667ac8be5d2db142468 Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Fri, 22 Oct 2021 14:58:57 +0100 Subject: [PATCH] jesd204_versal_gt_adapter_rx/tx: Infer Versal GT interface --- .../jesd204_versal_gt_adapter_rx_ip.tcl | 10 ++++++++++ .../jesd204_versal_gt_adapter_tx_ip.tcl | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/library/jesd204/jesd204_versal_gt_adapter_rx/jesd204_versal_gt_adapter_rx_ip.tcl b/library/jesd204/jesd204_versal_gt_adapter_rx/jesd204_versal_gt_adapter_rx_ip.tcl index e38d502e1..890e6f8c4 100644 --- a/library/jesd204/jesd204_versal_gt_adapter_rx/jesd204_versal_gt_adapter_rx_ip.tcl +++ b/library/jesd204/jesd204_versal_gt_adapter_rx/jesd204_versal_gt_adapter_rx_ip.tcl @@ -65,4 +65,14 @@ adi_add_bus "RX" "master" \ { "rx_block_sync" "rxblock_sync" } \ } +adi_add_bus "RX_GT_IP_Interface" "master" \ + "xilinx.com:interface:gt_rx_interface_rtl:1.0" \ + "xilinx.com:interface:gt_rx_interface:1.0" \ + { \ + { "rxdata" "ch_rxdata" } \ + { "rxheader" "ch_rxheader" } \ + { "rxheadervalid" "ch_rxheadervalid" } \ + { "rxgearboxslip" "ch_rxgearboxslip" } \ + } + ipx::save_core [ipx::current_core] diff --git a/library/jesd204/jesd204_versal_gt_adapter_tx/jesd204_versal_gt_adapter_tx_ip.tcl b/library/jesd204/jesd204_versal_gt_adapter_tx/jesd204_versal_gt_adapter_tx_ip.tcl index 13529fde8..222a3e3ce 100644 --- a/library/jesd204/jesd204_versal_gt_adapter_tx/jesd204_versal_gt_adapter_tx_ip.tcl +++ b/library/jesd204/jesd204_versal_gt_adapter_tx/jesd204_versal_gt_adapter_tx_ip.tcl @@ -55,6 +55,14 @@ adi_ip_properties_lite jesd204_versal_gt_adapter_tx set_property display_name "ADI JESD204 Versal Transceiver Tx Lane Adapter" [ipx::current_core] set_property description "ADI JESD204 Versal Transceiver Tx Lane Adapter" [ipx::current_core] +adi_add_bus "TX_GT_IP_Interface" "master" \ + "xilinx.com:interface:gt_tx_interface_rtl:1.0" \ + "xilinx.com:interface:gt_tx_interface:1.0" \ + { \ + { "txdata" "ch_txdata" } \ + { "txheader" "ch_txheader" } \ + } + adi_add_bus "TX" "slave" \ "xilinx.com:display_jesd204:jesd204_tx_bus_rtl:1.0" \ "xilinx.com:display_jesd204:jesd204_tx_bus:1.0" \