1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

Write debug probes file alongside bit file

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich 2022-10-10 23:37:54 -07:00
parent 9628401780
commit 9c98f12392
29 changed files with 147 additions and 60 deletions

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -117,14 +117,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -117,14 +117,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -117,14 +117,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -117,14 +117,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,16 +116,19 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx %.xsa: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
echo "write_hw_platform -fixed -force -include_bit $*.xsa" >> generate_bit.tcl echo "write_hw_platform -fixed -force -include_bit $*.xsa" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \ cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
cp -v $*.xsa rev/$*_rev$$COUNT.xsa; if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi; \
cp -pv $*.xsa rev/$*_rev$$COUNT.xsa;

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,16 +116,19 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx %.xsa: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
echo "write_hw_platform -fixed -force -include_bit $*.xsa" >> generate_bit.tcl echo "write_hw_platform -fixed -force -include_bit $*.xsa" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \ cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
cp -v $*.xsa rev/$*_rev$$COUNT.xsa; if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi; \
cp -pv $*.xsa rev/$*_rev$$COUNT.xsa;

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi

View File

@ -116,14 +116,17 @@ $(FPGA_TOP).xpr: create_project.tcl update_config.tcl
vivado -nojournal -nolog -mode batch -source run_impl.tcl vivado -nojournal -nolog -mode batch -source run_impl.tcl
# bit file # bit file
%.bit: %.runs/impl_1/%_routed.dcp %.bit %.ltx: %.runs/impl_1/%_routed.dcp
echo "open_project $*.xpr" > generate_bit.tcl echo "open_project $*.xpr" > generate_bit.tcl
echo "open_run impl_1" >> generate_bit.tcl echo "open_run impl_1" >> generate_bit.tcl
echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl echo "write_bitstream -force $*.runs/impl_1/$*.bit" >> generate_bit.tcl
echo "write_debug_probes -force $*.runs/impl_1/$*.ltx" >> generate_bit.tcl
vivado -nojournal -nolog -mode batch -source generate_bit.tcl vivado -nojournal -nolog -mode batch -source generate_bit.tcl
ln -f -s $*.runs/impl_1/$*.bit . ln -f -s $*.runs/impl_1/$*.bit .
if [ -e $*.runs/impl_1/$*.ltx ]; then ln -f -s $*.runs/impl_1/$*.ltx .; fi
mkdir -p rev mkdir -p rev
COUNT=100; \ COUNT=100; \
while [ -e rev/$*_rev$$COUNT.bit ]; \ while [ -e rev/$*_rev$$COUNT.bit ]; \
do COUNT=$$((COUNT+1)); done; \ do COUNT=$$((COUNT+1)); done; \
cp -v $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; cp -pv $*.runs/impl_1/$*.bit rev/$*_rev$$COUNT.bit; \
if [ -e $*.runs/impl_1/$*.ltx ]; then cp -pv $*.runs/impl_1/$*.ltx rev/$*_rev$$COUNT.ltx; fi