Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
V
VME64x core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
VME64x core
Commits
f210991d
Commit
f210991d
authored
Oct 25, 2017
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add script to run all the test cases.
parent
7c71c06b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
run_all.sh
hdl/sim/simple_tb/modelsim/run_all.sh
+19
-0
No files found.
hdl/sim/simple_tb/modelsim/run_all.sh
0 → 100755
View file @
f210991d
#!/bin/sh
set
-e
function
check_log
()
{
if
grep
-F
'# ** '
sim.log |
grep
-E
-v
'Note|Warning'
;
then
echo
"Simulation failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
exit
1
fi
}
for
i
in
1 2 3 4 5 6 7 8 9
;
do
echo
echo
"Scenario
$i
"
vsim
-gg_scenario
=
$i
-c
-do
"run 5us; quit"
top_tb |
tee
sim.log
check_log
done
echo
"OK!"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment