Changes between Version 9 and Version 10 of Writing Rules/Caba
- Timestamp:
- Mar 27, 2007, 9:48:18 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Rules/Caba
v9 v10 3 3 <h1>Writing efficient Cycle-Accurate, Bit-Accurate SystemC simulation models for SoCLib</h1> 4 4 }}} 5 [[PageOutline]]= Introduction = 5 [[PageOutline]] 6 = Introduction = 6 7 7 8 This manual describes the modeling rules for writing "cycle-accurate / bit-accurate" SystemC simulation models for SoCLib. Models complying with those rules can be used with the "standard" OSCI simulation engine (SystemC 2.x), but can be used also with others simulation engines, such as [SystemCass SystemCASS], which is optimized for such models. … … 345 346 { 346 347 // Here we must delete dynamically-allocated data... 347 delete [] m_contents;348 delete [] r_contents; 348 349 } 349 350 … … 353 354 // from FSMs to internal data. 354 355 if (!p_resetn) { 355 for (size_t i=0; i< r_segment.size()/4; ++i)356 for (size_t i=0; i<m_segment.size()/4; ++i) 356 357 r_contents[i] = false; 357 358 r_vci_fsm = IDLE; 358 359 return; 359 360 }