- 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_package.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_package" 20 st ring Vhdl::get_package(uint32_t depth ,21 st ring filename ,22 st ring package_name,23 st ring entity_name )19 std::string Vhdl::get_package(uint32_t depth , 20 std::string filename , 21 std::string package_name, 22 std::string entity_name ) 24 23 { 25 24 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 26 25 27 st ring tab =string(depth,'\t');28 ostringstream text;26 std::string tab = std::string(depth,'\t'); 27 std::ostringstream text; 29 28 30 text << tab << get_header (depth,filename) << endl31 << tab << get_library_ieee (depth) << endl32 << tab << "package " << package_name << " is" << endl33 << tab << get_component (depth+1,entity_name) << endl34 << tab << "end " << package_name << ";" << endl;29 text << tab << get_header (depth,filename) << std::endl 30 << tab << get_library_ieee (depth) << std::endl 31 << tab << "package " << package_name << " is" << std::endl 32 << tab << get_component (depth+1,entity_name) << std::endl 33 << tab << "end " << package_name << ";" << std::endl; 35 34 36 35 log_printf(FUNC,Behavioural,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.