mirror of https://github.com/openXC7/prjxray.git
genheader.sh: export SEEDN when deterministic seed is required
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
a0cfca8608
commit
c7004ed41b
|
|
@ -16,6 +16,7 @@ mkdir "$SPECN"
|
||||||
cd "$SPECN"
|
cd "$SPECN"
|
||||||
|
|
||||||
export SEED="$(echo $SPECN | md5sum | cut -c1-8)"
|
export SEED="$(echo $SPECN | md5sum | cut -c1-8)"
|
||||||
|
export SEEDN="$(basename $(pwd) |sed s/specimen_0*//)"
|
||||||
|
|
||||||
function seed_vh () {
|
function seed_vh () {
|
||||||
echo '`define SEED 32'"'h${SEED}" > setseed.vh
|
echo '`define SEED 32'"'h${SEED}" > setseed.vh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue