Changeset 338


Ignore:
Timestamp:
Jun 19, 2014, 1:37:39 PM (10 years ago)
Author:
alain
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/genmap

    r328 r338  
    88# This generic script maps one or several multi-tasks applications on a specific
    99# instance of the multi-processors/multi-clusters TSAR architecture.
    10 #
    1110# It generates the files required for hardware and software compilation:
    12 #
    1311# 1) The "hard_config.h" file is used to generate the top.cppnetbsd file (hardware),
    1412#    and to compile the tsar_preloader.elf, the GietVM boot.elf and kernel.elf files.
    15 #
    1613# 2) The optionals "map.bin" and vsegs.ld" files are used to configure the GietVM.
    17 #
    1814# 3) The optional "netbsd.dts" file can be used to configure NetBSD.
    19 #
    2015# 4) The optional "arch.bib" file can be used to configure ALMOS.
    21 #
    2216# 5) An optional "map.xml" file can be generated for debug.
    2317#######################################################################################
     
    9488                   help = 'map the "sort" application for the GietVM' )
    9589
    96 parser.add_option( '--convol', action = 'store_true', dest = 'filt',     
     90parser.add_option( '--convol', action = 'store_true', dest = 'convol',     
    9791                   default = False,
    9892                   help = 'map the "convol" application for the GietVM' )
     
    120114map_transpose = options.transpose   # map "transpose" application if True
    121115map_sort      = options.sort        # map "sort" application if True
    122 map_convol    = options.filt        # map "convol" application if True
     116map_convol    = options.convol      # map "convol" application if True
    123117
    124118######################################################################################
     
    134128
    135129# dynamically import the PYTHON mapping generator module (file name)
    136 select = __import__( 'genmap' )
     130select = __import__( 'arch' )
    137131
    138132# build mapping calling the function (function name)
    139 mapping = select.genmap( x_size, y_size, nprocs )
     133mapping = select.arch( x_size, y_size, nprocs )
    140134print '[genmap] platform %s build' % mapping.name
    141135
Note: See TracChangeset for help on using the changeset viewer.