- Timestamp:
- Sep 17, 2014, 1:17:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py
r774 r806 1 1 #!/usr/bin/env python 2 import sys 2 from math import log 3 3 from mapping import * 4 4 … … 28 28 # - x_width : number of bits for x coordinate 29 29 # - y_width : number of bits for y coordinate 30 # - p_width : number of bits for processor local id field 30 31 # - paddr_width : number of bits for physical address 31 32 # - irq_per_proc : number of input IRQs per processor … … 48 49 x_width = 4 49 50 y_width = 4 51 p_width = log(nb_procs, 2) 50 52 paddr_width = 40 51 53 irq_per_proc = 4 … … 355 357 356 358 ################################# platform test ####################################################### 357 359 import sys 358 360 if __name__ == '__main__': 359 361 main( x_size = int(sys.argv[1]),
Note: See TracChangeset
for help on using the changeset viewer.