Skip to content
Snippets Groups Projects
Commit 2907f65b authored by Jan David Mol's avatar Jan David Mol
Browse files

Propagate RW values to R monitoring point in simulator

parent 88e496be
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,10 @@ class SubHandler(object):
# print(Vars_R,Vars_R.values())
for vname2,myvar2,oldvalue in Vars_R.values():
if vname2==vname:
if args.simulator:
res=True
print("Simulating fallthrough _RW->_R for",vname,": Result:",res,oldvalue)
else:
res=P1.GetVarValue(vname,val)
print("Read callback",vname,": Result:",res,oldvalue)
if res:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment