Ignore:
Timestamp:
Apr 6, 2015, 12:37:30 AM (9 years ago)
Author:
alain
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_iob/arch.py

    r965 r966  
    1414#  (global vsegs).
    1515#
    16 #  This platform includes 6 external peripherals, accessible through an IOB
     16#  This platform includes 7 external peripherals, accessible through an IOB
    1717#  components located in cluster [0,0] or in cluster [x_size-1, y_size-1].
    18 #  Available peripherals are: TTY, HBA, FBF, ROM, NIC, CMA, PIC.
     18#  Available peripherals are: TTY, IOC, FBF, ROM, NIC, CMA, PIC.
    1919#
    2020#  All clusters contain (nb_procs) processors, one L2 cache, one XCU, and
    2121#  one DMA controller.
    2222#
    23 #  The "constructor" parameters are:
     23#  The "constructor" parameters (defined in Makefile) are:
    2424#  - x_size         : number of clusters in a row
    2525#  - y_size         : number of clusters in a column
     
    2727#  - nb_ttys        : number of TTY channels
    2828#  - fbf_width      : frame_buffer width = frame_buffer heigth
    29 #  - ioc_type       : can be 'BDV' , 'HBA' , 'SDC' , 'NONE'
    30 #
    31 #  The other hardware parameters are:
     29#  - ioc_type       : can be 'BDV','HBA','SDC', but not 'RDK'
     30#
     31#  The other hardware parameters (defined below) are:
    3232#  - nb_nics        : number of NIC channels
    3333#  - nb_cmas        : number of CMA channels
     
    3939#  - irq_per_proc   : number of input IRQs per processor
    4040#  - use_ramdisk    : use a ramdisk when True
    41 #  - vseg_increment : address increment for replicated peripherals
     41#  - vseg_increment : address increment for replicated vsegs
    4242#
    4343#  Regarding the boot and kernel vsegs mapping :
     
    7171    p_width         = 4
    7272    paddr_width     = 40
    73     irq_per_proc    = 4
    74     peri_increment  = 0x10000    # distributed peripherals vbase address increment
     73    irq_per_proc    = 4          # NetBSD constraint
     74    peri_increment  = 0x10000 
    7575
    7676    ### parameters checking
     
    8989            ((x_io == x_size-1) and (y_io == y_size-1)) )
    9090
    91     assert( ioc_type in IOCSUBTYPES )
     91    assert( ioc_type in [ 'BDV' , 'HBA' , 'SDC' ] )
    9292 
    9393    ### define platform name
Note: See TracChangeset for help on using the changeset viewer.