mirror of https://github.com/openXC7/prjxray.git
genheader.sh: export SEED variable
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
43c797dea2
commit
a920efa071
|
|
@ -13,3 +13,9 @@ test ! -e "$1"
|
|||
mkdir "$1"
|
||||
cd "$1"
|
||||
|
||||
export SEED="$(echo $1 | md5sum | cut -c1-8)"
|
||||
|
||||
function seed_vh () {
|
||||
echo '`define SEED 32'"'h${SEED}" > setseed.vh
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue