- Timestamp:
- Nov 12, 2014, 3:14:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py
r875 r876 74 74 75 75 # parameters checking 76 assert nb_procs <= 4 77 78 assert ((x_size == 1) or (x_size == 2) or (x_size == 4) or (x_size == 8) or 79 (x_size == 16)) 80 81 assert ((y_size == 1) or (y_size == 2) or (y_size == 4) or (y_size == 8) or 82 (y_size == 16)) 76 assert (nb_procs <= (1 << P_WIDTH)) 77 78 assert ((x_size >= 1) and (x_size <= (1 << X_WIDTH))) 79 80 assert ((y_size >= 1) and (y_size <= (1 << Y_WIDTH))) 83 81 84 82 assert ((nb_ttys >= 1) and (nb_ttys <= 16)) 85 83 86 84 assert (((X_IO == 0) and (Y_IO == 0)) or 87 ((X_IO == x_size-1) and (Y_IO == y_size-1)))85 ((X_IO == (x_size - 1)) and (Y_IO == (y_size - 1)))) 88 86 89 87 platform_name = 'reconf-tsar_iob_%d_%d_%d' % (x_size, y_size, nb_procs)
Note: See TracChangeset
for help on using the changeset viewer.