Changes between Version 104 and Version 105 of Writing Rules/Tlmt


Ignore:
Timestamp:
Mar 2, 2009, 5:37:51 PM (15 years ago)
Author:
alinevieiramello@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Rules/Tlmt

    v104 v105  
    278278
    279279  //initialize the local time
    280   m_local_time= 0 * UNIT_TIME;
     280  m_local_time= sc_core::SC_ZERO_TIME;
    281281 
    282282  //initialize the activity variable
     
    379379    m_QuantumKeeper.inc(1000 * UNIT_TIME);
    380380   
    381     for(unsigned int i=0, j=0; i<nwords; i++, j+=4){
    382       utoa(byte_enable_enabled, byte_enable, j);
    383       utoa(data_int[i], data, j);
    384       data_int[i]++;
    385     }
    386 
    387     // set the values in tlm payload
     381     // set the values in tlm payload
    388382    payload_ptr->set_command(tlm::TLM_IGNORE_COMMAND);
    389383    payload_ptr->set_address(address[idx]);