proc vpss_example args { if {[llength $args] != 1} { puts "error: hdf file name missing from command line" puts "Please specify hdf to process" puts "Example Usage: vpss_example.tcl design1.hdf" } else { set hdf [lindex $args 0] #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 ./$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 } }