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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hdl-core-lib
vme64x-core
Commits
c896b6f2
Commit
c896b6f2
authored
Nov 13, 2017
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sim] fixed run_all.sh script
parent
b448b18b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
run_all.sh
hdl/sim/simple_tb/modelsim/run_all.sh
+5
-9
No files found.
hdl/sim/simple_tb/modelsim/run_all.sh
View file @
c896b6f2
#!/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
if
grep
-F
'# ** '
sim.log |
grep
-E
-v
'Note|Warning'
;
then
echo
"Simulation failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
exit
1
fi
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