Changeset 33 for trunk/IPs/systemC/processor/Morpheo/Tools
- Timestamp:
- May 30, 2007, 6:21:04 PM (18 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Tools/Viewer
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/src/BaseP_alloc.cpp
r21 r33 15 15 } 16 16 17 BaseP::BaseP(BaseP *p){18 *this=p;19 }17 // BaseP::BaseP(BaseP *p){ 18 // *this=p; 19 // } 20 20 21 21 };//end bdd -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/src/BaseV_modify.cpp
r32 r33 28 28 position_tab=position_tab_init; 29 29 else 30 for(position_tab=position_tab_init ; level<groups->operator[](position_tab+1).getLevel();position_tab++);31 //cout << position_tab << " " << position_tab_init<<endl;30 for(position_tab=position_tab_init ;position_tab+1<groups->size()&&level<groups->operator[](position_tab+1).getLevel();position_tab++); 31 cout << position_tab << " " << position_tab_init<<endl; 32 32 //create a new group and add 33 33 for(i=position_tab;i>=position_tab_init;i--) … … 55 55 } 56 56 } 57 groups->insert(position_tab+1,*g); 58 listgroup->insert(position_tab+1,g->getName()); 57 groups->insert(position_tab+1,*g); 58 listgroup->insert(position_tab+1,g->getName()); 59 59 60 delete g; 60 61 -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/src/BaseV_searchComponent.cpp
r32 r33 13 13 int tmp=listcomp->indexOf(v,0); 14 14 if(tmp == -1) 15 return NULL;15 return BaseP(); 16 16 else 17 17 return pos->operator[](tmp); -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_file_actions.cpp
r32 r33 13 13 QString current2; 14 14 if(!file_open && is_save){//if no file open or if the file opened has been saved -> open other file, else -> ask for saving file 15 current2 = QFileDialog::getOpenFileName(this,"", "./data" );15 current2 = QFileDialog::getOpenFileName(this,"", "./data",tr("(*.pos)")); 16 16 this->setDisabled(true); 17 17 /*if a file has been opened*/ … … 79 79 repaint(); 80 80 display_param(); 81 wparam->close(); 82 this->_parameters(); 83 this->_parameters(); 81 84 this->setDisabled(false); 82 85 setMouseTracking(true); … … 98 101 wa->close(); 99 102 if(save_as){//if "save as" 100 current_name = QFileDialog::getSaveFileName(this,"","./data" );103 current_name = QFileDialog::getSaveFileName(this,"","./data",tr("(*.cfg)")); 101 104 save_as = false; 102 105 parse->save_file(current_name.toStdString(),0); -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_parameters_window.cpp
r32 r33 50 50 scpu.append(" \n"); 51 51 cpu ->setText(QString::fromStdString(scpu)); 52 cpu->setFixedSize(3 00,50);52 cpu->setFixedSize(350,50); 53 53 pbox->addWidget(cpu); 54 54 … … 235 235 cout << "value : " << v << endl; 236 236 param = obj.section(":",1,1); 237 //cout << "param : " << param.toStdString() << endl;237 cout << "param : " << param.toStdString() << endl; 238 238 239 239 base->modifyValue(group.toStdString(),param.toStdString(),v); … … 252 252 QString obj = QObject::sender()->objectName(); 253 253 int v,j; 254 //cout << "name : " << obj.toStdString() << endl;254 cout << "name : " << obj.toStdString() << endl; 255 255 v = i; 256 256 //cout << "value : " << v << endl; … … 263 263 exit(1); 264 264 } 265 265 266 wparam->close(); 266 267 apply_display = false; -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Parser/src/Parse_save.cpp
r32 r33 3 3 * type: 0 ->user save a file 4 4 * 1 ->function apply() temporary save 5 * experimental function !!! 5 6 */ 6 7 #include "Tools/Viewer/Parser/include/parser.h" … … 133 134 ts << " </front_end>" <<endl <<endl; 134 135 } 136 if((it+1)!=g->end() && (it+1)->getName()=="front_end" && (it)->getName()=="decod") 137 { 138 ts << " </decod_unit>" <<endl <<endl; 139 ts << " </front_end>" <<endl <<endl; 140 } 135 141 if((it+1)!=g->end() && (it+1)->getName()=="execution_loop" && (it)->getName()=="commit") 136 142 ts << " </out_of_order_engine>" <<endl <<endl;
Note: See TracChangeset
for help on using the changeset viewer.