- Timestamp:
- Jan 19, 2008, 12:09:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_get_architecture.cpp
r43 r71 11 11 12 12 #include <sstream> 13 using namespace std;14 13 15 14 namespace morpheo { … … 18 17 #undef FUNCTION 19 18 #define FUNCTION "Vhdl::get_architecture" 20 st ring Vhdl::get_architecture (uint32_t depth ,21 st ring name ,22 st ring entity_name)19 std::string Vhdl::get_architecture (uint32_t depth , 20 std::string name , 21 std::string entity_name) 23 22 { 24 23 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 25 24 26 st ring tab =string(depth,'\t');27 ostringstream text;25 std::string tab = std::string(depth,'\t'); 26 std::ostringstream text; 28 27 29 text << tab << "architecture " << name << " of " << entity_name << " is" << endl30 << tab << get_type (depth+1) << endl31 << tab << get_signal (depth+1) << endl32 << tab << get_alias (depth+1) << endl33 << tab << "begin" << endl34 << tab << get_body (depth+1) << endl35 << tab << "end " << name << ";" << endl;28 text << tab << "architecture " << name << " of " << entity_name << " is" << std::endl 29 << tab << get_type (depth+1) << std::endl 30 << tab << get_signal (depth+1) << std::endl 31 << tab << get_alias (depth+1) << std::endl 32 << tab << "begin" << std::endl 33 << tab << get_body (depth+1) << std::endl 34 << tab << "end " << name << ";" << std::endl; 36 35 37 36 log_printf(FUNC,Behavioural,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.