我有一个可以使用Vivado HLS (vivado_hls -f run_vhls.tcl)运行的tcl脚本。
1. At the start of the run:
@I 10运行'C:/Xilinx/Vivado_HLS/2015.2/bin/unwrapped/win64.o/vivado_hls.exe‘C:/Xilinx/Vivado_HLS/2015.2/tps/tcl/tcl8.5/tzdata/Europe/London无法打开。主机“ee-ee 3410”上的用户“at3410”
给定路径中没有"tzdata“文件夹。
我在makefile中调用vhls命令
(cd $(dir_impls)/$(tuple) && vivado_hls -f run_vhls.tcl)在第2号中显示消息后不久,它就会中断,下面的消息如下:
Makefile:103:目标‘/cygdrive/c/path/潜伏期_ failed . for’的配方失败:*/cygdrive/c/path/潜伏期_failed.for错误2
有人知道为什么我只在Cygwin壳里看到这个消息吗?
有什么问题吗?我怎么才能修好它?
由于所有的hls结果都是使用Cygwin正确生成的,有什么方法可以告诉vivad_hls忽略这个错误吗?这样我的makefile程序就不会中断。
发布于 2015-09-29 12:07:10
如果使用一种解决方案而不是另一种解决方案,并且由于环境变量的原因,最好在这两种情况下打印它们并进行比较:
set fd [open "foo.txt" w]
foreach key [array names ::env] {
puts $fd "$key: $::env($key)";
}
close $fd在一种情况下使用foo.txt,在另一种情况下使用bar.txt。然后,在你的Cygwin外壳中:
$ sort foo.txt > foo1.txt
$ sort bar.txt > bar1.txt
$ diff foo1.txt bar1.txt一旦发现哪些环境变量不同,就可以在启动vivado_hls之前将它们设置在Cygwin中进行测试。
export VARNAME1=VARVALUE1
export VARNAME2=VARVALUE2
...
vivado_hls -f run_vhls.tcl如果它工作,调整你的makefile,你就会完成。
https://stackoverflow.com/questions/32716578
复制相似问题