Changeset 62 for trunk/IPs/systemC/processor/Morpheo/Behavioural/include
- Timestamp:
- Dec 4, 2007, 2:31:54 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/include
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Component.h
r57 r62 38 38 { 39 39 public : Tinstance_t _instance; 40 public : Entity 40 public : Entity * _entity ; 41 41 } Tcomponent_t; 42 42 … … 74 74 75 75 private : Entity * find_entity (string name); 76 77 Entity * entity);76 //private : Interface * find_interface (string name , 77 // Entity * entity); 78 78 79 79 #ifdef VHDL … … 81 81 #endif 82 82 83 84 private : Signal * signal_internal (Entity * entity_productor, 85 Signal * signal_productor); 86 83 87 public : void port_map (string component_src , 84 88 string port_src , 85 89 string component_dest, 86 90 string port_dest ); 91 public : void port_map (string component_src , 92 string port_src ); 93 94 public : bool test_map (void); 87 95 88 96 #ifdef POSITION -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Constants.h
r59 r62 131 131 #define EXCEPTION_MEMORY_BUS_ERROR 0x4 // Access at a invalid physical address 132 132 #define EXCEPTION_MEMORY_MISS_SPECULATION 0x5 // Load miss speculation 133 134 //==================================================[ dcache_type ]===== 135 # define DCACHE_LOAD 0x0 // 0000 136 # define DCACHE_LOCK 0x1 // 0001 137 # define DCACHE_INVALIDATE 0x2 // 0010 138 # define DCACHE_PREFETCH 0x3 // 0011 139 //#define DCACHE_ 0x4 // 0100 140 //#define DCACHE_ 0x5 // 0101 141 # define DCACHE_FLUSH 0x6 // 0110 142 # define DCACHE_SYNCHRONIZATION 0x7 // 0111 143 144 # define DCACHE_STORE_8 0x8 // 1000 145 # define DCACHE_STORE_16 0x9 // 1001 146 # define DCACHE_STORE_32 0xa // 1010 147 # define DCACHE_STORE_64 0xb // 1011 148 //#define DCACHE_ 0xc // 1100 149 //#define DCACHE_ 0xd // 1101 150 //#define DCACHE_ 0xe // 1110 151 //#define DCACHE_ 0xf // 1111 152 153 154 // just take the 4 less significative bits. 155 #define operation_to_dcache_type(x) (x&0xf) 133 156 134 157 /* -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Debug_component.h
r56 r62 25 25 #define DEBUG_Read_queue false 26 26 #define DEBUG_Reservation_station false 27 #define DEBUG_Register_unit true 28 #define DEBUG_Register_unit_Glue false 27 29 #define DEBUG_Multi_Front_end false 28 30 #define DEBUG_Front_end false -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Entity.h
r57 r62 80 80 #endif 81 81 82 public : bool test_map (bool top_level); 83 82 84 #ifdef POSITION 83 85 public : XML toXML (void); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Interface.h
r57 r62 22 22 #include "Behavioural/include/Vhdl.h" 23 23 #endif 24 #include "Common/include/ChangeCase.h" 24 25 #include "Common/include/ToString.h" 25 26 #include "Common/include/ErrorMorpheo.h" … … 230 231 #endif 231 232 233 public : bool test_map (bool top_level); 234 232 235 #ifdef POSITION 233 236 public : void interface_map (void * entity, -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Interfaces.h
r57 r62 80 80 public : XML toXML_mapping (void); 81 81 #endif 82 83 public : bool test_map (bool top_level); 84 82 85 public : friend ostream& operator<< (ostream& output_stream, 83 86 morpheo::behavioural::Interfaces & x); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Parameters.h
r59 r62 15 15 #include "Common/include/ErrorMorpheo.h" 16 16 #include "Common/include/ToString.h" 17 #include "Common/include/Log2.h" 17 18 #include "Common/include/Debug.h" 18 19 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Signal.h
r59 r62 53 53 54 54 // -----[ fields ]---------------------------------------------------- 55 private : const string _name ;56 private : const direction_t _direction ;57 private : const uint32_t _size ;58 private : const presence_port_t _presence_port ;55 private : const string _name ; 56 private : const direction_t _direction ; 57 private : const uint32_t _size ; 58 private : const presence_port_t _presence_port ; 59 59 60 60 private : Signal * _connect_to_signal; // the actual implementaion, this signal link with one signal (but if signal is an output, it can be connect with many signal ...) 61 61 private : Signal * _connect_from_signal; // producter of signal. If NULL, then producteur is the current entity 62 private : bool _is_allocate ; // Have allocate a sc_in or sc_out port 63 private : void * _sc_signal ; // sc_in or sc_out associated at this signal 64 private : bool _is_map ; 65 private : void * _sc_signal_map; // sc_out generated this signal 66 private : type_info_t _type_info ; 62 private : bool _is_allocate ; // Have allocate a sc_in or sc_out port 63 private : void * _sc_signal ; // sc_in or sc_out associated at this signal 64 private : void * _sc_signal_map ; // sc_out generated this signal 65 private : bool _is_map_as_src ; 66 private : bool _is_map_as_dest; 67 private : type_info_t _type_info ; 67 68 68 69 #ifdef VHDL_TESTBENCH 69 private : list<string> * _list_value ;70 private : list<string> * _list_value ; 70 71 #endif 71 72 … … 78 79 public : ~Signal (); 79 80 80 public : string get_name (void); 81 public : uint32_t get_size (void); 82 public : bool get_is_map (void); 83 public : Signal * get_connect_to_signal (void); 81 public : string get_name (void); 82 public : uint32_t get_size (void); 83 public : Signal * get_connect_to_signal (void); 84 84 public : Signal * get_connect_from_signal (void); 85 public : direction_t get_direction (void); 86 87 public : bool presence_vhdl (void); 88 public : bool presence_testbench (void); 89 90 // public : void mapping (Signal * signal); 91 public : void link (Signal * signal , 92 bool is_port_component); 85 public : direction_t get_direction (void); 86 public : type_info_t get_type_info (void); 87 88 public : bool presence_vhdl (void); 89 public : bool presence_testbench (void); 90 91 public : bool test_map (bool top_level); 92 93 public : void link (Signal * signal_dest, 94 bool signal_dest_is_port); 95 96 public : void connect (Signal * signal_dest); 93 97 94 98 #ifdef SYSTEMC
Note: See TracChangeset
for help on using the changeset viewer.