- Timestamp:
- Jul 8, 2009, 8:40:08 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/SelfTest/src/test.cpp
r120 r131 59 59 cout << "------------------------------------------------------" << endl; 60 60 61 Instance * instance = new Instance ("../../../Files/Instance_x2_w1_6.cfg", 61 Instance * instance = new Instance ("../../../Files/Instance_x4_w8_1.cfg", 62 generator1, 63 _get_custom_information 64 ); 65 instance->toFile("data_out"); 66 67 delete instance; 68 } 69 70 { 71 cout << "------------------------------------------------------" << endl; 72 73 Instance * instance = new Instance ("../../../Files/Instance_x4_w8_2.cfg", 62 74 generator1, 63 75 _get_custom_information -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Generator_toXML.cpp
r88 r131 7 7 8 8 #include "Behavioural/Configuration/include/Generator.h" 9 #include "Common/include/Basename.h" 9 10 10 11 namespace morpheo { … … 16 17 XML Generator::toXML (void) 17 18 { 18 XML xml (basename(_filename .c_str()));19 xml.filename_extension(" ");19 XML xml (basename(_filename,false).c_str()); 20 xml.filename_extension("gen"); 20 21 21 22 xml.balise_open("parameters"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Instance_toXML.cpp
r88 r131 7 7 8 8 #include "Behavioural/Configuration/include/Instance.h" 9 #include "Common/include/Basename.h" 9 10 10 11 namespace morpheo { … … 16 17 XML Instance::toXML (void) 17 18 { 18 XML xml (basename(_filename .c_str()));19 xml.filename_extension(" ");19 XML xml (basename(_filename,false).c_str()); 20 xml.filename_extension("cfg"); 20 21 21 22 xml.balise_open_begin("core"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Simulator_toXML.cpp
r88 r131 7 7 8 8 #include "Behavioural/Configuration/include/Simulator.h" 9 #include "Common/include/Basename.h" 9 10 10 11 namespace morpheo { … … 16 17 XML Simulator::toXML (void) 17 18 { 18 XML xml (basename(_filename .c_str()));19 xml.filename_extension(" ");19 XML xml (basename(_filename,false).c_str()); 20 xml.filename_extension("sim"); 20 21 21 22 xml.balise_open("parameters");
Note: See TracChangeset
for help on using the changeset viewer.