Changes between Version 7 and Version 8 of DsxTaskModel


Ignore:
Timestamp:
Mar 12, 2008, 10:30:35 AM (16 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DsxTaskModel

    v7 v8  
    1414= Task implementations =
    1515
    16 == Software Task ==
     16== Software Implementation ==
    1717
    18 A software task implementation is defined by:
     18A software implementation is defined by:
    1919 * a function to call
    20  * a list of C source files (even if some files are shared between tasks, you must redeclare them in each using task implementation definition)
     20 * a list of C source files (even if some files are shared between tasks, you must redeclare them in each task implementation)
    2121 * a list of defines to be defined later (arg `defines = {}` on task instanciation) see PerTaskCflags
    2222
     
    3232}}}
    3333
    34 == Hardware Task ==
     34== Hardware Implementation ==
    3535
    36 An hardware implementation is in fact a corpocessor (which must be implemented in simulator/synthesis context and declared in DSX) doing the same thing as the task.
    37 
    38 The following restrictions apply:
    39  * Task must only use MwMr fifos for data exchange
    40  * Task must not be RealTime
     36An hardware implementation is in fact a dedicated hardware coprocessor (which must be declared
     37in DSX) doing the same thing as the task.
     38Constraint : The Task must only use MwMr channels for data exchange, as the coprocessor must use
     39an hardware MWMR controller to interface the VCI interconnect.
    4140
    4241Declaration consists of:
     
    5554}}}
    5655
    57 == Virtual Task ==
     56== Virtual Hardware Implementation ==
    5857
    59 If a task follows constraints for having an hardware implementation, it may be virtually implemented in hardware, which means it will be run in simulator's context as if it were a coprocessor, actually using C implementation.
    60 
    61 This kind if virtualization is only available for SystemC simulation (ie not VHDL), and you must have defined a software implementation.
    62 If your task has a SyntheticTask() declaration and an HwTask at the same time, the implementation chosen by DSX for simulation purposes will be unpredictable, you should avoid such situations.
     58If a designer wants to use an hardware implementation, but the hardware coprocessor
     59does not exist yet, the task may be virtually implemented in hardware, which means it will
     60use the MWMR controller to interface the VCI interconnect, and the C implementation
     61will be used to emulate an hardware coprocessor.
    6362
    6463{{{
     
    7473}}}
    7574
    76 == Task Synthesis ==
     75If a task has a SyntheticTask() declaration and an HwTask() at the same time, the implementation chosen by DSX for simulation purposes will be unpredictable, and you should avoid such situations.
    7776
    78 Using Ugh, a task may be synthetized, this is not supported at this time.