Changes between Initial Version and Version 1 of DsxResource


Ignore:
Timestamp:
Aug 21, 2006, 5:37:47 PM (18 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DsxResource

    v1 v1  
     1= Resources =
     2
     3== Mwmr ==
     4
     5multi reader fifos
     6
     7Special kind of fifos where any number of producers and readers may be "connected". This fifos provides the following features:
     8 * Transfers are done in indivisible blocks of contiguous data
     9 * Read/Write operations are done in packets of one or more blocks
     10 * Blocks may be read/written in between of others, even in one write operation
     11 * Blocks always arrive in order (even if not contiguous because of preceding point)
     12
     13[[Image(wiki:MwMr:mwmr.png)]]
     14
     15{{{
     16fifo1 = Memr("first_fifo",
     17             4, # Width, in 32-bit words, this is block size
     18             64) # Depth, in number of blocks
     19}}}
     20
     21== Lock ==
     22
     23Simple mutex, implemented through [wiki:SpinLock spin locks].
     24
     25{{{
     26lock1 = Lock("first_lock")
     27}}}
     28
     29== Barrier ==
     30
     31Synchronization point between tasks. All tasks connected to a barrier must wait for it before going any further.
     32
     33{{{
     34barr = Barrier("sync")
     35}}}
     36
     37== Memspace ==
     38
     39Shared (or not) memory declaration, may be used to have global memory space shared between tasks.
     40
     41{{{
     42memsp = Memspace("mem_name", 32768)
     43}}}
     44
     45== Const ==
     46
     47Constant integer values.
     48
     49{{{
     50cex = Const(1)
     51}}}