add critical warn check to gen script

Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
John McMaster 2017-12-01 17:00:28 -08:00 committed by Tim 'mithro' Ansell
parent 9f7539d1c9
commit a792ce7bb0
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ set -ex
python3 ../top.py >top.v
vivado -mode batch -source ../generate.tcl
test -z $(fgrep CRITICAL vivado.log)
for x in design*.bit; do
../../../build/tools/bitread -F $XRAY_ROI_FRAMES -o ${x}s -z -y $x