Ignore:
Timestamp:
Jun 8, 2009, 10:43:30 PM (15 years ago)
Author:
rosiere
Message:

1) Fix performance
2) add auto generation to SPECINT2000
3) add reset in genMoore and genMealy

Location:
trunk/IPs/systemC/Environment
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/Environment/Data/src/Segment_init.cpp

    r88 r123  
    1010    int    size   = this->size;
    1111    int    offset = 0;
    12    
     12
    1313    loadexec(&ptab,&size,&offset,filename,sections);
    14    
     14
    1515//     std::cout << "    - size         : " << size         << std::endl;
    1616//     std::cout << "    - offset       : " << offset       << std::endl;
  • trunk/IPs/systemC/Environment/src/Environment.cpp

    r112 r123  
    1111
    1212    component_cache       = new cache::Cache     ("cache", param->param_cache);
    13 
    1413    component_tty         = new tty::TTY * [param->nb_component_tty];
    1514    for (uint32_t i=0; i<param->nb_component_tty; i++)
    1615    component_tty     [i] = new tty::TTY         ("tty_"+i    ,param->param_tty     [i]);
    17    
    1816    component_ramlock     = new ramlock::RamLock * [param->nb_component_ramlock];
    1917    for (uint32_t i=0; i<param->nb_component_ramlock; i++)
    2018    component_ramlock [i] = new ramlock::RamLock ("ramlock_"+i,param->param_ramlock [i]);
    21 
    2219    component_sim2os      = new sim2os::Sim2OS   ("sim2os" ,param->param_sim2os );
    2320    component_data        = new data::Data       ("data"   ,param->param_data   );
    24 
    2521    component_buffer_irsp = new queue::Sort_Queue<irsp_t*> * [param->nb_entity];
    2622    component_buffer_drsp = new queue::Sort_Queue<drsp_t*> * [param->nb_entity];
     
    6056        entity.segment->define_target(data::TYPE_TARGET_SIM2OS,0);
    6157      }
    62 
    6358
    6459    for (uint32_t i=0; i<param->nb_entity; i++)
     
    201196        dcache_rsp_val [i] = new Tcontrol_t [param->dcache_dedicated_nb_port[i]];
    202197      }
     198
    203199    // *****[ Definition of method ]*****
    204200    SC_METHOD (transition);
     
    209205    dont_initialize ();
    210206    sensitive << (*(CLOCK)).neg();
     207
    211208  }
    212209
  • trunk/IPs/systemC/Environment/src/Environment_transition.cpp

    r117 r123  
    501501
    502502                    _cout(ENVIRONMENT,"     * Rdata : ");
    503                     for (uint32_t i=0; i<nb_bytes; i++)
    504                       __cout(ENVIRONMENT,"%.2x",0xff&static_cast<uint32_t>(read_dram[0][i]));
     503                    for (uint32_t x=0; x<nb_bytes; x++)
     504                      __cout(ENVIRONMENT,"%.2x",0xff&static_cast<uint32_t>(read_dram[0][x]));
    505505                    _cout(ENVIRONMENT,".\n");
    506506                   
Note: See TracChangeset for help on using the changeset viewer.