Merge pull request #193 from mcmasterg/genheader_seedn

genheader.sh: export SEEDN when deterministic seed is required
This commit is contained in:
John McMaster 2018-10-24 17:25:07 -07:00 committed by GitHub
commit 8a68fe70c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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