跳转到主要内容
国际橡塑展报名
国际橡塑展报名
国际橡塑展报名

XSCT

Xilinx XSCT tcl命令行工具使用

judy /

<strong>tcl语法</strong>

(1)if 判断,{}中的语句需要用[]括起来
if {} { 必须留在这一行
}
elseif而不是else if

(2)注释单起一行,不要在命令末尾
(3)procedure的参数用空格隔开
(4)file exists判断文件是否存在

<strong>XSCT</strong>

打开xsct,

zc@ubuntu:~/xilinx/fsbl$ $PETALINUX/tools/hsm/bin/xsct
$PETALINUX/tools/hsm/bin/xsct
rlwrap: warning: your $TERM is 'xterm-256color' but rlwrap couldn't find it in the terminfo database. Expect some problems.