Browse Source

Working, but slow

Yentl Van Tendeloo 8 years ago
parent
commit
dfee7199cf
1 changed files with 3 additions and 0 deletions
  1. 3 0
      integration/code/cbd_semantics.alc

+ 3 - 0
integration/code/cbd_semantics.alc

@@ -229,6 +229,7 @@ Void function step_simulation(model : Element, schedule : Element):
 
 		if (list_len(scc) > 1):
 			output("ALGEBRAIC_LOOP")
+			// TODO solve if possible
 			return !
 		else:
 			block = set_pop(scc)
@@ -373,6 +374,8 @@ Void function execute_cbd(design_model : Element):
 					if (element_eq(schedule_run, read_root())):
 						schedule_run = create_schedule(runtime_model)
 					schedule = schedule_run
+				// TODO remove
+				schedule = create_schedule(runtime_model)
 				step_simulation(runtime_model, schedule)
 			else:
 				output("CONFORMANCE_FAIL " + conforming)