Ignore:
Timestamp:
Dec 3, 2015, 4:46:04 PM (9 years ago)
Author:
alain
Message:

Modify genmap to directly control the coprocessor type
using arguments defined in the Makefile.

Location:
soft/giet_vm/giet_python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/genmap

    r729 r737  
    8383                   help = 'define type of IOC: BDV / HBA / SDC / RDK / SPI' )
    8484
     85parser.add_option( '--mwr', type = 'string', dest = 'mwr_type',
     86                   default = 'CPY',
     87                   help = 'define type of COPROC: CPY / DCT / GCD' )
     88
    8589parser.add_option( '--v', action = 'store_true', dest = 'verbose',
    8690                   default = False,
     
    171175fbf_size       = options.fbf_size    # frame buffer width & heigth
    172176ioc_type       = options.ioc_type    # ioc controller type
     177mwr_type       = options.mwr_type    # hardware coprocessor type
    173178
    174179verbose        = options.verbose     # report on map.bin generation if True
     
    213218
    214219# build mapping calling the function (function name)
    215 mapping = select.arch( x_size, y_size, nb_procs, nb_ttys, fbf_size, ioc_type )
     220mapping = select.arch( x_size, y_size, nb_procs, nb_ttys, fbf_size, ioc_type, mwr_type )
    216221print '[genmap] platform %s build' % mapping.name
    217222
  • soft/giet_vm/giet_python/mapping.py

    r709 r737  
    7474
    7575MWRSUBTYPES =    [
     76                  'CPY',
    7677                  'GCD',
    7778                  'DCT',
    78                   'CPY',
    7979                 ]
    8080   
Note: See TracChangeset for help on using the changeset viewer.