Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scalp_firmware
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
soma
scalp_firmware
Commits
785f22e7
Commit
785f22e7
authored
4 years ago
by
orphee.antoniad
Browse files
Options
Downloads
Patches
Plain Diff
Add ILA on GPIO output. Tested and working.
parent
91431bf5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
soc/vivado/scalp_mipi_zynqps/2020.2/src/ipi_tcl/scalp_mipi_zynqps_ipi.tcl
+23
-5
23 additions, 5 deletions
..._mipi_zynqps/2020.2/src/ipi_tcl/scalp_mipi_zynqps_ipi.tcl
with
23 additions
and
5 deletions
soc/vivado/scalp_mipi_zynqps/2020.2/src/ipi_tcl/scalp_mipi_zynqps_ipi.tcl
+
23
−
5
View file @
785f22e7
...
@@ -198,6 +198,10 @@ proc create_root_design { parentCell } {
...
@@ -198,6 +198,10 @@ proc create_root_design { parentCell } {
set FIXED_IO
[
create_bd_intf_port -mode Master -vlnv xilinx.com:display_processing_system7:fixedio_rtl:1.0 FIXED_IO
]
set FIXED_IO
[
create_bd_intf_port -mode Master -vlnv xilinx.com:display_processing_system7:fixedio_rtl:1.0 FIXED_IO
]
set GPIO_0
[
create_bd_intf_port -mode Master -vlnv xilinx.com:interface:gpio_rtl:1.0 GPIO_0
]
set I2C1
[
create_bd_intf_port -mode Master -vlnv xilinx.com:interface:iic_rtl:1.0 I2C1
]
# Create ports
# Create ports
set FclkClk0xCO
[
create_bd_port -dir O -type clk FclkClk0xCO
]
set FclkClk0xCO
[
create_bd_port -dir O -type clk FclkClk0xCO
]
...
@@ -295,7 +299,9 @@ proc create_root_design { parentCell } {
...
@@ -295,7 +299,9 @@ proc create_root_design { parentCell } {
CONFIG.PCW_EN_EMIO_CAN1
{
0
}
\
CONFIG.PCW_EN_EMIO_CAN1
{
0
}
\
CONFIG.PCW_EN_EMIO_CD_SDIO1
{
0
}
\
CONFIG.PCW_EN_EMIO_CD_SDIO1
{
0
}
\
CONFIG.PCW_EN_EMIO_ENET0
{
0
}
\
CONFIG.PCW_EN_EMIO_ENET0
{
0
}
\
CONFIG.PCW_EN_EMIO_GPIO
{
1
}
\
CONFIG.PCW_EN_EMIO_I2C0
{
0
}
\
CONFIG.PCW_EN_EMIO_I2C0
{
0
}
\
CONFIG.PCW_EN_EMIO_I2C1
{
1
}
\
CONFIG.PCW_EN_EMIO_SDIO1
{
0
}
\
CONFIG.PCW_EN_EMIO_SDIO1
{
0
}
\
CONFIG.PCW_EN_EMIO_SPI0
{
0
}
\
CONFIG.PCW_EN_EMIO_SPI0
{
0
}
\
CONFIG.PCW_EN_EMIO_SPI1
{
1
}
\
CONFIG.PCW_EN_EMIO_SPI1
{
1
}
\
...
@@ -304,6 +310,7 @@ proc create_root_design { parentCell } {
...
@@ -304,6 +310,7 @@ proc create_root_design { parentCell } {
CONFIG.PCW_EN_ENET0
{
1
}
\
CONFIG.PCW_EN_ENET0
{
1
}
\
CONFIG.PCW_EN_GPIO
{
1
}
\
CONFIG.PCW_EN_GPIO
{
1
}
\
CONFIG.PCW_EN_I2C0
{
1
}
\
CONFIG.PCW_EN_I2C0
{
1
}
\
CONFIG.PCW_EN_I2C1
{
1
}
\
CONFIG.PCW_EN_QSPI
{
1
}
\
CONFIG.PCW_EN_QSPI
{
1
}
\
CONFIG.PCW_EN_SDIO1
{
1
}
\
CONFIG.PCW_EN_SDIO1
{
1
}
\
CONFIG.PCW_EN_SPI0
{
1
}
\
CONFIG.PCW_EN_SPI0
{
1
}
\
...
@@ -324,12 +331,19 @@ proc create_root_design { parentCell } {
...
@@ -324,12 +331,19 @@ proc create_root_design { parentCell } {
CON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PCW_I2C_PERIPHERAL_FREQMHZ
{
125.000000
}
\
CONFIG.PCW_I2C_RESET_ENABLE
{
1
}
\
CONFIG.PCW_I2C_RESET_ENABLE
{
1
}
\
...
@@ -691,9 +705,10 @@ proc create_root_design { parentCell } {
...
@@ -691,9 +705,10 @@ proc create_root_design { parentCell } {
# Create instance: system_ila_0, and set properties
# Create instance: system_ila_0, and set properties
set system_ila_0
[
create_bd_cell -type ip -vlnv xilinx.com:ip:system_ila:1.1 system_ila_0
]
set system_ila_0
[
create_bd_cell -type ip -vlnv xilinx.com:ip:system_ila:1.1 system_ila_0
]
set_property -dict
[
list
\
set_property -dict
[
list
\
CONFIG.C_MON_TYPE
{
NATIVE
}
\
CONFIG.C_MON_TYPE
{
INTERFACE
}
\
CONFIG.C_NUM_OF_PROBES
{
1
}
\
CONFIG.C_NUM_MONITOR_SLOTS
{
1
}
\
CONFIG.C_PROBE0_TYPE
{
0
}
\
CONFIG.C_SLOT_0_INTF_TYPE
{
xilinx.com:interface:gpio_rtl:1.0
}
\
CONFIG.C_SLOT_0_TYPE
{
0
}
\
]
$system_ila_0
]
$system_ila_0
# Create instance: util_vector_logic_0, and set properties
# Create instance: util_vector_logic_0, and set properties
...
@@ -722,6 +737,10 @@ proc create_root_design { parentCell } {
...
@@ -722,6 +737,10 @@ proc create_root_design { parentCell } {
# Create interface connections
# Create interface connections
connect_bd_intf_net -intf_net processing_system7_0_DDR
[
get_bd_intf_ports DDR
]
[
get_bd_intf_pins processing_system7_0/DDR
]
connect_bd_intf_net -intf_net processing_system7_0_DDR
[
get_bd_intf_ports DDR
]
[
get_bd_intf_pins processing_system7_0/DDR
]
connect_bd_intf_net -intf_net processing_system7_0_FIXED_IO
[
get_bd_intf_ports FIXED_IO
]
[
get_bd_intf_pins processing_system7_0/FIXED_IO
]
connect_bd_intf_net -intf_net processing_system7_0_FIXED_IO
[
get_bd_intf_ports FIXED_IO
]
[
get_bd_intf_pins processing_system7_0/FIXED_IO
]
connect_bd_intf_net -intf_net processing_system7_0_GPIO_0
[
get_bd_intf_ports GPIO_0
]
[
get_bd_intf_pins processing_system7_0/GPIO_0
]
connect_bd_intf_net -intf_net
[
get_bd_intf_nets processing_system7_0_GPIO_0
]
[
get_bd_intf_ports GPIO_0
]
[
get_bd_intf_pins system_ila_0/SLOT_0_GPIO
]
set_property HDL_ATTRIBUTE.DEBUG
{
true
}
[
get_bd_intf_nets processing_system7_0_GPIO_0
]
connect_bd_intf_net -intf_net processing_system7_0_IIC_1
[
get_bd_intf_ports I2C1
]
[
get_bd_intf_pins processing_system7_0/IIC_1
]
connect_bd_intf_net -intf_net processing_system7_0_M_AXI_GP0
[
get_bd_intf_pins processing_system7_0/M_AXI_GP0
]
[
get_bd_intf_pins ps7_0_axi_periph/S00_AXI
]
connect_bd_intf_net -intf_net processing_system7_0_M_AXI_GP0
[
get_bd_intf_pins processing_system7_0/M_AXI_GP0
]
[
get_bd_intf_pins ps7_0_axi_periph/S00_AXI
]
connect_bd_intf_net -intf_net ps7_0_axi_periph_M00_AXI
[
get_bd_intf_pins ps7_0_axi_periph/M00_AXI
]
[
get_bd_intf_pins scalp_axi4lite_0/SAXILitexDIO
]
connect_bd_intf_net -intf_net ps7_0_axi_periph_M00_AXI
[
get_bd_intf_pins ps7_0_axi_periph/M00_AXI
]
[
get_bd_intf_pins scalp_axi4lite_0/SAXILitexDIO
]
connect_bd_intf_net -intf_net ps7_0_axi_periph_M01_AXI
[
get_bd_intf_pins ps7_0_axi_periph/M01_AXI
]
[
get_bd_intf_pins scalp_safe_firmware_0/SAXILitexDIO
]
connect_bd_intf_net -intf_net ps7_0_axi_periph_M01_AXI
[
get_bd_intf_pins ps7_0_axi_periph/M01_AXI
]
[
get_bd_intf_pins scalp_safe_firmware_0/SAXILitexDIO
]
...
@@ -742,8 +761,7 @@ proc create_root_design { parentCell } {
...
@@ -742,8 +761,7 @@ proc create_root_design { parentCell } {
connect_bd_net -net scalp_axi4lite_0_RdAddrxDO
[
get_bd_ports RdAddrxDO
]
[
get_bd_pins scalp_axi4lite_0/RdAddrxDO
]
connect_bd_net -net scalp_axi4lite_0_RdAddrxDO
[
get_bd_ports RdAddrxDO
]
[
get_bd_pins scalp_axi4lite_0/RdAddrxDO
]
connect_bd_net -net scalp_axi4lite_0_RdValidxSO
[
get_bd_ports RdValidxSO
]
[
get_bd_pins scalp_axi4lite_0/RdValidxSO
]
connect_bd_net -net scalp_axi4lite_0_RdValidxSO
[
get_bd_ports RdValidxSO
]
[
get_bd_pins scalp_axi4lite_0/RdValidxSO
]
connect_bd_net -net scalp_axi4lite_0_WrAddrxDO
[
get_bd_ports WrAddrxDO
]
[
get_bd_pins scalp_axi4lite_0/WrAddrxDO
]
connect_bd_net -net scalp_axi4lite_0_WrAddrxDO
[
get_bd_ports WrAddrxDO
]
[
get_bd_pins scalp_axi4lite_0/WrAddrxDO
]
connect_bd_net -net scalp_axi4lite_0_WrDataxDO
[
get_bd_ports WrDataxDO
]
[
get_bd_pins scalp_axi4lite_0/WrDataxDO
]
[
get_bd_pins system_ila_0/probe0
]
connect_bd_net -net scalp_axi4lite_0_WrDataxDO
[
get_bd_ports WrDataxDO
]
[
get_bd_pins scalp_axi4lite_0/WrDataxDO
]
set_property HDL_ATTRIBUTE.DEBUG
{
true
}
[
get_bd_nets scalp_axi4lite_0_WrDataxDO
]
connect_bd_net -net scalp_axi4lite_0_WrValidxSO
[
get_bd_ports WrValidxSO
]
[
get_bd_pins scalp_axi4lite_0/WrValidxSO
]
connect_bd_net -net scalp_axi4lite_0_WrValidxSO
[
get_bd_ports WrValidxSO
]
[
get_bd_pins scalp_axi4lite_0/WrValidxSO
]
connect_bd_net -net scalp_safe_firmware_0_RgbLedsCtrlPortxDO
[
get_bd_ports RgbLedsCtrlPortxDO
]
[
get_bd_pins scalp_safe_firmware_0/RgbLedsCtrlPortxDO
]
connect_bd_net -net scalp_safe_firmware_0_RgbLedsCtrlPortxDO
[
get_bd_ports RgbLedsCtrlPortxDO
]
[
get_bd_pins scalp_safe_firmware_0/RgbLedsCtrlPortxDO
]
connect_bd_net -net util_vector_logic_0_Res
[
get_bd_ports FclkReset0xRO
]
[
get_bd_pins util_vector_logic_0/Res
]
connect_bd_net -net util_vector_logic_0_Res
[
get_bd_ports FclkReset0xRO
]
[
get_bd_pins util_vector_logic_0/Res
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment