- Timestamp:
- Feb 16, 2010, 1:35:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Allocation.h
r135 r137 337 337 for (uint32_t it1=0; it1<iterator_1; it1++) \ 338 338 { \ 339 interface [it1] = _interfaces->set_interface( name+separator+toString(it1), direction, localisation, str); \339 interface [it1] = _interfaces->set_interface(((toString(name)!="")?(name+separator):"")+toString(it1), direction, localisation, str); \ 340 340 } \ 341 341 } … … 351 351 for (uint32_t it1=0; it1<iterator_1; it1++) \ 352 352 { \ 353 interface [it1] = _interfaces->set_interface( name+separator+toString(it1)); \353 interface [it1] = _interfaces->set_interface(((toString(name)!="")?(name+separator):"")+toString(it1)); \ 354 354 } \ 355 355 } … … 559 559 for (uint32_t it2=0; it2<iterator_2; it2++) \ 560 560 { \ 561 interface [it1][it2] = _interfaces->set_interface( name+separator+toString(it1)+separator+toString(it2), direction, localisation, str); \561 interface [it1][it2] = _interfaces->set_interface(((toString(name)!="")?(name+separator):"")+toString(it1)+separator+toString(it2), direction, localisation, str); \ 562 562 } \ 563 563 } \ … … 579 579 for (uint32_t it2=0; it2<iterator_2; it2++) \ 580 580 { \ 581 interface [it1][it2] = _interfaces->set_interface( name+separator+toString(it1)+separator+toString(it2)); \581 interface [it1][it2] = _interfaces->set_interface(((toString(name)!="")?(name+separator):"")+toString(it1)+separator+toString(it2)); \ 582 582 } \ 583 583 } \ … … 849 849 for (uint32_t it3=0; it3<iterator_3; it3++) \ 850 850 { \ 851 interface [it1][it2][it3] = _interfaces->set_interface( name+separator+toString(it1)+separator+toString(it2)+separator+toString(it3), direction, localisation, str); \851 interface [it1][it2][it3] = _interfaces->set_interface(((toString(name)!="")?(name+separator):"")+toString(it1)+separator+toString(it2)+separator+toString(it3), direction, localisation, str); \ 852 852 } \ 853 853 } \ … … 875 875 for (uint32_t it3=0; it3<iterator_3; it3++) \ 876 876 { \ 877 interface [it1][it2][it3] = _interfaces->set_interface( name+separator+toString(it1)+separator+toString(it2)+separator+toString(it3)); \877 interface [it1][it2][it3] = _interfaces->set_interface(((toString(name)!="")?(name+separator):"")+toString(it1)+separator+toString(it2)+separator+toString(it3)); \ 878 878 } \ 879 879 } \
Note: See TracChangeset
for help on using the changeset viewer.