Ignore:
Timestamp:
Mar 10, 2015, 3:12:37 PM (10 years ago)
Author:
alain
Message:

1) Simplification of the mapping objects: the coproc and cp_port objects
have been removedr.:A coprocessor is now described as a peripheral with MWR type,
and the coprocessor type is defined by the subtype argument.
The addPeriph() prototype has been modified to support 4 arguments: arg0, arg1, arg2, arg3
(the semanting depends on the peripheral type).

2) A new application, called "coproc", and using the GCD coprocessor and
the MWMR_DMA controller, has been introduced in genmap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/genmap

    r500 r520  
    66#   author : Alain Greiner
    77#######################################################################################
    8 # This generic script maps one or several multi-tasks applications on a specific
     8# This generic script maps one or several applications on a specific
    99# instance of the multi-processors/multi-clusters TSAR architecture.
    1010# It generates the files required for hardware and software compilation:
    11 # 1) The "hard_config.h" file is used to generate the top.cppnetbsd file (hardware),
     11# 1) The "hard_config.h" file is used to generate the top.cpp file (hardware),
    1212#    and to compile the tsar_preloader.elf, the GietVM boot.elf and kernel.elf files.
    1313# 2) The optionals "map.bin" and vsegs.ld" files are used to configure the GietVM.
     
    2727# - tsar_generic_iob
    2828# - tsar_generic_leti
     29# - tsar_geberic_mwmr
    2930#######################################################################################
    3031# The supported applications are:
     
    3637# - display
    3738# - gameoflife
     39# - coproc
    3840#######################################################################################
    3941
     
    123125                   default = False,
    124126                   help = 'map the "gameoflife" application for the GietVM' )
     127
     128parser.add_option( '--coproc', action = 'store_true', dest = 'coproc',     
     129                   default = False,
     130                   help = 'map the "coproc" application for the GietVM' )
    125131
    126132######################################################################################
     
    155161map_classif    = options.classif     # map "classif" application if True
    156162map_gameoflife = options.gameoflife  # map "gameoflife" application if True
     163map_coproc     = options.coproc      # map "coproc" application if True
    157164
    158165######################################################################################
     
    213220    print '[genmap] application "gameoflife" will be loaded'
    214221
     222if ( map_coproc ):
     223    app = __import__( 'coproc' )
     224    app.coproc( mapping )
     225    print '[genmap] application "coproc" will be loaded'
     226
    215227######################################################################################
    216228#   Generate xml file if required.
Note: See TracChangeset for help on using the changeset viewer.