Changes between Version 104 and Version 105 of Writing Rules/Tlmt
- Timestamp:
- Mar 2, 2009, 5:37:51 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Rules/Tlmt
v104 v105 278 278 279 279 //initialize the local time 280 m_local_time= 0 * UNIT_TIME;280 m_local_time= sc_core::SC_ZERO_TIME; 281 281 282 282 //initialize the activity variable … … 379 379 m_QuantumKeeper.inc(1000 * UNIT_TIME); 380 380 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 388 382 payload_ptr->set_command(tlm::TLM_IGNORE_COMMAND); 389 383 payload_ptr->set_address(address[idx]);