Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
54340441
Commit
54340441
authored
9 years ago
by
Daniel van der Schuur
Browse files
Options
Downloads
Patches
Plain Diff
-Added --seed=# option.
parent
a290e6a6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/quartus/run_qcomp
+12
-1
12 additions, 1 deletion
tools/quartus/run_qcomp
with
12 additions
and
1 deletion
tools/quartus/run_qcomp
+
12
−
1
View file @
54340441
...
@@ -54,6 +54,7 @@ shift # shift left commandline args: $2 becomes $1 ... ($0 is untouched)
...
@@ -54,6 +54,7 @@ shift # shift left commandline args: $2 becomes $1 ... ($0 is untouched)
project
=
project
=
rev
=
rev
=
SEED
=
1
os
=
os
=
# parse cmdline
# parse cmdline
for
arg
;
do
for
arg
;
do
...
@@ -67,6 +68,12 @@ for arg ; do
...
@@ -67,6 +68,12 @@ for arg ; do
rev
=
*
)
rev
=
*
)
rev
=
`
echo
${
arg
}
|
sed
's/^rev=//'
`
rev
=
`
echo
${
arg
}
|
sed
's/^rev=//'
`
;;
;;
--seed
=
*
)
SEED
=
`
echo
${
arg
}
|
sed
's/^--seed=//'
`
;;
seed
=
*
)
SEED
=
`
echo
${
arg
}
|
sed
's/^seed=//'
`
;;
*
=
*
)
*
=
*
)
# it was an option. skip it - if we wanted to,
# it was an option. skip it - if we wanted to,
# we could process them over here
# we could process them over here
...
@@ -120,5 +127,9 @@ else
...
@@ -120,5 +127,9 @@ else
mem_width
=
mem_width
=
fi
fi
# Add the seed value to the QSF. We can simply append it because Quartus removes previous (duplicate) assignments.
unb_info
$0
"Adding fitter seed value of
${
SEED
}
to
${
project_rev
}
.qsf"
echo
-e
"set_global_assignment -name SEED
${
SEED
}
\n
"
>>
${
quartusdir
}
/
${
project_rev
}
.qsf
unb_info
$0
"Performing full compile of project
${
project_rev
}
"
unb_info
$0
"Performing full compile of project
${
project_rev
}
"
quartus_sh
$mem_width
--flow
compile
${
project_rev
}
quartus_sh
$mem_width
--flow
compile
${
project_rev
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment