Changeset 75 for trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_testbench_generate_file.cpp
- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_testbench_generate_file.cpp
r66 r75 18 18 19 19 Vhdl * vhdl = new Vhdl(_name+"_Testbench"); 20 st ring counter = "counter";20 std::string counter = "counter"; 21 21 Signal * clock = this->get_clock(); 22 22 Signal * reset = this->get_reset(); 23 st ring clock_name = clock->get_name();24 st ring reset_name = reset->get_name();23 std::string clock_name = clock->get_name(); 24 std::string reset_name = reset->get_name(); 25 25 uint32_t cycle = this->get_cycle(); 26 26 … … 36 36 vhdl->set_body(""); 37 37 38 list<string> * list_signal = new list<string>;38 std::list<std::string> * list_signal = new std::list<std::string>; 39 39 this->get_signal (list_signal); 40 40 … … 43 43 vhdl->set_body("port map ("); 44 44 45 list<string>::iterator i = list_signal->begin();45 std::list<std::string>::iterator i = list_signal->begin(); 46 46 if (i != list_signal->end()) 47 47 { … … 58 58 delete list_signal; 59 59 60 st ring test_name = this->testbench_body(vhdl,counter, reset_name);60 std::string test_name = this->testbench_body(vhdl,counter, reset_name); 61 61 62 62 vhdl->set_body("");
Note: See TracChangeset
for help on using the changeset viewer.