genheader.sh: export SEEDN when deterministic seed is required

Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
John McMaster 2018-10-23 23:20:26 -07:00
parent a0cfca8608
commit c7004ed41b
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ mkdir "$SPECN"
cd "$SPECN"
export SEED="$(echo $SPECN | md5sum | cut -c1-8)"
export SEEDN="$(basename $(pwd) |sed s/specimen_0*//)"
function seed_vh () {
echo '`define SEED 32'"'h${SEED}" > setseed.vh