Ignore:
Timestamp:
Nov 11, 2014, 4:27:10 PM (10 years ago)
Author:
alain
Message:

Remove the use_tty, use_timer, use_nic etc. from the mapping.
Introduce the router application in genmap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/genmap

    r441 r453  
    2020#  - x_size    : number of clusters in a row
    2121#  - y_size    : number of clusters in a column
    22 #  - nprocs    : number of processors per cluster
     22#  - nb_procs  : number of processors per cluster
     23#  - nb_ttys   : number of TTY channels
     24#  - fbf_size  : frame buffer width & heigth
    2325#######################################################################################
    2426# The supported platforms are:
     
    5456                   help = 'define number of clusters in a column' )
    5557
    56 parser.add_option( '--p', type = 'int', dest = 'nprocs',
     58parser.add_option( '--p', type = 'int', dest = 'nb_procs',
    5759                   default = 2,
    5860                   help = 'define number of processors per cluster' )
     61
     62parser.add_option( '--tty', type = 'int', dest = 'nb_ttys',
     63                   default = 1,
     64                   help = 'define number of tty channels' )
    5965
    6066parser.add_option( '--fbf', type = 'int', dest = 'fbf_size',
     
    114120x_size        = options.x_size      # number of clusters in a row
    115121y_size        = options.y_size      # number of clusters in a column
    116 nprocs        = options.nprocs      # number of processors in a cluster
     122nb_procs      = options.nb_procs    # number of processors in a cluster
     123nb_ttys       = options.nb_ttys     # number of TTY channels           
    117124fbf_size      = options.fbf_size    # frame buffer width & heigth
    118125
     
    150157
    151158# build mapping calling the function (function name)
    152 mapping = select.arch( x_size, y_size, nprocs, fbf_size )
     159mapping = select.arch( x_size, y_size, nb_procs, nb_ttys, fbf_size )
    153160print '[genmap] platform %s build' % mapping.name
    154161
Note: See TracChangeset for help on using the changeset viewer.