From 0702f2c23118484ba2226b3e84bb5927af539a8d Mon Sep 17 00:00:00 2001 From: Rejeesh Kutty Date: Mon, 21 Sep 2015 09:31:18 -0400 Subject: [PATCH] ccpci- added --- projects/pzsdr/ccpci/system_bd.tcl | 2 +- projects/pzsdr/ccpci/system_project.tcl | 6 +++--- projects/pzsdr/common/ccpci_bd.tcl | 12 ++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 projects/pzsdr/common/ccpci_bd.tcl diff --git a/projects/pzsdr/ccpci/system_bd.tcl b/projects/pzsdr/ccpci/system_bd.tcl index 4907eef1b..1d1d355be 100644 --- a/projects/pzsdr/ccpci/system_bd.tcl +++ b/projects/pzsdr/ccpci/system_bd.tcl @@ -1,4 +1,4 @@ source $ad_hdl_dir/projects/common/pzsdr/pzsdr_system_bd.tcl -source ../common/ccbrk_bd.tcl +source ../common/ccpci_bd.tcl diff --git a/projects/pzsdr/ccpci/system_project.tcl b/projects/pzsdr/ccpci/system_project.tcl index 188131d3c..dd3b88034 100644 --- a/projects/pzsdr/ccpci/system_project.tcl +++ b/projects/pzsdr/ccpci/system_project.tcl @@ -5,8 +5,8 @@ source ../../scripts/adi_env.tcl -notrace source $ad_hdl_dir/projects/scripts/adi_project.tcl -notrace source $ad_hdl_dir/projects/scripts/adi_board.tcl -notrace -adi_project_create ccbrk_pzsdr -adi_project_files ccbrk_pzsdr [list \ +adi_project_create ccpci_pzsdr +adi_project_files ccpci_pzsdr [list \ "system_top.v" \ "system_constr.xdc"\ "$ad_hdl_dir/library/common/ad_iobuf.v" \ @@ -15,6 +15,6 @@ adi_project_files ccbrk_pzsdr [list \ set_property PROCESSING_ORDER EARLY [get_files $ad_hdl_dir/projects/common/pzsdr/pzsdr_system_constr.xdc] set_property PROCESSING_ORDER EARLY [get_files system_constr.xdc] -adi_project_run ccbrk_pzsdr +adi_project_run ccpci_pzsdr diff --git a/projects/pzsdr/common/ccpci_bd.tcl b/projects/pzsdr/common/ccpci_bd.tcl new file mode 100644 index 000000000..2368e1067 --- /dev/null +++ b/projects/pzsdr/common/ccpci_bd.tcl @@ -0,0 +1,12 @@ + +# pci-express + +set axi_pcie_x4 [create_bd_cell -type ip -vlnv xilinx.com:ip:axi_pcie:2.6 axi_pcie_x4] +set_property -dict [list CONFIG.NO_OF_LANES {X4}] $axi_pcie_x4 +set_property -dict [list CONFIG.MAX_LINK_SPEED {5.0_GT/s}] $axi_pcie_x4 +set_property -dict [list CONFIG.DEVICE_ID {0x7022}] $axi_pcie_x4 + +ad_cpu_interconnect 0x44A60000 axi_pcie_x4 +ad_mem_hp0_interconnect sys_cpu_clk sys_ps7/S_AXI_HP0 +ad_mem_hp0_interconnect sys_cpu_clk axi_pcie_x4/M_AXI +