Problem rebuilding base v2.6

Hi All,

I found an obscure bug in the build_ip.tcl process. I think this is a bug in the vitis_hls.
When I run build_ip, the ip doesn’t get included in the IP Catalog.
After I dig deeper, it looks like the run_ippack.tcl script $Revision code is the current date “2204141210”.
The script fails with the following:

****** Vivado v2021.2 (64-bit)
  **** SW Build 3367213 on Tue Oct 19 02:48:09 MDT 2021
  **** IP Build 3369179 on Thu Oct 21 08:25:16 MDT 2021
    ** Copyright 1986-2021 Xilinx, Inc. All Rights Reserved.

source run_ippack.tcl -notrace
ERROR: '2204141210' is an invalid argument. Please specify an integer value.
    while executing
"rdi::set_property core_revision 2204141210 {component component_1}"
    invoked from within
"set_property core_revision $Revision $core"
    (file "run_ippack.tcl" line 1145)
INFO: [Common 17-206] Exiting Vivado at Thu Apr 14 12:56:26 2022...

The number 2204141210 is just over the 0x7FFFFFFF limit of a signed 32-bit integer.
If I change the revision number to 2104141210, it works fine.

This error is silent, so you’ll get problems unless you hack and rerun the run_ippack.tcl scripts or change your date back to sometime in 2021. This is with Vivado 2021.2.

Fun times,
Tim

This is a known issue. Y2K22:
https://support.xilinx.com/s/article/76960?language=en_US

You should also try to use the supported version of the tools for the version you are building. Designs may not be backward or forward compatible with different Vivado versions so you may run in to other problems.

Cathal

Thank you for the quick reply! I’ll follow your suggestions.