Changes between Version 14 and Version 15 of Writing Rules/RISC


Ignore:
Timestamp:
Jan 9, 2008, 7:00:29 PM (16 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Rules/RISC

    v14 v15  
    193193    }
    194194
    195     bool frozen = false;
     195    bool frozen = m_iss.isBusy();
    196196   
    197197    if ( m_ins_asked ) {
    198198        if ( p_icache.frz.read() ) frozen = true;
    199         else m_iss.setInstruction(p_icache.berr.read(), p_icache.ins.read())
     199        m_iss.setInstruction(p_icache.berr.read(), p_icache.ins.read())
    200200    }
    201201
     
    203203        if ( p_dcache.frz.read() ) frozen = true;
    204204        m_iss.setRdata(p_dcache.berr.read(), p_dcache.rdata.read());
    205         }
    206 
    207     if ( frozen || m_iss.isBusy() ) {   //  Processor frozen or busy
     205    }
     206
     207    if ( frozen ) {     //  Processor frozen or busy
    208208        m_iss.nullStep();
    209209    } else {                    // Execute one instruction: