thirdparty/analogdevicesinc/no-OS/adv7511/evaluate/zed/evaluate.tcl
raw| 1 | |
| 2 | set currentWorkingDirectory [pwd] |
| 3 | set bitFileName "/system.bit" |
| 4 | set tclFileName "/ps7_init.tcl" |
| 5 | set elfFileName "/sw.elf" |
| 6 | |
| 7 | set bitFilePath $currentWorkingDirectory$bitFileName |
| 8 | set tclFilePath $currentWorkingDirectory$tclFileName |
| 9 | set elfFilePath $currentWorkingDirectory$elfFileName |
| 10 | |
| 11 | fpga -debugdevice devicenr 2 -f $bitFilePath |
| 12 | connect arm hw |
| 13 | rst -processor |
| 14 | source $tclFilePath |
| 15 | ps7_init |
| 16 | init_user |
| 17 | dow $elfFilePath |
| 18 | run |
| 19 | disconnect 64 |
| 20 | exit |