Changeset 44 for trunk/IPs/systemC/processor/Morpheo/Behavioural/include
- Timestamp:
- Jul 17, 2007, 4:47:56 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/include
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Component.h
r42 r44 18 18 //#include "Behavioural/include/Description.h" 19 19 #include "Behavioural/include/Entity.h" 20 #include " Include/ToString.h"21 #include " Include/Debug.h"20 #include "Common/include/ToString.h" 21 #include "Common/include/Debug.h" 22 22 23 23 using namespace std; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Configuration_Parameters.h
r40 r44 13 13 #include "Behavioural/include/XML.h" 14 14 #include "Behavioural/include/Environnement.h" 15 #include " Include/ErrorMorpheo.h"16 #include " Include/ToString.h"15 #include "Common/include/ErrorMorpheo.h" 16 #include "Common/include/ToString.h" 17 17 using namespace std; 18 18 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Debug_component.h
r41 r44 2 2 #define DEBUG_COMPONENT_H 3 3 4 #define DEBUG_Behavioural false4 #define DEBUG_Behavioural true 5 5 #define DEBUG_Generic false 6 6 #define DEBUG_Counter false -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Direction.h
r42 r44 2 2 #define morpheo_behavioural_Direction_h 3 3 4 #include " Include/ToString.h"4 #include "Common/include/ToString.h" 5 5 6 6 namespace morpheo { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Entity.h
r42 r44 15 15 #include "Behavioural/include/Interfaces.h" 16 16 #include "Behavioural/include/Schema.h" 17 #include " Include/ErrorMorpheo.h"18 #include " Include/ToString.h"19 #include " Include/Debug.h"17 #include "Common/include/ErrorMorpheo.h" 18 #include "Common/include/ToString.h" 19 #include "Common/include/Debug.h" 20 20 21 21 using namespace std; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Interface.h
r42 r44 22 22 #include "Behavioural/include/Vhdl.h" 23 23 #endif 24 #include " Include/ToString.h"25 #include " Include/ErrorMorpheo.h"26 #include " Include/Debug.h"24 #include "Common/include/ToString.h" 25 #include "Common/include/ErrorMorpheo.h" 26 #include "Common/include/Debug.h" 27 27 28 28 using namespace std; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Interfaces.h
r42 r44 13 13 #include <list> 14 14 #include "Behavioural/include/Interface_fifo.h" 15 #include " Include/ToString.h"16 #include " Include/Debug.h"15 #include "Common/include/ToString.h" 16 #include "Common/include/Debug.h" 17 17 #ifdef VHDL 18 18 #include "Behavioural/include/Vhdl.h" -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Localisation.h
r42 r44 3 3 #define morpheo_behavioural_Localisation_h 4 4 5 #include " Include/ToString.h"5 #include "Common/include/ToString.h" 6 6 7 7 namespace morpheo { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Parameters.h
r43 r44 14 14 #include "Behavioural/Constant/Constant_OpenRISC.h" 15 15 #include "Behavioural/include/Environnement.h" 16 #include " Include/ErrorMorpheo.h"17 #include " Include/ToString.h"18 #include " Include/Debug.h"16 #include "Common/include/ErrorMorpheo.h" 17 #include "Common/include/ToString.h" 18 #include "Common/include/Debug.h" 19 19 20 20 using namespace morpheo::behavioural::constant; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Schema.h
r31 r44 4 4 #define morpheo_behavioural_Schema_h 5 5 6 #include " Include/ToString.h"6 #include "Common/include/ToString.h" 7 7 8 8 namespace morpheo { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Signal.h
r42 r44 22 22 #include "Behavioural/include/Direction.h" 23 23 #include "Behavioural/include/XML.h" 24 #include " Include/ErrorMorpheo.h"25 #include " Include/ToBase2.h"26 #include " Include/ToString.h"27 #include " Include/Debug.h"24 #include "Common/include/ErrorMorpheo.h" 25 #include "Common/include/ToBase2.h" 26 #include "Common/include/ToString.h" 27 #include "Common/include/Debug.h" 28 28 29 29 using namespace std; … … 58 58 private : const presence_port_t _presence_port; 59 59 60 private : Signal * _signal ; 61 private : bool _is_allocate ; 62 private : void * _sc_signal ; 63 private : bool _is_map ; 64 private : void * _sc_signal_map; 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 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 65 66 private : type_info_t _type_info ; 66 67 … … 79 80 public : string get_name (void); 80 81 public : uint32_t get_size (void); 81 public : Signal * get_signal_link (void); 82 public : bool get_is_map (void); 83 public : Signal * get_connect_to_signal (void); 84 public : Signal * get_connect_from_signal (void); 85 public : direction_t get_direction (void); 82 86 83 87 public : bool presence_vhdl (void); 84 88 public : bool presence_testbench (void); 85 89 86 public : void mapping (Signal * signal); 87 public : void link (Signal * signal); 90 // public : void mapping (Signal * signal); 91 public : void link (Signal * signal , 92 bool is_port_component); 88 93 89 94 #ifdef SYSTEMC … … 127 132 } 128 133 134 #undef FUNCTION 135 #define FUNCTION "Signal::alloc" 129 136 public : template <typename T> 130 void alloc (void * port) 131 { 137 void alloc (void * sc_signal) 138 { 139 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 140 132 141 if (_type_info != UNKNOW) 133 142 throw (ErrorMorpheo ("Signal \""+_name+"\" : already allocate.")); 134 143 135 _is_allocate = true; 136 _sc_signal = port; 137 _sc_signal_map = port; 144 _is_allocate = true; 145 _sc_signal = sc_signal; 146 _sc_signal_map = sc_signal; 147 148 log_printf(TRACE,Behavioural,FUNCTION, "Allocation of %s - %.8x", _name.c_str(), (uint32_t)(_sc_signal_map)); 138 149 139 150 if (typeid(T) == typeid(bool )) … … 153 164 else 154 165 _type_info = UNKNOW; 166 167 log_printf(FUNC,Behavioural,FUNCTION,"End"); 155 168 } 156 169 #endif -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Statistics.h
r40 r44 15 15 #include "Behavioural/include/Environnement.h" 16 16 #include "Behavioural/include/Parameters_Statistics.h" 17 #include " Include/Average.h"18 #include " Include/Percent.h"17 #include "Common/include/Average.h" 18 #include "Common/include/Percent.h" 19 19 20 20 using namespace std; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Vhdl.h
r40 r44 16 16 #include "Behavioural/include/Environnement.h" 17 17 #include "Behavioural/include/Direction.h" 18 #include " Include/ToString.h"19 #include " Include/Debug.h"18 #include "Common/include/ToString.h" 19 #include "Common/include/Debug.h" 20 20 21 21 using namespace std; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/XML.h
r43 r44 13 13 #include <math.h> 14 14 #include <list> 15 #include " Include/ToString.h"16 #include " Include/Debug.h"15 #include "Common/include/ToString.h" 16 #include "Common/include/Debug.h" 17 17 18 18 using namespace std;
Note: See TracChangeset
for help on using the changeset viewer.