- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component.cpp
r88 r113 29 29 _name (name) 30 30 ,_param (param) 31 ,_usage (usage)32 31 { 33 32 log_begin(@COMPONENT,FUNCTION); 34 33 35 usage_environment(_usage); 34 _usage = usage_environment(usage); 35 36 #ifdef MODELSIM_COSIMULATION 37 if (_model.get_type(_param->_type) == MODEL_VHDL) 38 { 39 _usage = usage_cosimulation(_usage); 40 } 41 #endif 36 42 37 43 log_printf(INFO,@COMPONENT,FUNCTION,_("<%s> : Allocation"),_name.c_str()); … … 63 69 64 70 #ifdef SYSTEMC 65 if (usage_is_set(_usage,USE_SYSTEMC ))71 if (usage_is_set(_usage,USE_SYSTEMC_BODY)) 66 72 { 67 73 log_printf(INFO,@COMPONENT,FUNCTION,_("<%s> : Method - transition"),_name.c_str()); … … 85 91 // # endif 86 92 93 } 87 94 #endif 88 } 95 89 96 log_end(@COMPONENT,FUNCTION); 90 97 }; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_allocation.cpp
r82 r113 10 10 #include "Common/include/Max.h" 11 11 12 namespace morpheo 12 namespace morpheo { 13 13 namespace behavioural { 14 14 @NAMESPACE_BEGIN … … 30 30 31 31 Entity * entity = _component->set_entity (_name 32 , "@COMPONENT"32 ,_param->_type 33 33 #ifdef POSITION 34 34 ,COMBINATORY … … 58 58 #endif 59 59 60 #ifdef MODELSIM_COSIMULATION 61 if (usage_is_set(_usage,USE_COSIMULATION)) 62 { 63 log_printf(INFO,Execute_queue,FUNCTION,_("<%s> : Create Wrapper"),_name.c_str()); 64 65 _wrapper = new Wrapper_@COMPONENT (_name.c_str(),"morpheo_behavioural","work"); 66 } 67 #endif 68 60 69 log_end(@COMPONENT,FUNCTION); 61 70 }; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_deallocation.cpp
r82 r113 19 19 log_begin(@COMPONENT,FUNCTION); 20 20 21 if (usage_is_set(_usage,USE_SYSTEMC))22 { 23 delete in_CLOCK;24 delete in_NRESET;21 // if (usage_is_set(_usage,USE_SYSTEMC_INTERFACE)) 22 { 23 DELETE0_SIGNAL( in_CLOCK ,1); 24 DELETE0_SIGNAL( in_NRESET,1); 25 25 } 26 26 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 27 28 28 delete _component; 29 30 #ifdef MODELSIM_COSIMULATION 31 if (usage_is_set(_usage,USE_COSIMULATION)) 32 { 33 delete _wrapper; 34 } 35 #endif 29 36 30 37 log_end(@COMPONENT,FUNCTION); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_statistics_allocation.cpp
r82 r113 20 20 21 21 _stat = new Stat (static_cast<std::string>(_name), 22 "@COMPONENT",22 _param->_type, 23 23 param_statistics); 24 24 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/Parameters.cpp
r88 r113 14 14 #undef FUNCTION 15 15 #define FUNCTION "@COMPONENT::Parameters" 16 Parameters::Parameters (bool is_toplevel) 16 Parameters::Parameters (bool is_toplevel): 17 behavioural::Parameters ("@COMPONENT") 17 18 { 18 19 log_begin(@COMPONENT,FUNCTION); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/Parameters_msg_error.cpp
r82 r113 20 20 log_begin(@COMPONENT,FUNCTION); 21 21 22 Parameters_test test ( "@COMPONENT");22 Parameters_test test (_type); 23 23 24 24 log_end(@COMPONENT,FUNCTION);
Note: See TracChangeset
for help on using the changeset viewer.