source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_fifo_testbench_cycle.cpp @ 81

Last change on this file since 81 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: 622 bytes
Line 
1#ifdef VHDL_TESTBENCH
2/*
3 * $Id: Interface_fifo_testbench_cycle.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/include/Interface_fifo.h"
10#include "Behavioural/include/Entity.h"
11
12namespace morpheo              {
13namespace behavioural          {
14
15  void Interface_fifo::testbench_cycle (void)
16  {
17    log_printf(FUNC,Behavioural,"testbench_cycle","Begin");
18
19    // note : if defined(VHDL_TESTBENCH) then defined(SYSTEMC)
20    _list_cycle->push_back(static_cast<uint32_t>(sc_simulation_time()));
21
22    log_printf(FUNC,Behavioural,"testbench_cycle","End");
23  }
24
25}; // end namespace behavioural         
26}; // end namespace morpheo             
27#endif
Note: See TracBrowser for help on using the repository browser.