Last change
on this file since 76 was
72,
checked in by rosiere, 17 years ago
|
- SystemC de l'unite fonctionnelle.
- gestion des groupes / instructions custom
|
File size:
1.8 KB
|
Rev | Line | |
---|
[72] | 1 | #ifndef morpheo_behavioural_custom_random_h |
---|
| 2 | #define morpheo_behavioural_custom_random_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id$ |
---|
| 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 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.