Changeset 144 for trunk/IPs/systemC/shared
- Timestamp:
- Sep 28, 2010, 1:19:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/shared/soclib_segment_table.h
r138 r144 73 73 #include <list> 74 74 #include <iostream> 75 #include <stdio.h> 75 76 // using namespace std; 76 77 … … 323 324 { 324 325 std::cout << "\n MSB ROUTING_TABLE\n\n" ; 325 int size = 1 << MSBNumber+LSBNumber;326 int size = 1 << (MSBNumber+LSBNumber); 326 327 unsigned int *tab = new unsigned int[size]; 327 328 initRoutingTable(tab); … … 337 338 { 338 339 printf( "\n LSB_ROUTING_TABLE OF GLOBAL TARGET :%d \n\n", glt ); 339 int size = 1 << MSBNumber+LSBNumber;340 int size = 1 << (MSBNumber+LSBNumber); 340 341 unsigned int *tab = new unsigned int[size]; 341 342 initLocalRoutingTable(tab,glt); … … 371 372 } 372 373 373 int RoutingTableSize = 1 << MSBNumber+LSBNumber;374 int RoutingTableSize = 1 << (MSBNumber+LSBNumber); 374 375 int PageSize = 1 << (32 - MSBNumber - LSBNumber); 375 376 … … 511 512 } 512 513 513 int RoutingTableSize = 1 << MSBNumber+LSBNumber;514 int RoutingTableSize = 1 << (MSBNumber+LSBNumber); 514 515 int PageSize = 1 << (32 - MSBNumber - LSBNumber ); 515 516
Note: See TracChangeset
for help on using the changeset viewer.