Open lishen565 opened 6 years ago
Have you met this error during "export RTL"?
No, I’ve never seen this problem before. Looks like a bug in the IP packaging code. Have you tried packing the IP in a different format (Verilog/VHDL/all other settings)? Can you try a different version of VHLS? Maybe like that you can find a way around that problem...
Thanks, i'll try the ways you advised.
Hi, did you solve the problem, I encounter the same problem
Sorry, I have the same problem and I can see you got the same problem 2 hours ago. Something to do with the new year ? I never had this problem with the same project yesterday 31st Dec but today 1st Jan is not working with this error.
Me too, it is very weird. I try to export the RTL into IP with the same code, but I encountered this problem. Tomorrow I will try it on a new version of HLS. But for now, I have no idea about the solution. sorry
Same problem here!
I have the same problem. Workaround: After setting the system time of windows to year 2021, it is working. But I really hope, that there is a better solution for this problem.
Any ideas?
Got the same error. Anyone able sort this out yet ?(apart from changing the system time)
What I found in the solution1/impl/ip/vivado.log:
source run_ippack.tcl -notrace bad lexical cast: source type value could not be interpreted as target while executing "rdi::set_property core_revision 2201021649 {component component_1}" invoked from within "set_property core_revision $Revision $core" (file "run_ippack.tcl" line 963) INFO: [Common 17-206] Exiting Vivado at Sun Jan 02 16:49:39 2022...
Line 963 of solution1/impl/ip/run_ippack.tcl:
set_property core_revision $Revision $core
I made a diff between the working and not working version --> it is just the datecode Do anyone know, where the file run_ippack.tcl comes from? Is there a template or something else? If yes, we could change it perhaps. If it is hardcoded in vivado.exe, we have a big problem.
I think, I found the reason of the problem:
All datetimes from 2021 are working. 2022 is not working.
Here is some math: 02.01.2021 16:49 results in core_revision 2101021649 --> equals to hex number 7D3B0BD1 --> binary 01111101001110110000101111010001
02.01.2022 16:49 results in core_revision 2201021649 --> equals to hex number 8330ECD1 --> binary 10000011001100001110110011010001
The very left bit of the number 8330ECD1 is set to '1' --> if this variable is a 32bit signed integer --> the value gets negative (because of Two's complement). I would bet, that this is the problem.
Solution: We should change the line 963 to something else. But this file is autogenerated. Any ideas how to change this?
Congrats, great detective work finding the reason .... Not sure about the file though,
Thank you :-) But now is the big question, how to change the behavior . Do you want to look at the xilinx installation folder? Perhaps you will find something in the TCL code. Would be really cool.
I already searched for a workaround. Without any success until now. There are so much files in the HLS installation folder... :-(
Further idea: Perhaps we should try to export the IP manually (via a script)?
Hello, same problem. The solution for me today : back to the futur... xilinx wish you a happy new year :)
I just reproduced the issue in extremely simple MWE in Vivado 2019.1. That seems to confirm that it's upstream. Has anyone reported this to xilinx yet?
The first solution to work around the problem. Roll back the date: not easy. the second, set configuration of IP with number version x.y.z
And how do you perform the second solution @brostvincent without GUI?
In HLS GUI Export -> configuration -> Version -> 0.0.0
Thank you brostvincent! It is working.
Happy new year xilinx :angry:
No gui for me either. Just Makefiles runing sds++ :(
There is a solution which could possibly work for cmd line users @eejlny . Havent tried it yet!
In HLS GUI Export -> configuration -> Version -> 0.0.0
Does changing the version (under export ->configurations) from 1.0 to 0.0 solve the problem ?
The first solution to work around the problem. Roll back the date: not easy. the second, set configuration of IP with number version x.y.z
Kindly pls explain what you mean by number version x.y.z (I'm using version 2019.1) @brostvincent
Hi, I have been observing a lot of discussion here. it's been looked upon by Xilinx. Once i get an update I'll post here.
Cheers, Yashwant
Export -> configuration -> Version -> 1.0.1
Export -> configuration -> Version -> 1.0.1
Why do we set the version to 1.0.1 ? @tangshiren1993
If you do not write something to the field "version", the version will be calculated by VIVADO. This will result in the error described above. If you write something into the field "version", VIVADO will not try to calculate the version and we will get no error. GREAT!
It is your decision, what version you want... For the first export, you can use e.g. 1.0.0 for the second 1.0.1 for the third 1.0.2 and so on. For major changes you could change the first number e.g. 2.0.0
Thank You so much! @jtani78
thank you man! @brostvincent
Look at this post, here is the temporary solution to the issue. https://support.xilinx.com/s/question/0D52E00006vDlvJSAS/export-ip-invalid-argument-revision-number-overflow-issue?language=en_US
so good! thank you !@brostvincent @jtani78
@jtani78 @brostvincent thank you so much, saved me
Please use this patch prior to starting any xilinx tool https://support.xilinx.com/s/article/76960?language=en_US
In HLS GUI Export -> configuration -> Version -> 0.0.0
@brostvincent Thank you so much...Its working
@brostvincent Thank you bro!!
@brostvincent and @jtani78 Thank you so much, guys!!
Hi, I've passed the C simulation and C synthesis, but it took too long time(about five days) to finish the C/RTL cosimulation. So I dropped the cosimulation and wanted to export the RTL , but now I get stuck at this step. The detail info VHLS told me is below, could you please help me out,thank you?
Starting export RTL ... D:/Xilinx_Vivado_2016.4/Vivado_HLS/2016.4/bin/vivado_hls.bat D:/lishen/lijun/zynqnet-master/zyncnet_ls1/solution1/export.tcl INFO: [HLS 200-10] Running 'D:/Xilinx_Vivado_2016.4/Vivado_HLS/2016.4/bin/unwrapped/win64.o/vivado_hls.exe' INFO: [HLS 200-10] For user 'lishen' on host 'amax-pc' (Windows NT_amd64 version 6.1) on Mon Jan 02 20:21:39 +0800 2023 INFO: [HLS 200-10] In directory 'D:/lishen/lijun/zynqnet-master' INFO: [HLS 200-10] Opening project 'D:/lishen/lijun/zynqnet-master/zyncnet_ls1'. INFO: [HLS 200-10] Opening solution 'D:/lishen/lijun/zynqnet-master/zyncnet_ls1/solution1'. INFO: [SYN 201-201] Setting up clock 'default' with a period of 10ns. INFO: [HLS 200-10] Setting target device to 'xc7z045ffg900-2' INFO: [IMPL 213-8] Exporting RTL as an IP in IP-XACT.
** Vivado v2016.4 (64-bit) SW Build 1756540 on Mon Jan 23 19:11:23 MST 2017 IP Build 1755317 on Mon Jan 23 20:30:07 MST 2017 ** Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.
source run_ippack.tcl -notrace INFO: [IP_Flow 19-234] Refreshing IP repositories INFO: [IP_Flow 19-1704] No user IP repositories specified INFO: [IP_Flow 19-2313] Loaded Vivado IP repository 'D:/Xilinx_Vivado_2016.4/Vivado/2016.4/data/ip'. WARNING: [IP_Flow 19-4832] The IP name 'fpga_top_ap_fadd_2_full_dsp_32' you have specified is long. The Windows operating system has path length limitations. It is recommended you use shorter names to reduce the likelihood of issues. INFO: [IP_Flow 19-1686] Generating 'Synthesis' target for IP 'fpga_top_ap_fadd_2_full_dsp_32'... INFO: [IP_Flow 19-1686] Generating 'Simulation' target for IP 'fpga_top_ap_fadd_2_full_dsp_32'... WARNING: [IP_Flow 19-4832] The IP name 'fpga_top_ap_fcmp_0_no_dsp_32' you have specified is long. The Windows operating system has path length limitations. It is recommended you use shorter names to reduce the likelihood of issues. INFO: [IP_Flow 19-1686] Generating 'Synthesis' target for IP 'fpga_top_ap_fcmp_0_no_dsp_32'... INFO: [IP_Flow 19-1686] Generating 'Simulation' target for IP 'fpga_top_ap_fcmp_0_no_dsp_32'... WARNING: [IP_Flow 19-4832] The IP name 'fpga_top_ap_fmul_1_max_dsp_32' you have specified is long. The Windows operating system has path length limitations. It is recommended you use shorter names to reduce the likelihood of issues. INFO: [IP_Flow 19-1686] Generating 'Synthesis' target for IP 'fpga_top_ap_fmul_1_max_dsp_32'... INFO: [IP_Flow 19-1686] Generating 'Simulation' target for IP 'fpga_top_ap_fmul_1_max_dsp_32'... bad lexical cast: source type value could not be interpreted as target while executing "rdi::set_property core_revision 2301022021 {component component_1}" invoked from within "set_property core_revision $Revision $core" (file "run_ippack.tcl" line 1042) INFO: [Common 17-206] Exiting Vivado at Mon Jan 02 20:22:12 2023... ERROR: [IMPL 213-28] Failed to generate IP. command 'ap_source' returned error code while executing "source D:/lishen/lijun/zynqnet-master/zyncnet_ls1/solution1/export.tcl" invoked from within "hls::main D:/lishen/lijun/zynqnet-master/zyncnet_ls1/solution1/export.tcl" ("uplevel" body line 1) invoked from within "uplevel 1 hls::main {*}$args" (procedure "hls_proc" line 5) invoked from within "hls_proc $argv" Finished export RTL.
Starting export RTL ... D:/Xilinx_Vivado_2016.4/Vivado_HLS/2016.4/bin/vivado_hls.bat D:/lishen/lijun/zynqnet-master/zyncnet_ls1/solution1/export.tcl INFO: [HLS 200-10] Running 'D:/Xilinx_Vivado_2016.4/Vivado_HLS/2016.4/bin/unwrapped/win64.o/vivado_hls.exe' INFO: [HLS 200-10] For user 'lishen' on host 'amax-pc' (Windows NT_amd64 version 6.1) on Mon Jan 02 20:31:18 +0800 2023 INFO: [HLS 200-10] In directory 'D:/lishen/lijun/zynqnet-master' INFO: [HLS 200-10] Opening project 'D:/lishen/lijun/zynqnet-master/zyncnet_ls1'. INFO: [HLS 200-10] Opening solution 'D:/lishen/lijun/zynqnet-master/zyncnet_ls1/solution1'. INFO: [SYN 201-201] Setting up clock 'default' with a period of 10ns. INFO: [HLS 200-10] Setting target device to 'xc7z045ffg900-2' INFO: [IMPL 213-8] Exporting RTL as an IP in IP-XACT.
** Vivado v2016.4 (64-bit) SW Build 1756540 on Mon Jan 23 19:11:23 MST 2017 IP Build 1755317 on Mon Jan 23 20:30:07 MST 2017 ** Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.
source run_ippack.tcl -notrace INFO: [IP_Flow 19-234] Refreshing IP repositories INFO: [IP_Flow 19-1704] No user IP repositories specified INFO: [IP_Flow 19-2313] Loaded Vivado IP repository 'D:/Xilinx_Vivado_2016.4/Vivado/2016.4/data/ip'. WARNING: [IP_Flow 19-4832] The IP name 'fpga_top_ap_fadd_2_full_dsp_32' you have specified is long. The Windows operating system has path length limitations. It is recommended you use shorter names to reduce the likelihood of issues. INFO: [IP_Flow 19-1686] Generating 'Synthesis' target for IP 'fpga_top_ap_fadd_2_full_dsp_32'... INFO: [IP_Flow 19-1686] Generating 'Simulation' target for IP 'fpga_top_ap_fadd_2_full_dsp_32'... WARNING: [IP_Flow 19-4832] The IP name 'fpga_top_ap_fcmp_0_no_dsp_32' you have specified is long. The Windows operating system has path length limitations. It is recommended you use shorter names to reduce the likelihood of issues. INFO: [IP_Flow 19-1686] Generating 'Synthesis' target for IP 'fpga_top_ap_fcmp_0_no_dsp_32'... INFO: [IP_Flow 19-1686] Generating 'Simulation' target for IP 'fpga_top_ap_fcmp_0_no_dsp_32'... WARNING: [IP_Flow 19-4832] The IP name 'fpga_top_ap_fmul_1_max_dsp_32' you have specified is long. The Windows operating system has path length limitations. It is recommended you use shorter names to reduce the likelihood of issues. INFO: [IP_Flow 19-1686] Generating 'Synthesis' target for IP 'fpga_top_ap_fmul_1_max_dsp_32'... INFO: [IP_Flow 19-1686] Generating 'Simulation' target for IP 'fpga_top_ap_fmul_1_max_dsp_32'... bad lexical cast: source type value could not be interpreted as target while executing "rdi::set_property core_revision 2301022031 {component component_1}" invoked from within "set_property core_revision $Revision $core" (file "run_ippack.tcl" line 1042) INFO: [Common 17-206] Exiting Vivado at Mon Jan 02 20:31:32 2023... ERROR: [IMPL 213-28] Failed to generate IP. command 'ap_source' returned error code while executing "source D:/lishen/lijun/zynqnet-master/zyncnet_ls1/solution1/export.tcl" invoked from within "hls::main D:/lishen/lijun/zynqnet-master/zyncnet_ls1/solution1/export.tcl" ("uplevel" body line 1) invoked from within "uplevel 1 hls::main {*}$args" (procedure "hls_proc" line 5) invoked from within "hls_proc $argv" Finished export RTL.