mirror of
https://github.com/bmartini/zynq-axis.git
synced 2024-09-05 19:19:27 +08:00
Rename bitstream file to projects name after synthesizes
Some projects will name the bitstream files a standard name and thus by renaming them we can ensure that the bitstream files are easily identified after syntheses.
This commit is contained in:
parent
8c22d67eec
commit
c30562deec
4
syn-proj
4
syn-proj
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -o errexit
|
||||
|
||||
|
||||
@ -83,4 +83,4 @@ vivado -mode tcl -source $PROJ/generate-bitfile.tcl
|
||||
|
||||
|
||||
# copy bitfile to repo root
|
||||
find ./$PROJ -name "*.bit" | xargs -I F cp F ../..
|
||||
find ./$PROJ -name "*.bit" | xargs -I F cp F ../../${PROJ#"project-"}.bit
|
||||
|
Loading…
x
Reference in New Issue
Block a user