Changeset 589 for soft/giet_vm/applications/sort/sort.py
- Timestamp:
- Jul 8, 2015, 3:57:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/sort/sort.py
r502 r589 4 4 5 5 #################################################################################### 6 # file : sort.py (for the sort application)6 # file : sort.py 7 7 # date : may 2014 8 8 # author : Alain Greiner … … 20 20 #################################################################################### 21 21 22 #################### 23 def sort( mapping ):22 ###################### 23 def extend( mapping ): 24 24 25 25 x_size = mapping.x_size … … 50 50 mapping.addVseg( vspace, 'sort_data', data_base , data_size, 51 51 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 52 binpath = 'build/sort/ sort.elf',52 binpath = 'build/sort/appli.elf', 53 53 local = False ) 54 54 … … 61 61 mapping.addVseg( vspace, 'sort_code', code_base , code_size, 62 62 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 63 binpath = 'build/sort/ sort.elf',63 binpath = 'build/sort/appli.elf', 64 64 local = True ) 65 65 … … 113 113 if __name__ == '__main__': 114 114 115 vspace = sort( Mapping( 'test', 2, 2, 4 ) )115 vspace = extend( Mapping( 'test', 2, 2, 4 ) ) 116 116 print vspace.xml() 117 117
Note: See TracChangeset
for help on using the changeset viewer.