Changeset 123 for trunk/IPs/systemC/Environment/src/Environment.cpp
- Timestamp:
- Jun 8, 2009, 10:43:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.