repo.or.cz
/
avr-sim.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug fix: check if vm exists
[avr-sim.git]
/
SimulationClock.cpp
blob
66c8c788188dda77b78b46706fa6952b609cae55
1
#include
"SimulationClock.h"
2
#include
"SimulationObject.h"
3
4
namespace
avr
{
5
6
void
SimulationClock
::
exec
() {
7
while
( !
finished
) {
8
if
( (
maxTicks
!=
0
) && (
ticks
() >=
maxTicks
) )
9
finished
=
true
;
10
else
11
step
();
12
}
13
}
14
15
}