source: trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Function_pointer.h @ 145

Last change on this file since 145 was 145, checked in by rosiere, 14 years ago

1) add test with SPECINT2K
2) new config of Selftest
3) modif RAT to support multiple depth_save ... but not finish (need fix Update Prediction Table)
4) add Function_pointer but need fix

  • Property svn:keywords set to Id
File size: 759 bytes
Line 
1#ifndef morpheo_behavioural_Function_pointer_h
2#define morpheo_behavioural_Function_pointer_h
3# if 0
4
5/*
6 * $Id: Function_pointer.h 145 2010-10-13 18:15:51Z rosiere $
7 *
8 * [ Description ]
9 *
10 */
11
12#include <list>
13#include "systemc.h"
14
15namespace morpheo     {
16namespace behavioural {
17 
18  typedef void(sc_process_host::*f_t)(void);
19
20  class Function_pointer
21  {
22  private : std::list<f_t> * _transition;
23  private : std::list<f_t> * _genMoore  ;
24
25  public  :       Function_pointer (void);
26  public  :      ~Function_pointer (void);
27  public  : void transition_add    (f_t f);
28  public  : void transition_exec   (void);
29  public  : void genMoore_add      (f_t f);
30  public  : void genMoore_exec     (void);
31  };
32
33}; // end namespace behavioural         
34}; // end namespace morpheo             
35
36# endif
37#endif
Note: See TracBrowser for help on using the repository browser.