From b2203caccedc1ec66ded04c90af076ef9037f071 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Wed, 13 Jul 2016 18:46:34 +0200 Subject: [PATCH] adi_project.pl: Fix ADI_NO_BITSTREAM_COMPRESSION detection logic Only enable bitstream compression only if both the ADI_NO_BITSTREAM_COMPRESSION environment and TCL variable are not set. Signed-off-by: Lars-Peter Clausen --- projects/scripts/adi_project.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/scripts/adi_project.tcl b/projects/scripts/adi_project.tcl index 2efdc701a..c2213afc4 100644 --- a/projects/scripts/adi_project.tcl +++ b/projects/scripts/adi_project.tcl @@ -127,7 +127,7 @@ proc adi_project_create {project_name {mode 0}} { write_hwdef -file "$project_name.data/$project_name.hwdef" } - if {![info exists ::env(ADI_NO_BITSTREAM_COMPRESSION)] || ![info exists ADI_NO_BITSTREAM_COMPRESSION]} { + if {![info exists ::env(ADI_NO_BITSTREAM_COMPRESSION)] && ![info exists ADI_NO_BITSTREAM_COMPRESSION]} { add_files -norecurse -fileset sources_1 \ "$ad_hdl_dir/projects/common/xilinx/compression_system_constr.xdc" }