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 <lars@metafoo.de>main
parent
fe08222bdf
commit
b2203cacce
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue