Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
4e4267a5
Commit
4e4267a5
authored
Sep 24, 2018
by
Jaco Hofmann
Browse files
Add preliminary VCU108 support
parent
466f1db8
Pipeline
#618
passed with stage
in 8 minutes and 27 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
common/common_2018.1.tcl
View file @
4e4267a5
# create a dictionary of compatible VLNVs
source $::env
(
TAPASCO_HOME
)
/common/common_ip.tcl
dict set stdcomps system_ila vlnv
"xilinx.com:ip:system_ila:1.1"
dict set stdcomps axi_pcie3_0_usp vlnv
"xilinx.com:ip:xdma:4.
0
"
dict set stdcomps axi_pcie3_0_usp vlnv
"xilinx.com:ip:xdma:4.
1
"
dict set stdcomps clk_wiz vlnv
"xilinx.com:ip:clk_wiz:6.0"
dict set stdcomps mig_core vlnv
"xilinx.com:ip:mig_7series:4.1"
common/common_2018.2.tcl
View file @
4e4267a5
# create a dictionary of compatible VLNVs
source $::env
(
TAPASCO_HOME
)
/common/common_ip.tcl
dict set stdcomps system_ila vlnv
"xilinx.com:ip:system_ila:1.1"
dict set stdcomps axi_pcie3_0_usp vlnv
"xilinx.com:ip:xdma:4.
0
"
dict set stdcomps axi_pcie3_0_usp vlnv
"xilinx.com:ip:xdma:4.
1
"
dict set stdcomps clk_wiz vlnv
"xilinx.com:ip:clk_wiz:6.0"
dict set stdcomps mig_core vlnv
"xilinx.com:ip:mig_7series:4.1"
platform/pcie/module/program_pcie.tcl
View file @
4e4267a5
#
# Copyright
(
C
)
2017 Jens Korinth, TU Darmstadt
# Copyright
(
C
)
2018 Jaco A. Hofmann, TU Darmstadt
#
# This file is part of Tapasco
(
TPC
)
.
#
...
...
@@ -16,11 +17,11 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Tapasco. If not, see <http://www.gnu.org/licenses/>.
#
## Download a bit file to the FPGA on the
VC709
## Download a bit file to the FPGA on the
supported PCIe devices
#set default values
set wait 1000
set dev
{
xc7vx690t_0|xcvu9p_0
}
set dev
{
xc7vx690t_0|xcvu9p_0
|xcvu095_0
}
set probes_file
{}
set program_file
{}
set devid -1
...
...
platform/pcie/pcie_base.tcl
View file @
4e4267a5
...
...
@@ -237,7 +237,7 @@
CONFIG.RESET_PORT
{
resetn
}
\
]
$design_clk_wiz
connect_bd_net
[
get_bd_pins $design_clk_wiz/resetn
]
[
get_bd_pins $mig/mmcm_locked
]
connect_bd_net
[
get_bd_pins $design_clk_wiz/resetn
]
[
get_bd_pins
-regexp
$mig/
((
mmcm_locked
)
|
(
c0_init_calib_complete
))
]
connect_bd_net
[
get_bd_pins $design_clk_wiz/locked
]
$design_aresetn
# connect external design clk
...
...
platform/vcu108/platform.json
0 → 100644
View file @
4e4267a5
{
"Name"
:
"vcu108"
,
"Description"
:
"Xilinx Virtex UltraScale FPGA VCU108 Evaluation Kit"
,
"TclLibrary"
:
"vcu108.tcl"
,
"Part"
:
"xcvu095-ffva2104-2-e"
,
"BoardPart"
:
"xilinx.com:vcu108:part0:1.4"
,
"BoardPreset"
:
"VCU108"
,
"TargetUtilization"
:
90
,
"Benchmark"
:
"vcu108.benchmark"
,
"HostFrequency"
:
250.0
,
"MemFrequency"
:
300.0
}
platform/vcu108/vcu108.tcl
0 → 100644
View file @
4e4267a5
#
# Copyright
(
C
)
2018 Jaco A. Hofmann, TU Darmstadt
#
# This file is part of Tapasco
(
TPC
)
.
#
# Tapasco is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
#
(
at your option
)
any later version.
#
# Tapasco is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY
;
without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Tapasco. If not, see <http://www.gnu.org/licenses/>.
#
# @file vc709.tcl
# @brief VC709 platform implementation.
# @author J. Korinth, TU Darmstadt (jk@esa.tu-darmstadt.de
)
# @author J. A. Hofmann, TU Darmstadt (jah@esa.tu-darmstadt.de
)
#
namespace eval platform
{
set platform_dirname
"vcu108"
source $::env
(
TAPASCO_HOME
)
/platform/pcie/pcie_base.tcl
proc create_mig_core
{
name
}
{
puts
"Creating MIG core for DDR ..."
# create ports
set mig
[
tapasco::ip::create_us_ddr $
{
name
}]
apply_board_connection -board_interface
"ddr4_sdram_c1"
-ip_intf
"
$mig
/C0_DDR4"
-diagram
"system"
apply_board_connection -board_interface
"reset"
-ip_intf
"
$mig
/SYSTEM_RESET"
-diagram
"system"
set_property -dict
[
list CONFIG.System_Clock
{
Differential
}]
$mig
apply_board_connection -board_interface
"default_sysclk1_300"
-ip_intf
"
$mig
/C0_SYS_CLK"
-diagram
"system"
save_bd_design
return $mig
}
proc create_pcie_core
{}
{
puts
"Creating AXI PCIe Gen3 bridge ..."
# create ports
set axi_pcie3_0
[
tapasco::ip::create_axi_pcie3_0
"axi_pcie3_0"
]
set pcie_properties
[
list
\
CONFIG.SYS_RST_N_BOARD_INTERFACE
{
pcie_perstn
}
\
CONFIG.PCIE_BOARD_INTERFACE
{
pci_express_x8
}
\
CONFIG.axi_data_width
{
256_bit
}
\
CONFIG.pcie_blk_locn
{
X0Y0
}
\
CONFIG.pf0_bar0_64bit
{
true
}
\
CONFIG.pf0_bar0_scale
{
Megabytes
}
\
CONFIG.pf0_bar0_size
{
64
}
\
CONFIG.pf0_device_id
{
7038
}
\
CONFIG.pl_link_cap_max_link_width
{
X8
}
\
CONFIG.pipe_sim
{
true
}
\
CONFIG.comp_timeout
{
50ms
}
\
CONFIG.pl_link_cap_max_link_speed
{
8.0_GT/s
}
\
CONFIG.axisten_freq
{
250
}
\
CONFIG.axi_addr_width
{
64
}
\
CONFIG.pf0_msi_enabled
{
false
}
\
CONFIG.pf0_msix_enabled
{
true
}
\
CONFIG.pf0_msix_cap_table_size
{
83
}
\
CONFIG.pf0_msix_cap_table_offset
{
500000
}
\
CONFIG.pf0_msix_cap_pba_offset
{
508000
}
\
CONFIG.comp_timeout
{
50ms
}
\
CONFIG.pf0_interrupt_pin
{
NONE
}
\
CONFIG.c_s_axi_supports_narrow_burst
{
false
}
\
]
# enable ATS/PRI
(
if platform feature is set
)
if
{[
tapasco::is_feature_enabled
"ATS-PRI"
]}
{
puts
" ATS/PRI support is enabled"
lappend pcie_properties
\
CONFIG.c_ats_enable
{
true
}
\
CONFIG.c_pri_enable
{
true
}
\
}
set_property -dict $pcie_properties $axi_pcie3_0
apply_bd_automation -rule xilinx.com:bd_rule:axi_pcie3 -config
{
lane_width
"X8"
link_speed
"8.0 GT/s (PCIe Gen 3)"
axi_clk
"Maximum Data Width"
}
$axi_pcie3_0
return $axi_pcie3_0
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment