source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_fifo_save_ptr.cpp @ 146

Last change on this file since 146 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 619 bytes
Line 
1/*
2 * $Id: Interface_fifo_save_ptr.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interface_fifo.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13  void Interface_fifo::save_ptr (Signal *  signal ,
14                                 val_ack_t val_ack)
15  {
16    log_printf(FUNC,Behavioural,"save_ptr","Begin");
17   
18#ifdef VHDL_TESTBENCH
19    _test_exhaustive = false;
20#endif
21
22    if (val_ack == VAL)
23      _list_signal_val->push_back (signal);
24    else
25      _list_signal_ack->push_back (signal);
26
27    log_printf(FUNC,Behavioural,"save_ptr","End");
28  };
29
30}; // end namespace behavioural         
31}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.