Ignore:
Timestamp:
Sep 5, 2010, 10:36:58 AM (14 years ago)
Author:
simerabe
Message:

simple_ring_fast platform

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  
    1919        plen_size = 8,
    2020        addr_size = 32,
    21         rerror_size = 1,
     21        rerror_size = 2,
    2222        clen_size = 1,
    2323        rflag_size = 1,
  • trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/segmentation.h

    r3 r86  
    3434
    3535#define MC_M_BASE       0x10000000
    36 #define MC_M_SIZE       0x00100000
     36#define MC_M_SIZE       0x00200000
    3737
    3838/////////////////////////////////////////////////////////////////
  • trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/soft/main.c

    r85 r86  
    1313
    1414unsigned int SortArr0[NPROCS*(SIZE+200)];
    15 //unsigned int SortArr0[4*4*SIZE];
    1615
    1716void SORT(unsigned int *base, unsigned int n, int type);
     
    6362        printf( "nombre cycles cpu : %i\n", end_cycle-beg_cycle);
    6463  }
    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 
    7864
    7965  while(1);
  • trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/top.cpp

    r85 r86  
    3131
    3232        // 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;
    3434        typedef soclib::common::Iss2Simhelper<soclib::common::Mips32ElIss> proc_iss;
    3535        // Mapping table
     
    192192        ringc("ringc",maptabc, IntTab(), 2, 5, 5);
    193193
    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);
    196196
    197197        // Net-List
     
    310310        int ncycles;
    311311
    312 #ifndef SOCVIEW
    313312        if (argc == 2) {
    314313                ncycles = std::atoi(argv[1]);
     
    328327        signal_resetn = true;
    329328
    330 /*
    331   while(1){
    332     char buf[2];
    333           std::cin.getline(buf,1);
     329
     330        for (int i = 0; i < ncycles ; i+=1) {
    334331                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();
    342332        }
    343333
     
    348338
    349339        return EXIT_SUCCESS;
    350 #else
    351         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 #endif
    360340}
    361341
Note: See TracChangeset for help on using the changeset viewer.