Changes between Version 2 and Version 3 of mapping_info


Ignore:
Timestamp:
Oct 26, 2014, 11:24:04 AM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mapping_info

    v2 v3  
    3535The various Python Classes used by these these files are defined in the [source:soft/giet_vm/giet_python/mapping.py mapping.py] file.
    3636
    37 == Python Architecture description ===
     37== Python Architecture description ==
    3838
    3939To define an architecture, you must use the following constructors:
     
    4141=== Class Mapping ===
    4242
    43 The following constructor build a mapping object and define the target architecture general parameters:
     43The Mapping constructor build a mapping object and define the target architecture general parameters:
    4444
    45 mapping = Mapping( name           # mapping name
    46                                  x_size          # number of clusters in a row of the 2D mesh
    47                                  y_size           # number of clusters in a column of the 2D mesh              
    48                                  nprocs          # number of processors per cluster      
    49                                  x_width        # number of bits to encode X coordinate in paddr (default = 4)
    50                                  y_width         # number of bits to encode Y coordinate in paddr (default = 4)
    51                                  p_width         # number of bits to encode local processor index (default = 4)
    52                                  paddr_width  # number of bits in physical address   
    53                                  coherence      # Boolean true if hardware cache coherence         
     45|| name          || mapping name == architecture name ||
     46|| x_size         || number of clusters in a row of the 2D mesh ||
     47|| y_size         || number of clusters in a column of the 2D mesh ||             
     48|| nprocs        || number of processors per cluster ||     
     49|| x_width       || number of bits to encode X coordinate in paddr (default = 4) ||
     50|| y_width       || number of bits to encode Y coordinate in paddr (default = 4) ||
     51|| p_width       || number of bits to encode local processor index (default = 4) ||
     52|| paddr_width ||  number of bits in physical address ||
     53|| coherence    || Boolean true if hardware cache coherence ||     
    5454                                 irq_per_proc   # number of IRQ lines between XCU and proc 
    5555                                 use_ramdisk    # Boolean true if the architecture contains a RamDisk
     
    6060                                 ram_size           # ram_size )
    6161
    62 mapping = Mapping
     62=== Class Cluster ===
    6363== Application description : appli.py ===