1 | #ifndef morpheo_behavioural_custom_Custom_h |
---|
2 | #define morpheo_behavioural_custom_Custom_h |
---|
3 | |
---|
4 | /* |
---|
5 | * $Id$ |
---|
6 | * |
---|
7 | * [ Description ] |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | #include "Common/include/ToString.h" |
---|
12 | #include "Common/include/Debug.h" |
---|
13 | #include "Common/include/ErrorMorpheo.h" |
---|
14 | #include "Behavioural/include/Types.h" |
---|
15 | #include "Behavioural/include/Usage.h" |
---|
16 | #include "Behavioural/include/Constants.h" |
---|
17 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/include/Types.h" |
---|
18 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/include/Operation.h" |
---|
19 | |
---|
20 | namespace morpheo { |
---|
21 | namespace behavioural { |
---|
22 | namespace custom { |
---|
23 | |
---|
24 | // TODO get_custom_vhdl |
---|
25 | // TODO : complete the custom_decod_t type |
---|
26 | typedef uint32_t custom_decod_t; |
---|
27 | |
---|
28 | typedef morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::function_execute_t custom_execute_genMoore_t; |
---|
29 | |
---|
30 | typedef morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::functionnal_unit::function_execute_end_cycle_t custom_execute_transition_t; |
---|
31 | |
---|
32 | typedef morpheo::behavioural::spr_access_mode_t access_mode_t; |
---|
33 | |
---|
34 | typedef struct |
---|
35 | { |
---|
36 | bool (*_get_valid_group) (uint32_t); |
---|
37 | uint32_t (*_get_nb_register) (uint32_t); |
---|
38 | access_mode_t (*_get_access_mode) (uint32_t, uint32_t); |
---|
39 | custom_decod_t * (*_get_custom_decod) (uint32_t); |
---|
40 | custom_execute_genMoore_t * (*_get_custom_execute_genMoore) (uint32_t); |
---|
41 | custom_execute_transition_t * (*_get_custom_execute_transition) (uint32_t); |
---|
42 | custom_execute_transition_t * (*_get_custom_execute_reset) (uint32_t); |
---|
43 | } custom_information_t; |
---|
44 | |
---|
45 | }; // end namespace custom |
---|
46 | }; // end namespace behavioural |
---|
47 | }; // end namespace morpheo |
---|
48 | |
---|
49 | #endif |
---|