Changeset 129 for trunk/modules/vci_synthetic_initator/caba
- Timestamp:
- Jan 18, 2011, 7:04:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_synthetic_initator/caba/sources/src/vci_synthetic_initiator.cpp
r128 r129 319 319 fifo_put = true ; 320 320 fifo_bc = true; 321 if (r_date_fifo.wok()) r_nb_bc = r_nb_bc.read() + 1; 321 if (r_date_fifo.wok()) 322 { 323 r_nb_bc = r_nb_bc.read() + 1; 324 r_cpt_period = 0; 325 } 322 326 } 323 327 else if( ( (uint64_t)(m_rho*r_cpt_cycles.read()) > (uint64_t)(m_length*r_nb_single.read()*1000)) ) … … 327 331 if (r_date_fifo.wok()) r_nb_single = r_nb_single.read() + 1; 328 332 } 333 334 if ( m_bc_period && (r_cpt_period.read() > m_bc_period) && r_data_fifo.wok() ) 335 m_cpt_period = 0; 336 else 337 m_cpt_period = m_cpt_period.read() + 1; 329 338 330 339 //////////////////////// … … 350 359 /////////////////////////// 351 360 r_cpt_cycles = r_cpt_cycles.read() + 1; 352 r_cpt_period = r_cpt_period.read() + 1;353 361 354 362 return;
Note: See TracChangeset
for help on using the changeset viewer.