@@ -168,3 +168,6 @@ Element function resolve(name : String):
Integer function integer_modulo(a : Integer, b : Integer):
return a - b * (a / b)!
+
+Boolean function has_input():
+ return (element_neq(dict_read(read_userroot(), "input"), dict_read(read_userroot(),"last_input")))!
@@ -184,6 +184,9 @@ Void function list_CBD(model : Element):
return !
+Void function start(model : Element):
+ // Do a simulation loop, until we receive pause
Void function execute_cbd(model : Element):
model = translate_to_runtime(model)