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
09a55e7e
Commit
09a55e7e
authored
Apr 10, 2022
by
Carsten Heinz
Browse files
Add support for prodesign HAWK versal board
parent
da6b13be
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
toolflow/vivado/platform/HAWK/hawk.tcl
0 → 100644
View file @
09a55e7e
# Copyright
(
c
)
2014-2022 Embedded Systems and Applications, TU Darmstadt.
#
# This file is part of TaPaSCo
#
(
see https://github.com/esa-tu-darmstadt/tapasco
)
.
#
# This program 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
#
namespace eval platform
{
set platform_dirname
"HAWK"
source $::env
(
TAPASCO_HOME_TCL
)
/platform/versal/versal_base.tcl
# give configuration for NoC MCs
proc get_number_mc
{}
{
return 4
}
proc get_mc_config
{}
{
return
[
list CONFIG.CONTROLLERTYPE
{
DDR4_SDRAM
}
\
CONFIG.MC0_CONFIG_NUM
{
config17
}
\
CONFIG.MC1_CONFIG_NUM
{
config17
}
\
CONFIG.MC2_CONFIG_NUM
{
config17
}
\
CONFIG.MC3_CONFIG_NUM
{
config17
}
\
CONFIG.MC_CASLATENCY
{
15
}
\
CONFIG.MC_CASWRITELATENCY
{
11
}
\
CONFIG.MC_CA_MIRROR
{
true
}
\
CONFIG.MC_CHAN_REGION0
{
DDR_LOW3
}
\
CONFIG.MC_CHAN_REGION1
{
DDR_LOW3
}
\
CONFIG.MC_COMPONENT_DENSITY
{
16Gb
}
\
CONFIG.MC_CONFIG_NUM
{
config17
}
\
CONFIG.MC_CS_WIDTH
{
2
}
\
CONFIG.MC_DDR4_2T
{
Disable
}
\
CONFIG.MC_DDR_INIT_TIMEOUT
{
0x002E3BF0
}
\
CONFIG.MC_ECC_SCRUB_PERIOD
{
0x002710
}
\
CONFIG.MC_ECC_SCRUB_SIZE
{
32768
}
\
CONFIG.MC_F1_CASLATENCY
{
22
}
\
CONFIG.MC_F1_LPDDR4_MR1
{
0x0000
}
\
CONFIG.MC_F1_LPDDR4_MR2
{
0x0000
}
\
CONFIG.MC_F1_LPDDR4_MR3
{
0x0000
}
\
CONFIG.MC_F1_LPDDR4_MR13
{
0x0000
}
\
CONFIG.MC_F1_TRCD
{
12960
}
\
CONFIG.MC_F1_TRCDMIN
{
12960
}
\
CONFIG.MC_INPUTCLK0_PERIOD
{
10000
}
\
CONFIG.MC_INPUT_FREQUENCY0
{
100.000
}
\
CONFIG.MC_MEMORY_DENSITY
{
32GB
}
\
CONFIG.MC_MEMORY_DEVICETYPE
{
SODIMMs
}
\
CONFIG.MC_MEMORY_DEVICE_DENSITY
{
16Gb
}
\
CONFIG.MC_MEMORY_SPEEDGRADE
{
DDR4-2933V
(
19-19-19
)}
\
CONFIG.MC_MEMORY_TIMEPERIOD0
{
1000
}
\
CONFIG.MC_MEMORY_TIMEPERIOD1
{
690
}
\
CONFIG.MC_RANK
{
2
}
\
CONFIG.MC_ROWADDRESSWIDTH
{
17
}
\
CONFIG.MC_TCCD_L
{
5
}
\
CONFIG.MC_TCKE
{
5
}
\
CONFIG.MC_TCKEMIN
{
5
}
\
CONFIG.MC_TPAR_ALERT_ON
{
6
}
\
CONFIG.MC_TPAR_ALERT_PW_MAX
{
128
}
\
CONFIG.MC_TRC
{
44960
}
\
CONFIG.MC_TRCD
{
12960
}
\
CONFIG.MC_TRFC
{
550000
}
\
CONFIG.MC_TRFCMIN
{
550000
}
\
CONFIG.MC_TRP
{
12960
}
\
CONFIG.MC_TRPMIN
{
12960
}
\
CONFIG.MC_TRRD_L
{
5
}
\
CONFIG.MC_TRTP_nCK
{
8
}
\
CONFIG.MC_TXP
{
6
}
\
CONFIG.MC_TXPMIN
{
6
}
\
CONFIG.MC_TXPR
{
560
}
\
CONFIG.MC_USER_DEFINED_ADDRESS_MAP
{
1CS-17RA-2BA-2BG-10CA
}
\
CONFIG.MC_XPLL_CLKOUT1_PERIOD
{
2000
}
\
CONFIG.MC_XPLL_DIV4_CLKOUT12
{
FALSE
}]
}
# give PCIe configuration
# TODO
proc add_constraints
{
args
}
{
set constraints_fn
"
$::env
(TAPASCO_HOME_TCL)/platform/HAWK/hawk.xdc"
read_xdc $constraints_fn
set_property PROCESSING_ORDER EARLY
[
get_files $constraints_fn
]
return $args
}
tapasco::register_plugin
"platform::add_constraints"
"post-platform"
}
toolflow/vivado/platform/HAWK/hawk.xdc
0 → 100644
View file @
09a55e7e
This diff is collapsed.
Click to expand it.
toolflow/vivado/platform/HAWK/platform.json
0 → 100644
View file @
09a55e7e
{
"Name"
:
"HAWK"
,
"Description"
:
"prodesign HAWK VC1902 Acceleration Card"
,
"TclLibrary"
:
"hawk.tcl"
,
"Part"
:
"xcvc1902-vsva2197-1MP-e-S-es1"
,
"TargetUtilization"
:
90
,
"Benchmark"
:
"hawk.benchmark"
,
"HostFrequency"
:
250.0
,
"MemFrequency"
:
300.0
,
"FileExtension"
:
"pdi"
}
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