wiki:DsxTasks

Version 8 (modified by Nicolas Pouillon, 18 years ago) (diff)

--

Tasks

Tasks are instanciations of TaskModels. At instanciation, tasks must have all their resources connected.

exemple_inst = Task( "exemple_task_name", exemple_task_model,
                     portmap = {
                        "port1" : resourceA,
                        "port2" : resourceB
                     },
                     defines = {
                        "DEF_NAME": "value"
                     }
                   )

In order to match the definition done in model (DsxTaskModel), there must be:

  • one connection per port
  • one define string per define

They are grouped to form a task and control graph