-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathrelease_tripleBuffer_ipcore.sh
30 lines (26 loc) · 1.33 KB
/
release_tripleBuffer_ipcore.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# ./release_tripleBuffer_ipcore.sh RELEASE_DIR
# e.g.: $ ./release_tripleBuffer_ipcore release
DIR_RELEASE=$1
if [ -z "${DIR_RELEASE}" ];
then
DIR_RELEASE=release
fi
# create dir structure
echo "create dir structure..."
mkdir -p ${DIR_RELEASE}
# copy Altera
echo "copy altera ipcore..."
cp --parents altera/components/tripleBuffer_hw.tcl ${DIR_RELEASE}
cp --parents altera/components/tripleBuffer_sw.tcl ${DIR_RELEASE}
cp --parents altera/components/tcl/tripleBufferGui.tcl ${DIR_RELEASE}
cp --parents altera/components/tcl/tripleBuffer.tcl ${DIR_RELEASE}
cp --parents altera/tripleBuffer/src/alteraTripleBufferRtl.vhd ${DIR_RELEASE}
cp --parents altera/memory/src/dpRam-rtl-a.vhd ${DIR_RELEASE}
cp --parents common/memory/src/dpRam-e.vhd ${DIR_RELEASE}
cp --parents common/tripleBuffer/tcl/calcTriBuf.tcl ${DIR_RELEASE}
cp --parents common/tripleBuffer/src/tripleBufferPkg.vhd ${DIR_RELEASE}
cp --parents common/tripleBuffer/src/tripleBridgeRtl.vhd ${DIR_RELEASE}
cp --parents common/tripleBuffer/src/tripleLogicRtl.vhd ${DIR_RELEASE}
cp --parents common/tripleBuffer/src/tripleBufferRtl.vhd ${DIR_RELEASE}
cp --parents common/util/tcl/writeFile.tcl ${DIR_RELEASE}