2017-11-26 08:40:17 +01:00
|
|
|
#!/bin/bash
|
2020-04-16 10:50:39 +02:00
|
|
|
# Copyright (C) 2017-2020 The Project X-Ray Authors.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a ISC-style
|
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
|
# https://opensource.org/licenses/ISC
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: ISC
|
2017-11-26 08:40:17 +01:00
|
|
|
|
|
|
|
|
set -ex
|
2018-12-28 18:58:28 +01:00
|
|
|
${XRAY_VIVADO} -mode batch -source runme.tcl
|
2017-11-26 08:40:17 +01:00
|
|
|
|
2017-11-27 09:41:33 +01:00
|
|
|
${XRAY_BITREAD} -F $XRAY_ROI_FRAMES -o design.bits -z -y design.bit
|
2017-11-27 01:02:48 +01:00
|
|
|
${XRAY_SEGPRINT} -bzd design.bits > design.segs
|
2017-11-26 08:40:17 +01:00
|
|
|
|
|
|
|
|
for id in b{0,1,2,3,4,5,6,7,8,9,10,11}; do
|
2017-11-27 09:41:33 +01:00
|
|
|
${XRAY_BITREAD} -F $XRAY_ROI_FRAMES -o design_$id.bits -z -y design_$id.bit
|
2017-11-27 01:02:48 +01:00
|
|
|
${XRAY_SEGPRINT} -bzd design_$id.bits > design_$id.segs
|
2017-11-26 08:40:17 +01:00
|
|
|
done
|