Skip to content

Commit

Permalink
updated all xci generation scripts so that user can set output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
TripRichert committed Sep 3, 2020
1 parent d58a9cc commit 210016e
Show file tree
Hide file tree
Showing 72 changed files with 432 additions and 72 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTH-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name ten_gig_eth_pcs_pma -vendor xilinx.com -library ip -module_name ten_gig_eth_pcs_pma_0
create_ip -name ten_gig_eth_pcs_pma -vendor xilinx.com -library ip -module_name ten_gig_eth_pcs_pma_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.MDIO_Management {false} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name ten_gig_eth_pcs_pma -vendor xilinx.com -library ip -module_name ten_gig_eth_pcs_pma_1
create_ip -name ten_gig_eth_pcs_pma -vendor xilinx.com -library ip -module_name ten_gig_eth_pcs_pma_1 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.MDIO_Management {false} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0
create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.Standard {SGMII} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0
create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.Standard {SGMII} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0
create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.Standard {SGMII} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0
create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.Standard {SGMII} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0
create_ip -name gig_ethernet_pcs_pma -vendor xilinx.com -library ip -module_name gig_ethernet_pcs_pma_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.Standard {SGMII} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTH-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0
create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie4c_uscale_plus -vendor xilinx.com -library ip -module_name pcie4c_uscale_plus_0
create_ip -name pcie4c_uscale_plus -vendor xilinx.com -library ip -module_name pcie4c_uscale_plus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie4c_uscale_plus -vendor xilinx.com -library ip -module_name pcie4c_uscale_plus_0
create_ip -name pcie4c_uscale_plus -vendor xilinx.com -library ip -module_name pcie4c_uscale_plus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie3_ultrascale -vendor xilinx.com -library ip -module_name pcie3_ultrascale_0
create_ip -name pcie3_ultrascale -vendor xilinx.com -library ip -module_name pcie3_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0
create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie3_ultrascale -vendor xilinx.com -library ip -module_name pcie3_ultrascale_0
create_ip -name pcie3_ultrascale -vendor xilinx.com -library ip -module_name pcie3_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0
create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0
create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0
create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
7 changes: 6 additions & 1 deletion fpga/mqnic/ADM_PCIE_9V3/fpga_100g/ip/cmac_usplus_0.tcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name cmac_usplus -vendor xilinx.com -library ip -module_name cmac_usplus_0
create_ip -name cmac_usplus -vendor xilinx.com -library ip -module_name cmac_usplus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.CMAC_CAUI4_MODE {1} \
Expand Down
7 changes: 6 additions & 1 deletion fpga/mqnic/ADM_PCIE_9V3/fpga_100g/ip/cmac_usplus_1.tcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name cmac_usplus -vendor xilinx.com -library ip -module_name cmac_usplus_1
create_ip -name cmac_usplus -vendor xilinx.com -library ip -module_name cmac_usplus_1 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.CMAC_CAUI4_MODE {1} \
Expand Down
7 changes: 6 additions & 1 deletion fpga/mqnic/ADM_PCIE_9V3/fpga_100g/ip/pcie4_uscale_plus_0.tcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0
create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
7 changes: 6 additions & 1 deletion fpga/mqnic/ADM_PCIE_9V3/fpga_10g/ip/pcie4_uscale_plus_0.tcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0
create_ip -name pcie4_uscale_plus -vendor xilinx.com -library ip -module_name pcie4_uscale_plus_0 {*}$ip_gen_dirstr

set_property -dict [list \
CONFIG.PL_LINK_CAP_MAX_LINK_SPEED {8.0_GT/s} \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
if {[info exists ip_gen_dir]} {
set ip_gen_dirstr "-dir $ip_gen_dir"
} else {
set ip_gen_dirstr ""
}

create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0
create_ip -name gtwizard_ultrascale -vendor xilinx.com -library ip -module_name gtwizard_ultrascale_0 {*}$ip_gen_dirstr

set_property -dict [list CONFIG.preset {GTY-10GBASE-R}] [get_ips gtwizard_ultrascale_0]

Expand Down
Loading

0 comments on commit 210016e

Please sign in to comment.