Changeset 101 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue_genMoore.cpp
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue_genMoore.cpp
r100 r101 20 20 log_printf(FUNC,Queue,FUNCTION,"Begin"); 21 21 22 //--------------------------------------------- 22 23 // Output 24 //--------------------------------------------- 23 25 internal_INSERT_ACK = not _queue_control->full(); 24 26 internal_RETIRE_VAL = not _queue_control->empty(); … … 28 30 PORT_WRITE(out_RETIRE_DATA,_queue_data[(*_queue_control)[0]]); 29 31 32 //--------------------------------------------- 30 33 // Slot 34 //--------------------------------------------- 31 35 // Note : Slot 0 is the same slot as retire interface. 32 36 uint32_t nb_elt = _queue_control->nb_elt(); … … 37 41 PORT_WRITE(out_SLOT_DATA [i],_queue_data[(*_queue_control)[i]]); 38 42 } 43 44 //--------------------------------------------- 45 // Pointer 46 //--------------------------------------------- 47 if (_param->_have_port_ptr_write) 48 PORT_WRITE(out_PTR_WRITE, _queue_control->ptr_push()); 49 if (_param->_have_port_ptr_read ) 50 PORT_WRITE(out_PTR_READ , _queue_control->ptr_pop ()); 39 51 40 52 log_printf(FUNC,Queue,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.