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
1502a621
Commit
1502a621
authored
Jun 28, 2021
by
Carsten Heinz
Browse files
Make status core compatible with Versal
parent
661fa246
Changes
3
Hide whitespace changes
Inline
Side-by-side
toolflow/vivado/common/common.tcl
View file @
1502a621
...
...
@@ -539,4 +539,8 @@ namespace eval tapasco {
puts
"Number of slots is hard coded as 128 right now"
return 128
}
proc is_versal
{}
{
return
[
string match
"versal*"
[
get_property FAMILY
[
get_parts -of_objects
[
current_project
]]]]
}
}
toolflow/vivado/common/common_ip.tcl
View file @
1502a621
...
...
@@ -62,6 +62,7 @@ dict set stdcomps axis_arbiter vlnv "esa.informatik.tu-darmstadt.de:
dict set stdcomps aws_intr_ctrl vlnv
"esa.informatik.tu-darmstadt.de:user:AWSIntrCtrl:1.0"
dict set stdcomps axi_bram_ctrl vlnv
"xilinx.com:ip:axi_bram_ctrl"
dict set stdcomps bram_ctrl vlnv
"xilinx.com:ip:blk_mem_gen"
dict set stdcomps versal_emb_mem_gen vlnv
"xilinx.com:ip:emb_mem_gen"
dict set stdcomps axi_gpio vlnv
"xilinx.com:ip:axi_gpio:2.0"
dict set stdcomps axioffset_hbm vlnv
"esa.informatik.tu-darmstadt.de:user:AXIOffsetHBM:1.0"
dict set stdcomps sume_clock_prog vlnv
"esa.informatik.tu-darmstadt.de:user:SumeClockProgrammer:1.0"
...
...
toolflow/vivado/common/ip.tcl
View file @
1502a621
...
...
@@ -430,7 +430,11 @@ namespace eval ::tapasco::ip {
puts
" IDs :
$ids
"
# create the IP core
set base
[
tapasco::ip::create_bram_ctrl
"
${name}
_base"
]
if
{[
tapasco::is_versal
]}
{
set base
[
tapasco::ip::create_versal_emb_mem_gen
"
${name}
_base"
]
}
else
{
set base
[
tapasco::ip::create_bram_ctrl
"
${name}
_base"
]
}
set axi
[
tapasco::ip::create_axi_bram_ctrl $name
]
set_property -dict
[
list CONFIG.DATA_WIDTH
{
64
}
\
...
...
@@ -469,7 +473,12 @@ namespace eval ::tapasco::ip {
}
puts
"Wrote COE file to
${outfile}
"
set_property -dict
[
list CONFIG.Memory_Type
{
Single_Port_ROM
}
\
if
{[
tapasco::is_versal
]}
{
set mem_type
{
Single_Port_RAM
}
}
else
{
set mem_type
{
Single_Port_ROM
}
}
set_property -dict
[
list CONFIG.Memory_Type $mem_type
\
CONFIG.Load_Init_File
{
true
}
\
CONFIG.EN_SAFETY_CKT
{
false
}
\
CONFIG.Coe_File $outfile
]
[
get_bd_cells -filter
"NAME ==
${name}
_base"
]
...
...
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