- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Model.h
r112 r113 40 40 public : model_type_t get_type (std::string component); 41 41 public : debug_verbosity_t get_debug (std::string component); 42 public : void print (void); 42 43 }; 43 44 44 45 }; // end namespace behavioural 46 47 template<> inline std::string toString<morpheo::behavioural::model_type_t>(const morpheo::behavioural::model_type_t& x) 48 { 49 switch (x) 50 { 51 case morpheo::behavioural::MODEL_SYSTEMC : return "systemc" ; break; 52 case morpheo::behavioural::MODEL_VHDL : return "vhdl" ; break; 53 default : return ""; break; 54 } 55 }; 45 56 46 57 template<> inline morpheo::behavioural::model_type_t fromString<morpheo::behavioural::model_type_t>(const std::string& x)
Note: See TracChangeset
for help on using the changeset viewer.