
xsct scipt file added to automate the process of generating the elf file(s) from the provided hdf file Signed-off-by: Rohit Consul <rohit.consul@xilinx.com> Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
23 lines
846 B
Tcl
23 lines
846 B
Tcl
#set workspace
|
|
puts "Create Workspace"
|
|
sdk set_workspace vpss_example.sdk
|
|
|
|
#create hw project
|
|
puts "Create HW Project"
|
|
sdk create_hw_project -name vpss_example_hw_platform -hwspec ./design_1_v_proc_ss_0_0_design_synth_wrapper.hdf
|
|
|
|
#create bsp
|
|
puts "Create BSP"
|
|
sdk create_bsp_project -name vpss_example_bsp -hwproject vpss_example_hw_platform -proc microblaze_ss_microblaze_0 -os standalone
|
|
|
|
#create application project
|
|
puts "Create Application Project"
|
|
sdk create_app_project -name vpss_example_design -hwproject vpss_example_hw_platform -proc microblaze_ss_microblaze_0 -os standalone -lang C -app {Empty Application} -bsp vpss_example_bsp
|
|
|
|
#copy example source files tp app project
|
|
puts "Get Example Design Source Files"
|
|
sdk import_sources -name vpss_example_design -path ./src
|
|
|
|
#build project
|
|
puts "Build Project"
|
|
sdk build_project -type all
|