1 | #ifndef morpheo_behavioural_Types_h |
---|
2 | #define morpheo_behavioural_Types_h |
---|
3 | |
---|
4 | #include "Common/include/Types.h" |
---|
5 | #include "Behavioural/include/Constants.h" |
---|
6 | |
---|
7 | namespace morpheo { |
---|
8 | namespace behavioural { |
---|
9 | |
---|
10 | //============================================ |
---|
11 | // Type definition |
---|
12 | //============================================ |
---|
13 | |
---|
14 | // ***** general |
---|
15 | typedef bool Tcontrol_t; |
---|
16 | typedef uint8_t Toperation_t; |
---|
17 | //typedef uint8_t Tdestination1_t; |
---|
18 | //typedef uint8_t Tdestination2_t; |
---|
19 | //typedef uint8_t Texec_flag_t; |
---|
20 | //typedef bool Texec_excep_t; |
---|
21 | //typedef uint8_t Tcondition_t; |
---|
22 | //typedef uint8_t Tbranch_state_t; |
---|
23 | |
---|
24 | typedef uint8_t Texception_t; |
---|
25 | typedef uint8_t Tcontext_t; |
---|
26 | typedef uint8_t Tpacket_t; |
---|
27 | typedef uint8_t Ttype_t; |
---|
28 | |
---|
29 | // ***** Register |
---|
30 | typedef uint8_t Tgeneral_address_t; |
---|
31 | typedef uint32_t Tgeneral_data_t; |
---|
32 | typedef uint8_t Tspecial_address_t; |
---|
33 | typedef uint32_t Tspecial_data_t; |
---|
34 | |
---|
35 | // ***** component dependant |
---|
36 | // ~~~~~ load store queue |
---|
37 | typedef uint8_t Taccess_t; |
---|
38 | typedef uint8_t Tlsq_ptr_t; |
---|
39 | typedef uint32_t Tdcache_address_t; |
---|
40 | typedef uint32_t Tdcache_data_t; |
---|
41 | typedef bool Tdcache_error_t; |
---|
42 | typedef uint8_t Tdcache_type_t; |
---|
43 | |
---|
44 | }; // end namespace behavioural |
---|
45 | }; // end namespace morpheo |
---|
46 | |
---|
47 | #endif |
---|