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
0763e216
Commit
0763e216
authored
Jun 02, 2017
by
Jens Korinth
Browse files
Pin heartbeat and init of OLED ctrl to LEDs (zedboard)
parent
12683104
Changes
2
Show whitespace changes
Inline
Side-by-side
common/ip/oled_pc/constraints/oled.xdc
View file @
0763e216
...
...
@@ -29,3 +29,8 @@ set_property IOSTANDARD LVCMOS33 [get_ports oled_oled_res]
set_property IOSTANDARD LVCMOS33 [get_ports oled_oled_dc]
set_property IOSTANDARD LVCMOS33 [get_ports oled_oled_sclk]
set_property IOSTANDARD LVCMOS33 [get_ports oled_oled_sdin]
set_property PACKAGE_PIN T22 [get_ports heartbeat]
set_property PACKAGE_PIN T21 [get_ports initialized]
set_property IOSTANDARD LVCMOS33 [get_ports initialized]
set_property IOSTANDARD LVCMOS33 [get_ports heartbeat]
platform/zedboard/plugins/oled.tcl
View file @
0763e216
...
...
@@ -38,6 +38,8 @@ namespace eval oled {
# create ports
set clk
[
create_bd_pin -type
"clk"
-dir I
"aclk"
]
set rst
[
create_bd_pin -type
"rst"
-dir I
"peripheral_aresetn"
]
set initialized
[
create_bd_port -dir O
"initialized"
]
set heartbeat
[
create_bd_port -dir O
"heartbeat"
]
set op_cc
[
tapasco::createConcat
"op_cc"
$no_intcs
]
connect_bd_net
[
get_bd_pins -of_objects $op_cc -filter
{
DIR ==
"O"
}]
[
get_bd_pins $oled_ctrl/intr
]
for
{
set i 0
}
{
$i
< $no_intcs
}
{
incr i
}
{
...
...
@@ -53,12 +55,14 @@ namespace eval oled {
# create external port 'oled'
set op
[
create_bd_intf_port -mode
"master"
-vlnv
"esa.cs.tu-darmstadt.de:user:oled_rtl:1.0"
"oled"
]
connect_bd_intf_net
[
get_bd_intf_pins -of_objects $oled_ctrl
]
$op
connect_bd_net
[
get_bd_pins $oled_ctrl/initialized
]
$initialized
connect_bd_net
[
get_bd_pins $oled_ctrl/heartbeat
]
$heartbeat
current_bd_instance $instance
return $group
}
proc oled_feature
{}
{
proc oled_feature
{
{
args
{}}
}
{
if
{[
tapasco::is_platform_feature_enabled
"OLED"
]}
{
set oled
[
create_subsystem_oled
"OLED"
[
arch::get_irqs
]]
set ps
[
get_bd_cell -hierarchical -filter
{
VLNV =~
"xilinx.com:ip:processing_system*"
}]
...
...
@@ -71,9 +75,8 @@ namespace eval oled {
connect_bd_net $clk
[
get_bd_pins
"
$oled
/aclk"
]
connect_bd_net $rst
[
get_bd_pins
"
$oled
/peripheral_aresetn"
]
return $oled
}
return
{}
}
}
...
...
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
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