Last change
on this file since 120 was
82,
checked in by rosiere, 16 years ago
|
- support locale (now must "just" translate)
- update all component with new test format
- update all component with usage
- New component : decod queue and prediction_unit
|
-
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 82 2008-05-01 16:48:45Z rosiere $ |
---|
6 | * |
---|
7 | * [ Description ] |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | #include "Behavioural/Custom/include/Custom.h" |
---|
12 | |
---|
13 | namespace morpheo { |
---|
14 | namespace behavioural { |
---|
15 | namespace custom { |
---|
16 | namespace 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 function_transition |
---|
38 | (morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::execute_register_t * reg, |
---|
39 | morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::execute_param_t * param); |
---|
40 | |
---|
41 | private : static void function_reset |
---|
42 | (morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::execute_register_t * reg, |
---|
43 | morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::execute_param_t * param); |
---|
44 | }; |
---|
45 | |
---|
46 | }; // end namespace random |
---|
47 | }; // end namespace custom |
---|
48 | }; // end namespace behavioural |
---|
49 | }; // end namespace morpheo |
---|
50 | |
---|
51 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.