From 51384afc2c5d4db9e2e45d97382edce8c8039b10 Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Mon, 10 Jan 2022 14:40:43 -0600 Subject: fpga: hls: Add version to generated HLS IP This change causes HLS IP to be exported with a version of 1.0.0 instead of a date code. Due to a bug in Vivado, date codes after 0x7FFFFFFF (anything in 2022 or beyond) cause an error. Setting an explicit revision avoids this issue. See Xilinx AR 76960 for details. --- fpga/usrp3/tools/scripts/viv_generate_hls_ip.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpga') diff --git a/fpga/usrp3/tools/scripts/viv_generate_hls_ip.tcl b/fpga/usrp3/tools/scripts/viv_generate_hls_ip.tcl index 7f4e76b4a..6121203fa 100644 --- a/fpga/usrp3/tools/scripts/viv_generate_hls_ip.tcl +++ b/fpga/usrp3/tools/scripts/viv_generate_hls_ip.tcl @@ -36,6 +36,6 @@ foreach src_file $hls_ip_srcs { } } csynth_design -export_design -format ip_catalog - +puts "BUILDER: Setting IP export version to 1.0.0 to workaround Y2K22 bug (AR 76960)" +export_design -format ip_catalog -version 1.0.0 exit -- cgit v1.2.3