Skip to content
GitLab
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
701420ae
Commit
701420ae
authored
May 10, 2017
by
Jens Korinth
Browse files
Implement PyNQ platform support
parent
17ec1ec1
Changes
3
Hide whitespace changes
Inline
Side-by-side
platform/pynq/platform.description
0 → 100644
View file @
701420ae
{
"Name" : "pynq",
"Description" : "PyNQ-Z1 Python Productivity for Zynq",
"TclLibrary" : "pynq.tcl",
"Part" : "xc7z020clg400-1",
"Harness" : "../zynq/include/platform-harness.svh",
"API" : "../zynq/include/platform-api.svh",
"TestbenchTemplate" : "../zynq/sv/platform-dpi.sv",
"BoardPart" : "em.avnet.com:zed:part0:1.2",
"BoardPreset" : "zedboard",
"TargetUtilization" : 99,
"SlotCount" : 128,
"ValueArgTemplate" : "../zynq/valueargs.directives.template",
"ReferenceArgTemplate" : "../zynq/referenceargs.directives.template",
"Benchmark" : "pynq.benchmark"
}
platform/pynq/pynq.benchmark
0 → 100644
View file @
701420ae
{"Host": {"Machine": "armv7l", "Node": "zed", "Operating System": "Linux", "Release": "3.19.0+", "Version": "#9 SMP PREEMPT Fri Apr 15 15:22:14 CEST 2016"}, "Job Roundtrip Overhead": 52.09889011098884, "Library Versions": {"Platform API": "1.2.1", "TPC API": "1.2"}, "Timestamp": "2016-04-20 11:32:03", "Transfer Speed": [{"Chunk Size": 256, "Read": 5.6162921864409707, "ReadWrite": 10.899261685680937, "Write": 5.7474972630398948}, {"Chunk Size": 512, "Read": 10.946896595252431, "ReadWrite": 21.282338280376184, "Write": 11.468188064024012}, {"Chunk Size": 1024, "Read": 20.984082036568253, "ReadWrite": 40.433535657137718, "Write": 22.724112007923935}, {"Chunk Size": 2048, "Read": 38.640488576594628, "ReadWrite": 73.516200786159501, "Write": 44.681380647559251}, {"Chunk Size": 4096, "Read": 66.390039486079658, "ReadWrite": 124.58346915232821, "Write": 86.263182370603189}, {"Chunk Size": 8192, "Read": 76.272307134698394, "ReadWrite": 142.07038698670348, "Write": 101.95243529386099}, {"Chunk Size": 16384, "Read": 88.237950456519059, "ReadWrite": 164.49274445110558, "Write": 126.23308318987782}, {"Chunk Size": 32768, "Read": 95.82484106853282, "ReadWrite": 173.59054940927086, "Write": 136.20928289439087}, {"Chunk Size": 65536, "Read": 98.36359091555822, "ReadWrite": 173.14569040878223, "Write": 138.69873257553797}, {"Chunk Size": 131072, "Read": 100.14795241768977, "ReadWrite": 175.45279994527615, "Write": 143.54983344646973}, {"Chunk Size": 262144, "Read": 99.476388273151969, "ReadWrite": 171.51484552816316, "Write": 144.2684620564952}, {"Chunk Size": 524288, "Read": 103.76806373197151, "ReadWrite": 179.18398872633838, "Write": 156.51816939983979}, {"Chunk Size": 1048576, "Read": 107.98172565349255, "ReadWrite": 179.64250535035615, "Write": 164.12804431237595}, {"Chunk Size": 2097152, "Read": 106.67289485110356, "ReadWrite": 180.78800720651034, "Write": 165.80375295396453}, {"Chunk Size": 4194304, "Read": 99.157438423457037, "ReadWrite": 176.60020196737787, "Write": 162.2049498033451}, {"Chunk Size": 8388608, "Read": 97.894721474717329, "ReadWrite": 165.69463978753981, "Write": 152.52510575919894}, {"Chunk Size": 16777216, "Read": 87.054544278431109, "ReadWrite": 147.627782110146, "Write": 137.39385396544364}, {"Chunk Size": 33554432, "Read": 69.32258414410876, "ReadWrite": 118.24673699007184, "Write": 110.98739689911562}]}
platform/pynq/pynq.tcl
0 → 100644
View file @
701420ae
#
# Copyright
(
C
)
2014 Jens Korinth, 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/>.
#
source -notrace $::env
(
TAPASCO_HOME
)
/platform/zynq/zynq.tcl
namespace eval platform
{
namespace export create
namespace export generate
namespace export max_masters
foreach f
[
glob -nocomplain -directory
"
$::env
(TAPASCO_HOME)/platform/pynq/plugins"
"*.tcl"
]
{
puts
"Found plugin:
$f
"
source -notrace $f
}
proc max_masters
{}
{
return
[
zynq::max_masters
]
}
proc create
{}
{
return
[
zynq::create
]
}
proc generate
{}
{
return
[
zynq::generate
]
}
}
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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