source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue_Control/src/Queue_Control_ptr.cpp @ 102

Last change on this file since 102 was 102, checked in by rosiere, 15 years ago

Previous commit with new files :P

  • Property svn:keywords set to Id
File size: 873 bytes
Line 
1#include "Behavioural/Generic/Queue_Control/include/Queue_Control.h"
2
3namespace morpheo {
4namespace behavioural {
5namespace generic {
6namespace queue_control {
7
8#undef  FUNCTION
9#define FUNCTION "Queue_Control::ptr_pop"
10  uint32_t Queue_Control::ptr_pop (uint32_t index)
11  {
12    log_printf(FUNC,Queue_Control,FUNCTION,"Begin");
13       
14    uint32_t _return = (*_tab)[index];
15
16    log_printf(FUNC,Queue_Control,FUNCTION,"End");
17   
18    return _return;
19  };
20
21#undef  FUNCTION
22#define FUNCTION "Queue_Control::ptr_push"
23  uint32_t Queue_Control::ptr_push (void)
24  {
25    log_printf(FUNC,Queue_Control,FUNCTION,"Begin");
26       
27    uint32_t _return = (*_tab)[_nb_elt];
28
29    log_printf(FUNC,Queue_Control,FUNCTION,"End");
30   
31    return _return;
32  };
33
34}; // end namespace queue_control
35}; // end namespace generic
36}; // end namespace behavioural
37}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.