Ignore:
Timestamp:
Mar 1, 2019, 12:27:13 PM (6 years ago)
Author:
alain
Message:

Change the ihardware parameters default values in arch_info.py

File:
1 edited

Legend:

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

    r1055 r1060  
    44
    55#########################################################################################
    6 #   file   : arch_info.py for the tsar_generic_iob architecture)
     6#   file   : arch_info.py
    77#   date   : august 2016
    88#   author : Alain Greiner
     9#
     10#   This file describes the <tsar_generic_iob> architecture for ALMOS-MKH.
    911#########################################################################################
    10 #  This python script defines a specific instance of "tsar_generic_iob" architecture
     12#  This python script defines a specific instance of ithe "tsar_generic_iob" architecture
    1113#  for the ALMOS-MKH operating system. It is used to generate the "hard_config.h" file,
    1214#  used to configure the hardware architecture, and the "arch_info.bin" file, used by
     
    3032#  - nb_ttys        : number of TTY channels (can be from 1 to 8)
    3133#  - nb_nics        : number of NIC channels (from 1 to 2)
    32 #  - fbf_width      : frame_buffer width = frame_buffer heigth
    33 #  - ioc_type       : can be 'IOC_BDV','IOC_HBA','IOC_SDC', 'IOC_SPI','NONE'
    34 #
    35 #  The following parameters are imposed by the "tsar_generic_iob" architecture:
    36 #  - devices_max    : max number of devices per cluster
     34#  - ioc_type       : can be IOC_BDV, IOC_HBA, IOC_SDC, IOC_SPI
     35#  - txt_type       : IOB architecture use TXT_TTY
     36#  - fbf_type       : IOB architecture use FBF_SCL
     37#  - sys_clk        : IOB architecture is SystemC only
     38#
     39#  The other hardware parameters are defined below:
    3740#  - x_width        : number of bits for x coordinate
    3841#  - y_width        : number of bits for y coordinate
     42#  - p_width        : number of bits for local processor index
    3943#  - paddr_width    : number of bits for physical address
    40 #  - p_width        : number of bits for local processor index
    4144#  - irqs_per_core  : number of input IRQs per processor
    4245#  - io_cxy         : IO cluster identifier
    4346#  - boot_cxy       : boot cluster identifier
    4447#  - cache_line     : number of bytes in cache line (in 16,32,64)
     48#  - devices_max    : max number of internal devices per cluster
     49#  - fbf_width      : number of lines = number of pixels
    4550########################################################################################
    4651
     
    4954          y_size        = 2,
    5055          nb_cores      = 2,
    51           nb_ttys       = 1,
     56          nb_ttys       = 3,
    5257          nb_nics       = 1,
    53           fbf_width     = 128,
    54           ioc_type      = 'IOC_BDV'):
     58          ioc_type      = 'IOC_BDV',
     59          txt_type      = 'TXT_TTY',
     60          fbf_type      = 'FBF_SCL',
     61          sys_clk       = 50000 ):
    5562
    5663    ### architecture constants
     
    6168    paddr_width   = 40
    6269    irqs_per_core = 4           
    63     devices_max   = 16 
     70    io_cxy        = ((x_size-1)<<y_width) + (y_size-1)   # upper right cluster
    6471    boot_cxy      = 0
    6572    cache_line    = 64
    66     io_cxy        = ((x_size-1)<<y_width) + (y_size-1)   # upper right cluster
     73    devices_max   = 16 
     74    fbf_width     = 256
    6775
    6876    ### constructor parameters checking
     
    95103
    96104    ram_base = 0x0000000000
    97     ram_size = 0x800000                    # 8 Mbytes
     105    ram_size = 0x1000000                   # 16 Mbytes
    98106
    99107    xcu_base = 0x00B0000000
     
    113121
    114122    tty_base  = 0x00B4000000
    115     tty_size  = 0x4000                     # 16 Kbytes
     123    tty_size  = 0x8000                     # 4 Kbytes * 8 channels
    116124
    117125    nic_base  = 0x00B5000000
    118     nic_size  = 0x4000                     # 16 kbytes
     126    nic_size  = 0x4000                     # 4 Kbytes * 4 channels
    119127
    120128    fbf_base  = 0x00B7000000
Note: See TracChangeset for help on using the changeset viewer.