Skip to content

Commit

Permalink
Sync SDSoC platform gen files with design
Browse files Browse the repository at this point in the history
Update the hardware platform metadata tcl script to indicate the
correct UIO devices.

Also modify platform builder xml file to work on Linux instead of
windows. Paths are still hard coded to only work on my machine.
  • Loading branch information
sbobrowicz committed Jul 29, 2017
1 parent b124c22 commit 739ccdd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/others/SDSoC_Staging/hw_pfm_gen.tcl
Expand Up @@ -4,7 +4,7 @@

set pfm [sdsoc::create_pfm Arty_Z7_20.hpfm]
sdsoc::pfm_name $pfm "digilentinc.com" "xd" "Arty_Z7_20" "1.0"
sdsoc::pfm_description $pfm "Arty Z7-20 Development board with support for HDMI input and HDMI output in all OS's"
sdsoc::pfm_description $pfm "Arty Z7-20 Development board with support for HDMI input and HDMI output"
sdsoc::pfm_clock $pfm FCLK_CLK0 processing_system7_0 0 true rst_processing_system7_0_100M
sdsoc::pfm_clock $pfm FCLK_CLK1 processing_system7_0 1 false rst_processing_system7_0_142M
sdsoc::pfm_clock $pfm FCLK_CLK2 processing_system7_0 2 false proc_sys_reset_2
Expand All @@ -17,6 +17,8 @@ sdsoc::pfm_axi_port $pfm S_AXI_HP3 processing_system7_0 S_AXI_HP
for {set i 8} {$i < 16} {incr i} {
sdsoc::pfm_irq $pfm In$i xlconcat_0
}
sdsoc::pfm_iodev $pfm S_AXI axi_gpio_sw uio
sdsoc::pfm_iodev $pfm S_AXI axi_gpio_led uio
sdsoc::pfm_iodev $pfm S_AXI_LITE axi_vdma_1 uio
sdsoc::pfm_iodev $pfm ctrl v_tc_1 uio
sdsoc::pfm_iodev $pfm S_AXI axi_gpio_video uio
sdsoc::generate_hw_pfm $pfm

2 changes: 1 addition & 1 deletion src/others/SDSoC_Staging/platform_builder.xml
@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><SDSoCPlatformConfig name="Arty_Z7_20" output="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\output" pfmtcl="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\hw_pfm_gen.tcl" version="0.1" vivado="C:\sam_work\git\digilent\Arty-Z7-20-base\proj\Arty_Z7_20.xpr"><Proc cores="0" type="ARM Cortex-A9"><OS bif="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\boot_standalone\standalone.bif" boot="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\boot_standalone" config="standalone" id="standalone0" linkerscript="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\lscript.ld" readme="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\boot_standalone\generic.readme" type="Standalone"><includes paths="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\include_bsp"/></OS><OS bif="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\boot_freertos\freertos.bif" boot="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\boot_freertos" config="freertos" id="freertos0" linkerscript="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\lscript.ld" readme="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\boot_freertos\generic.readme" type="FreeRTOS"><includes paths="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\include_bsp"/></OS><OS bif="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\boot_linux\linux.bif" boot="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\boot_linux" config="linux" id="linux0" image="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\image" readme="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\boot_linux\generic.readme" type="Linux"><includes paths="C:\sam_work\git\digilent\Arty-Z7-20-base\src\others\SDSoC_Staging\include_linux"/></OS></Proc></SDSoCPlatformConfig>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><SDSoCPlatformConfig name="Arty_Z7_20" output="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/output" pfmtcl="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/hw_pfm_gen.tcl" version="0.1" vivado="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/proj/Arty_Z7_20.xpr"><Proc cores="0" type="ARM Cortex-A9"><OS bif="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/boot_standalone/standalone.bif" boot="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/boot_standalone" config="standalone" id="standalone0" linkerscript="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/lscript.ld" readme="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/boot_standalone/generic.readme" type="Standalone"><includes paths="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/include_bsp"/></OS><OS bif="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/boot_freertos/freertos.bif" boot="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/boot_freertos" config="freertos" id="freertos0" linkerscript="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/lscript.ld" readme="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/boot_freertos/generic.readme" type="FreeRTOS"><includes paths="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/include_bsp"/></OS><OS bif="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/boot_linux/linux.bif" boot="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/boot_linux" config="linux" id="linux0" image="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/image" readme="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/boot_linux/generic.readme" type="Linux"><includes paths="/home/digilent/sam_work/git/sbobrowicz/Arty-Z7-20-base/src/others/SDSoC_Staging/include_linux"/></OS></Proc></SDSoCPlatformConfig>

0 comments on commit 739ccdd

Please sign in to comment.