Changeset 556 for trunk/tools/arch_info
- Timestamp:
- Sep 21, 2018, 10:25:39 PM (6 years ago)
- Location:
- trunk/tools/arch_info
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/arch_info/arch_classes.py
r548 r556 605 605 s += '#define BOOT_CORE_CXY %d\n' % self.boot_cxy 606 606 s += '#define CACHE_LINE_SIZE %d\n' % self.cache_line 607 if (self.name[5] == 'l') :608 s += '#define IS_LETI \n'609 607 s += '#define RESET_SYSTEM_CLK %d\n' % sys_clk 610 608 s += '\n' … … 630 628 s += '#define USE_IOC_RDK %d\n' % use_ioc_rdk 631 629 s += '\n' 630 s += '#define USE_TXT_TTY %d\n' % (self.name[5] != 'l') # use TTY implementation on IOB 631 s += '#define USE_TXT_MTY %d\n' % (self.name[5] == 'l') # use MTY implementation on LETI 632 s += '\n' 632 633 s += '#define FBUF_X_SIZE %d\n' % fbf_arg0 633 634 s += '#define FBUF_Y_SIZE %d\n' % fbf_arg1 … … 637 638 s += '#define ICU_NB_WTI %d\n' % icu_arg2 638 639 s += '#define ICU_NB_OUT %d\n' % icu_arg3 640 s += '\n' 641 if (self.name[5] == 'l') : # If running on LETI 642 s += '#define TXT_TGT_CLUSTER 0\n' 643 else : # Else, running on IOB 644 s += '#define TXT_TGT_CLUSTER ((X_IO << Y_WIDTH) + Y_IO)\n' 639 645 s += '\n' 640 646 -
trunk/tools/arch_info/boot_info.h
r535 r556 114 114 uint32_t x_max; /*! [FIXME] Nb of non-empty cluster in row */ 115 115 uint32_t y_max; /*! [FIXME] Nb of non_empty cluster in col */ 116 uint32_t use_mty0; /*! [FIXME] Use multi_tty on cluster 0 */117 116 uint32_t io_cxy; /*! IO cluster identifier */ 118 117
Note: See TracChangeset
for help on using the changeset viewer.