- 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_library_ieee.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_library_ieee" 20 st ring Vhdl::get_library_ieee (uint32_t depth)19 std::string Vhdl::get_library_ieee (uint32_t depth) 21 20 { 22 21 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 23 22 24 st ring tab =string(depth,'\t');25 ostringstream text;23 std::string tab = std::string(depth,'\t'); 24 std::ostringstream text; 26 25 27 text << tab << endl28 << tab << "library ieee;" << endl29 << tab << "use ieee.numeric_bit.all;" << endl30 << tab << "use ieee.numeric_std.all;" << endl31 << tab << "use ieee.std_logic_1164.all;" << endl32 << tab << "use ieee.std_logic_arith.all;" << endl33 << tab << "use ieee.std_logic_misc.all;" << endl34 << tab << "--use ieee.std_logic_signed.all;" <<endl35 << tab << "use ieee.std_logic_unsigned.all;" << endl36 << tab << "--use ieee.std_logic_textio.all;" <<endl;26 text << tab << std::endl 27 << tab << "library ieee;" << std::endl 28 << tab << "use ieee.numeric_bit.all;" << std::endl 29 << tab << "use ieee.numeric_std.all;" << std::endl 30 << tab << "use ieee.std_logic_1164.all;" << std::endl 31 << tab << "use ieee.std_logic_arith.all;" << std::endl 32 << tab << "use ieee.std_logic_misc.all;" << std::endl 33 << tab << "--use ieee.std_logic_signed.all;" << std::endl 34 << tab << "use ieee.std_logic_unsigned.all;" << std::endl 35 << tab << "--use ieee.std_logic_textio.all;" << std::endl; 37 36 38 37 log_printf(FUNC,Behavioural,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.