URL
https://opencores.org/ocsvn/amber/amber/trunk
[/] [amber/] [trunk/] [hw/] [fpga/] [bin/] [set_fpga_version.sh] - Diff between revs 2 and 75
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 75 |
Line 1... |
Line 1... |
#/bin/sh -f
|
#/bin/sh -f
|
# Copy the run ID into an include file
|
# Copy the run ID into an include file
|
# thats compiled into the FPGA boot loader software
|
# thats compiled into the FPGA boot loader software
|
|
|
FPGA_VERSION_FILE=../../../sw/boot-loader/fpga-version.h
|
FPGA_VERSION_FILE=../../../sw/boot-loader-serial/fpga-version.h
|
RUN_ID_FILE=$1
|
RUN_ID_FILE=$1
|
|
|
VERSION=`cat ${RUN_ID_FILE}`
|
VERSION=`cat ${RUN_ID_FILE}`
|
echo '#define AMBER_FPGA_VERSION "'${VERSION}'"' > ${FPGA_VERSION_FILE}
|
echo '#define AMBER_FPGA_VERSION "'${VERSION}'"' > ${FPGA_VERSION_FILE}
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.