Changes between Version 17 and Version 18 of DsxDocumentation
- Timestamp:
- Jan 31, 2008, 8:31:56 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DsxDocumentation
v17 v18 97 97 {{{ 98 98 task_model = TaskModel( 'model_name', 99 infifos = [ 'inport_name', ... ] , 100 outfifos = [ 'outport_name', ... ] , 101 locks = [ 'lock_name', ... ] , 102 barriers = [ 'barrier_name', ... ] , 103 memspaces = [ 'memspace_name', ... ] , 104 impls = [ SwTask( 'func', stack_size = 1024 , sources = [ 'func.c' ] ) 99 ports = { 'inport' : MwmrInput(32) , 100 'ouport' : MwmrOutput(64) , 101 'my_barrier' : BarrierPort() , 102 'my_buffer' : MemspacePort( 4096 ) } 103 impls = [ SwTask( 'func', stack_size = 1024 , sources = [ 'func.c' ] ) ] ) 105 104 }}} 106 105 If a task does not use a given type of resource, the corresponding parameter can be skipped.