Changeset 123 for trunk/IPs/systemC/Environment
- Timestamp:
- Jun 8, 2009, 10:43:30 PM (16 years ago)
- Location:
- trunk/IPs/systemC/Environment
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/Data/src/Segment_init.cpp
r88 r123 10 10 int size = this->size; 11 11 int offset = 0; 12 12 13 13 loadexec(&ptab,&size,&offset,filename,sections); 14 14 15 15 // std::cout << " - size : " << size << std::endl; 16 16 // std::cout << " - offset : " << offset << std::endl; -
trunk/IPs/systemC/Environment/src/Environment.cpp
r112 r123 11 11 12 12 component_cache = new cache::Cache ("cache", param->param_cache); 13 14 13 component_tty = new tty::TTY * [param->nb_component_tty]; 15 14 for (uint32_t i=0; i<param->nb_component_tty; i++) 16 15 component_tty [i] = new tty::TTY ("tty_"+i ,param->param_tty [i]); 17 18 16 component_ramlock = new ramlock::RamLock * [param->nb_component_ramlock]; 19 17 for (uint32_t i=0; i<param->nb_component_ramlock; i++) 20 18 component_ramlock [i] = new ramlock::RamLock ("ramlock_"+i,param->param_ramlock [i]); 21 22 19 component_sim2os = new sim2os::Sim2OS ("sim2os" ,param->param_sim2os ); 23 20 component_data = new data::Data ("data" ,param->param_data ); 24 25 21 component_buffer_irsp = new queue::Sort_Queue<irsp_t*> * [param->nb_entity]; 26 22 component_buffer_drsp = new queue::Sort_Queue<drsp_t*> * [param->nb_entity]; … … 60 56 entity.segment->define_target(data::TYPE_TARGET_SIM2OS,0); 61 57 } 62 63 58 64 59 for (uint32_t i=0; i<param->nb_entity; i++) … … 201 196 dcache_rsp_val [i] = new Tcontrol_t [param->dcache_dedicated_nb_port[i]]; 202 197 } 198 203 199 // *****[ Definition of method ]***** 204 200 SC_METHOD (transition); … … 209 205 dont_initialize (); 210 206 sensitive << (*(CLOCK)).neg(); 207 211 208 } 212 209 -
trunk/IPs/systemC/Environment/src/Environment_transition.cpp
r117 r123 501 501 502 502 _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])); 505 505 _cout(ENVIRONMENT,".\n"); 506 506
Note: See TracChangeset
for help on using the changeset viewer.