Changes between Version 17 and Version 18 of DsxDocumentation


Ignore:
Timestamp:
Jan 31, 2008, 8:31:56 PM (16 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DsxDocumentation

    v17 v18  
    9797{{{
    9898task_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' ] ) ] )
    105104}}}   
    106105If a task does not use a given type of resource, the corresponding parameter can be skipped.