Changeset 1025 for trunk/platforms/tsar_generic_iob/arch.py
- Timestamp:
- Dec 3, 2015, 4:50:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_iob/arch.py
r1018 r1025 28 28 # - fbf_width : frame_buffer width = frame_buffer heigth 29 29 # - ioc_type : can be 'BDV','HBA','SDC', 'SPI' but not 'RDK' 30 # 30 # - mwr_type : coprocessor type / can be 'GCD','DCT','CPY','NONE' 31 31 # 32 32 # The other hardware parameters (defined in this script) are: … … 37 37 # - x_width : number of bits for x coordinate 38 38 # - y_width : number of bits for y coordinate 39 # - p_width : number of bits for processor local index 39 40 # - paddr_width : number of bits for physical address 40 41 # - irq_per_proc : number of input IRQs per processor 41 # - use_ramdisk : use a ramdisk when True 42 # - vseg_increment : address increment for replicated vsegs 43 # - mwr_type : coprocessor type / can be 'GCD','DCT','NOPE' 44 # - use_dma : one single channel DMA per cluster if non zero 42 # - peri_increment : address increment for replicated peripherals 45 43 # 46 44 # Regarding the boot and kernel vsegs mapping : … … 62 60 nb_ttys = 1, 63 61 fbf_width = 128, 64 ioc_type = 'BDV' ): 62 ioc_type = 'BDV', 63 mwr_type = 'CPY' ): 65 64 66 65 ### define architecture constants … … 76 75 irq_per_proc = 4 77 76 peri_increment = 0x10000 78 mwr_type = 'GCD'79 77 80 78 ### constructor parameters checking … … 88 86 or (y_size == 8) or (y_size == 16) ) 89 87 90 assert( (nb_ttys >= 1) and (nb_ttys <= 8) )88 assert( (nb_ttys >= 1) and (nb_ttys <= 16) ) 91 89 92 90 assert( ((x_io == 0) and (y_io == 0)) or … … 95 93 assert( ioc_type in [ 'BDV' , 'HBA' , 'SDC' , 'SPI' ] ) 96 94 97 assert( mwr_type in [ 'GCD' , 'DCT' , 'CPY' , 'NONE'] )95 assert( mwr_type in [ 'GCD' , 'DCT' , 'CPY' ] ) 98 96 99 97 ### define platform name 100 98 101 99 platform_name = 'tsar_iob_%d_%d_%d' % ( x_size, y_size , nb_procs ) 102 platform_name += '_%d_%d_%s ' % ( fbf_width , nb_ttys , ioc_type )100 platform_name += '_%d_%d_%s_%s' % ( fbf_width , nb_ttys , ioc_type , mwr_type ) 103 101 104 102 ### define physical segments replicated in all clusters … … 166 164 kernel_code_size = 0x00100000 # 1 Mbytes per cluster 167 165 168 kernel_init_vbase = 0x8 0100000166 kernel_init_vbase = 0x88000000 169 167 kernel_init_size = 0x00100000 # 1 Mbytes per cluster 170 168
Note: See TracChangeset
for help on using the changeset viewer.