Sign in
opensecura
/
3p
/
renode
/
renode
/
660656db0cd13f1dcfdb130b1911453408afab50
/
.
/
scripts
/
pydev
/
counter.py
blob: db229a41e12c467f7ff71dc2fe780383ed1a1a44 [
file
] [
log
] [
blame
]
if
request
.
isInit
:
lastVal
=
-
1
elif
request
.
isRead
:
request
.
value
=
lastVal
+
1
lastVal
+=
1
self
.
NoisyLog
(
"%s on COUNTER at 0x%x, value 0x%x"
%
(
str
(
request
.
type
),
request
.
offset
,
request
.
value
))