Changes between Version 9 and Version 10 of Writing Rules/Caba


Ignore:
Timestamp:
Mar 27, 2007, 9:48:18 PM (17 years ago)
Author:
Nicolas Pouillon
Comment:

Typos

Legend:

Unmodified
Added
Removed
Modified
  • Writing Rules/Caba

    v9 v10  
    33<h1>Writing efficient Cycle-Accurate, Bit-Accurate SystemC simulation models for SoCLib</h1>
    44}}}
    5 [[PageOutline]]= Introduction =
     5[[PageOutline]]
     6= Introduction =
    67
    78This 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.
     
    345346{
    346347    // Here we must delete dynamically-allocated data...
    347     delete [] m_contents;
     348    delete [] r_contents;
    348349}
    349350
     
    353354    // from FSMs to internal data.
    354355    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)
    356357            r_contents[i] = false;
    357             r_vci_fsm = IDLE;
     358        r_vci_fsm = IDLE;
    358359        return;
    359360    }