Changeset 86 for trunk/platforms
- Timestamp:
- Sep 5, 2010, 10:36:58 AM (14 years ago)
- Location:
- trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/platform_desc
r85 r86 19 19 plen_size = 8, 20 20 addr_size = 32, 21 rerror_size = 1,21 rerror_size = 2, 22 22 clen_size = 1, 23 23 rflag_size = 1, -
trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/segmentation.h
r3 r86 34 34 35 35 #define MC_M_BASE 0x10000000 36 #define MC_M_SIZE 0x00 10000036 #define MC_M_SIZE 0x00200000 37 37 38 38 ///////////////////////////////////////////////////////////////// -
trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/soft/main.c
r85 r86 13 13 14 14 unsigned int SortArr0[NPROCS*(SIZE+200)]; 15 //unsigned int SortArr0[4*4*SIZE];16 15 17 16 void SORT(unsigned int *base, unsigned int n, int type); … … 63 62 printf( "nombre cycles cpu : %i\n", end_cycle-beg_cycle); 64 63 } 65 66 67 // puts("Display the sorted array : \n");68 // for(j = 0; j < SIZE; j++)69 // {70 // puti(SortArray[j]);71 // putchar('\n');72 // }73 74 // printf( "------------------------------ \n");75 // printf( "nombre cycles cpu : %i\n", end_cycle-beg_cycle);76 // printf( "------------------------------ \n");77 78 64 79 65 while(1); -
trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/top.cpp
r85 r86 31 31 32 32 // Define VCI parameters 33 typedef soclib::caba::VciParams<4,8,32, 1,1,1,8,4,4,1> vci_param;33 typedef soclib::caba::VciParams<4,8,32,2,1,1,8,4,4,1> vci_param; 34 34 typedef soclib::common::Iss2Simhelper<soclib::common::Mips32ElIss> proc_iss; 35 35 // Mapping table … … 192 192 ringc("ringc",maptabc, IntTab(), 2, 5, 5); 193 193 194 soclib::caba::VciSimpleRingFast<vci_param, 40, 33>195 ringx("ringx",maptabx, IntTab(), 2, 1, 1);194 soclib::caba::VciSimpleRingFast<vci_param, 40, 33> 195 ringx("ringx",maptabx, IntTab(), 2, 1, 1); 196 196 197 197 // Net-List … … 310 310 int ncycles; 311 311 312 #ifndef SOCVIEW313 312 if (argc == 2) { 314 313 ncycles = std::atoi(argv[1]); … … 328 327 signal_resetn = true; 329 328 330 /* 331 while(1){ 332 char buf[2]; 333 std::cin.getline(buf,1); 329 330 for (int i = 0; i < ncycles ; i+=1) { 334 331 sc_start(sc_core::sc_time(1, SC_NS)); 335 }336 */337 338 for (int i = 0; i < ncycles ; i+=10000) {339 sc_start(sc_core::sc_time(10000, SC_NS));340 // proc0.print_stats();341 // memc.print_stats();342 332 } 343 333 … … 348 338 349 339 return EXIT_SUCCESS; 350 #else351 ncycles = 1;352 sc_start(sc_core::sc_time(0, SC_NS));353 signal_resetn = false;354 sc_start(sc_core::sc_time(1, SC_NS));355 signal_resetn = true;356 357 debug();358 return EXIT_SUCCESS;359 #endif360 340 } 361 341
Note: See TracChangeset
for help on using the changeset viewer.