Changeset 589 for soft/giet_vm/applications/coproc/coproc.py
- Timestamp:
- Jul 8, 2015, 3:57:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/coproc/coproc.py
r555 r589 4 4 5 5 ################################################################################## 6 # file : coproc.py (for the coproc application)6 # file : coproc.py 7 7 # date : march 2015 8 8 # author : Alain Greiner … … 22 22 23 23 ###################### 24 def coproc( mapping ):24 def extend( mapping ): 25 25 26 26 x_size = mapping.x_size … … 55 55 mapping.addVseg( vspace, 'coproc_data', data_base , data_size, 56 56 'C_WU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 57 binpath = 'build/coproc/ coproc.elf',57 binpath = 'build/coproc/appli.elf', 58 58 local = False ) 59 59 … … 61 61 mapping.addVseg( vspace, 'coproc_code', code_base , code_size, 62 62 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 63 binpath = 'build/coproc/ coproc.elf',63 binpath = 'build/coproc/appli.elf', 64 64 local = False ) 65 65 … … 82 82 if __name__ == '__main__': 83 83 84 vspace = coproc( Mapping( 'test', 2, 2, 4 ) )84 vspace = extend( Mapping( 'test', 2, 2, 4 ) ) 85 85 print vspace.xml() 86 86
Note: See TracChangeset
for help on using the changeset viewer.