Changes between Version 22 and Version 23 of DsxDocumentation
- Timestamp:
- Feb 27, 2008, 6:05:11 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DsxDocumentation
v22 v23 180 180 === C7) TCG definition === 181 181 182 The Task and Communication Graph must be defined : 182 The Task and Communication Graph must be defined. The ''portmap'' construct is 183 a list of assignments : the first argument is a port name. The second argument is the ressource, 184 that can be a communication channel, a barrier, a lock, etc. 183 185 {{{ 184 186 my_tcg = Tcg( 185 Task( 'task_name1',186 'model_name1',187 portmap = { ’in’:input, ’out’:output } ),188 Task( 'task2',189 'model_name2',190 portmap = { ’in’:input2, ’out’:output2 } )191 187 Task( 'task_name1', 'model_name1', 188 portmap = { ’in':channelA, 189 'out':channelB } ) , 190 Task( 'task_name2', 'model_name2', 191 portmap = { ’in':channelB, 192 'out':channelC } ) , 193 ... ) 192 194 }}} 193 195