- Timestamp:
- Nov 11, 2014, 6:53:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py
r858 r875 24 24 # - y_size : number of clusters in a column 25 25 # - nb_procs : number of processors per cluster 26 # - nb_ttys : number of TTY channels 26 27 # - fbf_width : frame_buffer width = frame_buffer heigth 27 28 # 28 29 # The "hidden" parameters (defined below) are: 29 # - NB_TTYS : number of TTY channels30 30 # - NB_NICS : number of NIC channels 31 31 # - X_IO : cluster_io x coordinate … … 44 44 # define architecture constants 45 45 PADDR_WIDTH = 40 46 NB_TTYS = 147 46 NB_NICS = 2 48 47 FBF_WIDTH = 128 … … 69 68 y_size=2, 70 69 nb_procs=4, 70 nb_ttys=1, 71 71 fbf_width=FBF_WIDTH): 72 72 """This function describes the tsar_generic_iob platform and defines its … … 82 82 (y_size == 16)) 83 83 84 assert NB_TTYS == 184 assert ((nb_ttys >= 1) and (nb_ttys <= 16)) 85 85 86 86 assert (((X_IO == 0) and (Y_IO == 0)) or … … 160 160 161 161 mapping.addPeriph('TTY', base=tty_base, size=tty_size, 162 ptype='TTY', channels= NB_TTYS)162 ptype='TTY', channels=nb_ttys) 163 163 164 164 mapping.addPeriph('NIC', base=nic_base, size=nic_size, … … 186 186 mapping.addIrq(pic, index=7, isrtype='ISR_CMA', channel=3) 187 187 mapping.addIrq(pic, index=8, isrtype='ISR_BDV', channel=0) 188 mapping.addIrq(pic, index=9, isrtype='ISR_TTY_RX', channel=0) 188 189 for i in xrange(nb_ttys): 190 mapping.addIrq(pic, index=16+i, isrtype='ISR_TTY_RX', channel=i) 189 191 190 192 # hardware components replicated in all clusters
Note: See TracChangeset
for help on using the changeset viewer.