@vijayak,
原始问题询问如何从.tcl脚本更改它。
在ISE中,Tcl脚本通过Project Navigator,因此bitgen命令的所有选项必须通过Project Navigator设置窗口提供的字段。
对于bitgen,没有提供用于指定outfile名称的选项。
通常,可以使用“其他选项”字段来指定没有提供机制的内容,但是您在此处放置的额外选项将放在[options]字段中,并假设与位置无关。
[outfile]字段取决于位置,因此只有在项目导航器具有指定选项时才能更改。
因此,虽然您的建议对于直接或在.bat / .sh / .csh脚本中运行bitgen的人来说是正确的,但它不适用于使用.tcl脚本的人(通过Project Navigator)。
Avrum
以上来自于谷歌翻译
以下为原文
@vijayak,
The original question asked how to change it from the .tcl script. In ISE the Tcl script goes through the Project Navigator, and hence all the options to the bitgen command must come through the fields provided by the Project Navigator settings window.
For bitgen there is no option provided for specifying the name of the outfile. Normally, one would use the "Other options" field for specifying something for which there is not provided mechanism, but the extra options you put here would be putin the [options] field, and are assumed to be position independent. The [outfile] field is position dependent, and hence would only be able to be changed if the project navigator had a specified option for it.
So while your suggestion is correct for someone running bitgen directly or in a .bat/.sh/.csh script, it doesn't apply to someone using a .tcl script (through the Project Navigator).
Avrum
@vijayak,
原始问题询问如何从.tcl脚本更改它。
在ISE中,Tcl脚本通过Project Navigator,因此bitgen命令的所有选项必须通过Project Navigator设置窗口提供的字段。
对于bitgen,没有提供用于指定outfile名称的选项。
通常,可以使用“其他选项”字段来指定没有提供机制的内容,但是您在此处放置的额外选项将放在[options]字段中,并假设与位置无关。
[outfile]字段取决于位置,因此只有在项目导航器具有指定选项时才能更改。
因此,虽然您的建议对于直接或在.bat / .sh / .csh脚本中运行bitgen的人来说是正确的,但它不适用于使用.tcl脚本的人(通过Project Navigator)。
Avrum
以上来自于谷歌翻译
以下为原文
@vijayak,
The original question asked how to change it from the .tcl script. In ISE the Tcl script goes through the Project Navigator, and hence all the options to the bitgen command must come through the fields provided by the Project Navigator settings window.
For bitgen there is no option provided for specifying the name of the outfile. Normally, one would use the "Other options" field for specifying something for which there is not provided mechanism, but the extra options you put here would be putin the [options] field, and are assumed to be position independent. The [outfile] field is position dependent, and hence would only be able to be changed if the project navigator had a specified option for it.
So while your suggestion is correct for someone running bitgen directly or in a .bat/.sh/.csh script, it doesn't apply to someone using a .tcl script (through the Project Navigator).
Avrum
举报