Changeset 589 for soft/giet_vm/applications/router/router.py
- Timestamp:
- Jul 8, 2015, 3:57:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/router/router.py
r457 r589 26 26 #################################################################################### 27 27 28 ###################### ###29 def router( mapping ):28 ###################### 29 def extend( mapping ): 30 30 31 31 x_size = mapping.x_size … … 54 54 mapping.addVseg( vspace, 'router_data_0', data_0_base , data_0_size, 55 55 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 56 binpath = 'build/router/ router.elf',56 binpath = 'build/router/appli.elf', 57 57 local = False ) 58 58 … … 60 60 mapping.addVseg( vspace, 'router_data_1', data_1_base , data_1_size, 61 61 'C_WU', vtype = 'ELF', x = x_size - 1, y = y_size - 1, pseg = 'RAM', 62 binpath = 'build/router/ router.elf',62 binpath = 'build/router/appli.elf', 63 63 local = False ) 64 64 … … 108 108 if __name__ == '__main__': 109 109 110 vspace = router( Mapping( 'test', 2, 2, 4 ) )110 vspace = extend( Mapping( 'test', 2, 2, 4 ) ) 111 111 print vspace.xml() 112 112
Note: See TracChangeset
for help on using the changeset viewer.