我强烈怀疑这是一个环境变量问题。
在以后的工具版本中(我从13.1开始猜测,因为我在12.4中没有注意到它),env var来自一个名为settingsxx.bat的文件(其中xx是你操作系统的位大小,32或者
64),位于Xilinx根目录中,如果要在批处理或命令行模式下运行,则必须从此处获取env var。
如果从GUI运行工具,则会在内部调用此设置文件(不向用户显示),因此它将被隐藏。
在命令行模式下运行的最简单方法是从Xilinx命令Shell(在Xilinx - >附件开始菜单中找到)开始。
否则,批处理文件必须在执行Xilinx命令之前调用settingsxx.bat。
我想:笑脸快乐:
问候,
霍华德
附:
在工具安装结束时,有一条短信说明了这一点,但我完全理解它会被遗漏。
----------“我们必须学会做的事情,我们从实践中学习。”
- 亚里士多德
在原帖中查看解决方案
以上来自于谷歌翻译
以下为原文
I strongly suspect that this is an environment variable issue. In later versions of the tools (I'm guessing from 13.1 onwards, as I didn't notice it in 12.4) the env var is sourced from a file called settingsxx.bat (where xx is the bit size of your OS, 32 or 64), located in your Xilinx root directory and if you want to run in batch or command line mode you must source the env var from here. If you run the tools from the GUI, this settings file is invoked internally (without displaying to the user) so it is hidden.
The easiest way to run in command line mode is start from the Xilinx Command Shell (found in the Xilinx -> Accessories start menu). Otherwise, your batch file must call settingsxx.bat prior to executing Xilinx commands.
I think :smileyhappy:
Regards,
Howard
P.S. At the end of the tools installation, there is a short message that states this but I can perfectly understand that it gets missed.
----------
"That which we must learn to do, we learn by doing." - AristotleView solution in original post