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
d4c91637
Commit
d4c91637
authored
Jan 05, 2018
by
Jens Korinth
Browse files
Implement tapasco::get_vlnv method to get VLNVs
parent
0c33be87
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/common.tcl
View file @
d4c91637
...
...
@@ -50,12 +50,14 @@ namespace eval tapasco {
namespace export get_number_of_processors
namespace export get_speed_grade
namespace export get_wns_from_timing_report
namespace export get_vlnv
namespace export get_capabilities_flags
namespace export set_capabilities_flags
namespace export add_capabilities_flag
namespace export create_interconnect_tree
# check if we're running inside Vivado
if
{[
llength
[
info commands version
]]
> 0
}
{
# source IP catalog VLNVs for the current Vivado version
...
...
@@ -70,6 +72,13 @@ namespace eval tapasco {
puts
"Skipping IP catalog."
}
# Returns the VLNV for a given abstract TaPaSCo name.
proc get_vlnv
{
name
}
{
variable stdcomps
if
{
!
[
dict exists $stdcomps $name
]}
{
error
"VLNV for
$name
was not found in IP catalog!"
}
return
[
dict get $stdcomps $name vlnv
]
}
# Returns the Tapasco version.
proc get_tapasco_version
{}
{
return
"2018.1"
...
...
Jens Korinth
@jk
mentioned in commit
17f0d672
·
Mar 05, 2018
mentioned in commit
17f0d672
mentioned in commit 17f0d67240ebf5d7e1d0be9162d272b04256c47d
Toggle commit list
Write
Preview
Markdown
is supported
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