Skip to content

Commit

Permalink
xilinx_bd: Update XDMA params
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilKoe committed Jan 2, 2024
1 parent 8ce68b7 commit 9749e3b
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions target/xilinx/flavor_bd/scripts/carfield_bd_vcu128.tcl
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Copyright 2020 ETH Zurich and University of Bologna.
# Solderpad Hardware License, Version 0.51, see LICENSE for details.
# SPDX-License-Identifier: SHL-0.51
#
# This file was generated for vivado 2020.2

Check failure on line 1 in target/xilinx/flavor_bd/scripts/carfield_bd_vcu128.tcl

View workflow job for this annotation

GitHub Actions / lint-license

FAILED: File does not start with comment
################################################################
# This is a generated script based on design: design_1
Expand Down Expand Up @@ -406,12 +401,17 @@ proc create_root_design { parentCell } {
# Create instance: xdma_0, and set properties
set xdma_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:xdma:4.1 xdma_0 ]
set_property -dict [ list \
CONFIG.PCIE_BOARD_INTERFACE {pci_express_x2} \
CONFIG.PF0_DEVICE_ID_mqdma {9012} \
CONFIG.PF2_DEVICE_ID_mqdma {9012} \
CONFIG.PF3_DEVICE_ID_mqdma {9012} \
CONFIG.PCIE_BOARD_INTERFACE {pci_express_x4} \
CONFIG.PF0_DEVICE_ID_mqdma {9014} \
CONFIG.PF2_DEVICE_ID_mqdma {9014} \
CONFIG.PF3_DEVICE_ID_mqdma {9014} \
CONFIG.SYS_RST_N_BOARD_INTERFACE {pcie_perstn} \
CONFIG.axi_addr_width {64} \
CONFIG.axi_addr_width {32} \
CONFIG.axi_bypass_64bit_en {true} \
CONFIG.axi_bypass_prefetchable {true} \
CONFIG.axist_bypass_en {true} \
CONFIG.axist_bypass_scale {Gigabytes} \
CONFIG.axist_bypass_size {4} \
CONFIG.axisten_freq {125} \
CONFIG.bar_indicator {BAR_1:0} \
CONFIG.c_s_axi_supports_narrow_burst {false} \
Expand All @@ -420,18 +420,19 @@ proc create_root_design { parentCell } {
CONFIG.mode_selection {Advanced} \
CONFIG.pf0_bar0_64bit {true} \
CONFIG.pf0_bar0_scale {Gigabytes} \
CONFIG.pf0_bar0_size {4} \
CONFIG.pf0_base_class_menu {Processing_accelerators} \
CONFIG.pf0_class_code {120000} \
CONFIG.pf0_class_code_base {12} \
CONFIG.pf0_class_code_interface {00} \
CONFIG.pf0_device_id {9012} \
CONFIG.pf0_bar0_size {1} \
CONFIG.pf0_base_class_menu {Simple_communication_controllers} \
CONFIG.pf0_class_code {070001} \
CONFIG.pf0_class_code_base {07} \
CONFIG.pf0_class_code_interface {01} \
CONFIG.pf0_device_id {9014} \
CONFIG.pf0_msix_cap_pba_bir {BAR_1:0} \
CONFIG.pf0_msix_cap_table_bir {BAR_1:0} \
CONFIG.pf0_sub_class_interface_menu {Unknown} \
CONFIG.pf0_sub_class_interface_menu {16450_compatible_serial_controller} \
CONFIG.pl_link_cap_max_link_speed {2.5_GT/s} \
CONFIG.pl_link_cap_max_link_width {X2} \
CONFIG.pl_link_cap_max_link_width {X4} \
CONFIG.plltype {CPLL} \
CONFIG.xdma_axi_intf_mm {AXI_Memory_Mapped} \
CONFIG.xdma_axilite_slave {true} \
] $xdma_0

Expand Down Expand Up @@ -511,12 +512,12 @@ proc create_root_design { parentCell } {
assign_bd_address -offset 0x41E00000 -range 0x00010000 -target_address_space [get_bd_addr_spaces carfield_xilinx_ip_0/periph_axi_m] [get_bd_addr_segs axi_dma_0/S_AXI_LITE/Reg] -force
assign_bd_address -offset 0x40C00000 -range 0x00040000 -target_address_space [get_bd_addr_spaces carfield_xilinx_ip_0/periph_axi_m] [get_bd_addr_segs axi_ethernet_0/s_axi/Reg0] -force
assign_bd_address -offset 0x80000000 -range 0x80000000 -target_address_space [get_bd_addr_spaces carfield_xilinx_ip_0/dram_axi] [get_bd_addr_segs ddr4_0/C0_DDR4_MEMORY_MAP/C0_DDR4_ADDRESS_BLOCK] -force
assign_bd_address -offset 0x00000000 -range 0x0001000000000000 -target_address_space [get_bd_addr_spaces xdma_0/M_AXI_B] [get_bd_addr_segs carfield_xilinx_ip_0/periph_axi_s/reg0] -force
assign_bd_address -offset 0x76000000 -range 0x00100000 -target_address_space [get_bd_addr_spaces carfield_xilinx_ip_0/periph_axi_m] [get_bd_addr_segs xdma_0/S_AXI_B/BAR0] -force
assign_bd_address -offset 0x00000000 -range 0x20000000 -target_address_space [get_bd_addr_spaces carfield_xilinx_ip_0/periph_axi_m] [get_bd_addr_segs xdma_0/S_AXI_LITE/CTL0] -force
assign_bd_address -offset 0x00000000 -range 0x000100000000 -target_address_space [get_bd_addr_spaces xdma_0/M_AXI_B] [get_bd_addr_segs carfield_xilinx_ip_0/periph_axi_s/reg0] -force

# Exclude Address Segments
exclude_bd_addr_seg -offset 0x80000000 -range 0x00100000 -target_address_space [get_bd_addr_spaces carfield_xilinx_ip_0/periph_axi_m] [get_bd_addr_segs ddr4_0/C0_DDR4_MEMORY_MAP_CTRL/C0_REG]
exclude_bd_addr_seg -offset 0x76000000 -range 0x00100000 -target_address_space [get_bd_addr_spaces carfield_xilinx_ip_0/periph_axi_m] [get_bd_addr_segs xdma_0/S_AXI_B/BAR0]
exclude_bd_addr_seg -offset 0x00000000 -range 0x20000000 -target_address_space [get_bd_addr_spaces carfield_xilinx_ip_0/periph_axi_m] [get_bd_addr_segs xdma_0/S_AXI_LITE/CTL0]


# Restore current instance
Expand Down

0 comments on commit 9749e3b

Please sign in to comment.