source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Custom/include/Random.h @ 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: 1.8 KB
Line 
1#ifndef morpheo_behavioural_custom_random_h
2#define morpheo_behavioural_custom_random_h
3
4/*
5 * $Id: Random.h 81 2008-04-15 18:40:01Z rosiere $
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Behavioural/Custom/include/Custom.h"
12
13namespace morpheo {
14namespace behavioural {
15namespace custom {
16namespace random {
17
18  enum 
19    {
20      num_register_random,
21      num_register_cst1  ,
22      num_register_cst2  , 
23      num_register_max   
24    };
25
26  class Random
27  {
28  public  : Random (uint32_t num_group);
29   
30  public  : uint32_t                      get_nb_register               (void);
31  public  : access_mode_t                 get_access_mode               (uint32_t     reg);
32  public  : custom_decod_t              * get_custom_decod              (Toperation_t operation);
33  public  : custom_execute_genMoore_t   * get_custom_execute_genMoore   (Toperation_t operation);
34  public  : custom_execute_transition_t * get_custom_execute_transition (void);
35  public  : custom_execute_transition_t * get_custom_execute_reset      (void);
36
37  private : static void Random::function_transition (morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::execute_register_t  * reg,
38                                                      morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::execute_param_t     * param);
39  private : static void Random::function_reset      (morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::execute_register_t  * reg,
40                                                      morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::execute_param_t     * param);
41    };
42 
43}; // end namespace random
44}; // end namespace custom
45}; // end namespace behavioural
46}; // end namespace morpheo             
47
48#endif
Note: See TracBrowser for help on using the repository browser.