Changeset 21 for trunk/IPs/systemC/processor
- Timestamp:
- May 9, 2007, 7:52:36 PM (18 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Tools/Viewer
- Files:
-
- 4 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/include/BaseP.h
r20 r21 31 31 32 32 BaseP(); 33 BaseP(BaseP *p); 33 34 ~BaseP (); 34 35 void setComment(string s); -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/src/BaseP_alloc.cpp
r20 r21 15 15 } 16 16 17 BaseP::BaseP(BaseP *p){ 18 *this=p; 19 } 20 17 21 };//end bdd 18 22 };//end viewer -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/include/window.h
r20 r21 14 14 15 15 #include <iostream> 16 #include <cmath> 17 #include <sstream> 16 18 #include <qstring.h> 17 19 #include <qapplication.h> … … 36 38 #include <qtreeview.h> 37 39 #include <qdirmodel.h> 40 #include <qevent.h> 41 38 42 39 43 #include "Tools/Viewer/Parser/include/parser.h" … … 44 48 #define EAST 2 45 49 #define WEST 3 50 51 #define MARGEX 50 52 #define MARGEY 70 46 53 47 54 using namespace morpheo::tools::viewer::parser; … … 62 69 63 70 Window(QString name); 64 void _setParse(Parse *p); 65 void _init_file(); 71 void _setParse(Parse *p); //parse the base 72 void _init_file(); //search component and port before drawing 66 73 private slots: 67 74 68 void _open(); 75 void _open(); //open a file 69 76 void _open_end(); 70 77 void _open_error(); 71 78 72 void _save(); 79 void _save(); //save a file 73 80 void _saveAs(); 74 81 void _saveAsOk(); 75 void _close(); 76 void _quit(); 82 83 void _close(); //close a file 84 85 void _quit(); //quit a file 77 86 void _quit2(); 78 void _zoomIn(); 87 88 void _zoomIn(); //zoom for the architecture view 79 89 void _zoomOut(); 80 90 void _defautZoom(); 81 void _level();82 void _informations();83 void _parameters();84 void _about();85 91 86 private: 92 void _level(); 93 void _informations(); //show or hide informations window 94 void _parameters(); //show or hide parameters window 95 void _about(); //about the programm 96 void _component_name(); //show or hide the components name 97 void _signal_name(); //show or hide the signals name 87 98 88 void wparameters(); 89 void winformations(); 90 void paintEvent( QPaintEvent * ); 91 void repaint(); 92 void drawPort(int x,int y,int pos,string dir); 99 void _back(); 93 100 94 QList <Port> port_east; 101 protected : 102 void mousePressEvent (QMouseEvent *); //mouse handler 103 104 private : 105 void wparameters(); // parameters window builder 106 void winformations(); //informations window builder 107 void paintEvent( QPaintEvent * ); //drawing panel 108 void repaint(); //repaint the panel with current parameters 109 void drawPort(int x,int y,int pos,string dir); //draw the components ports 110 void write_name(string name); //write the name of the component clicked name in the informations window 111 void write_position(int x, int y);//write the position of the position clicked in the informations window 112 void write_size(int x, int y);//write the size of the component clicked in the informations window 113 void write_ports(int x);//write the number of the component clicked in the informations window 114 115 QList <Port> port_east; //ports lists 95 116 QList <Port> port_west; 96 117 QList <Port> port_north; … … 98 119 QList <Component> *compo; 99 120 100 QWidget *wparam; 121 QWidget *wparam;//windows widget (informations, parameters, open, save ...) 101 122 QWidget *winfo; 102 123 QWidget *ws; … … 105 126 QWidget *wa; 106 127 107 Parse *parse; 108 BaseV *base; 109 BaseP p; 110 Entity *entity; 111 Coord *c; 128 QWidget *mess_charg; 129 QWidget *mess; 130 QBoxLayout *informations; //informations box 131 QBoxLayout *parameters; //parameters box 132 133 Parse *parse; //the parser 134 BaseV *base; //the current BaseV 135 BaseP p; //the current BaseP 136 Entity *entity; //entity of current base 137 Coord *c; 112 138 113 139 QPainter painter; … … 115 141 QStatusBar *status; 116 142 117 QLineEdit *file_name; 118 QString current_name; 143 QLineEdit *file_name; //retrieve the name user wants to open from the open window 144 QString current_name; //name of the current file opened 119 145 120 int window_height; 146 /*items of the informations window*/ 147 QLabel *lname; //name of the component clicked 148 QLineEdit *positionX; //x position 149 QLineEdit *positionY;//y position 150 QLineEdit *sizeX;//x size 151 QLineEdit *sizeY;//y size 152 QLineEdit *nb_ports; 153 154 int cpt_ports;//nb ports of component clicked 155 156 int mouseX; //mouse position 157 int mouseY; 158 159 int window_height; //main window size 121 160 int window_width; 122 int panel_heigth; 123 int panel_width; 124 int margeX; 161 int margeX;//size of the marge 125 162 int margeY; 126 int portX; 163 int portX;//port size, position and size of components, used when drawing the architecture 127 164 int portY; 128 165 int posX; … … 131 168 int tailleY; 132 169 133 bool save_as; 170 QString father;//father name 171 QString current;//name of the current architecture visible 172 173 bool save_as; 134 174 bool first_save; 135 bool info_open; 136 bool param_open; 137 bool is_save; 138 bool paint; 139 bool wq_open; 175 bool info_open; //know if the informations window opened or not 176 bool param_open; //know if the parameters window opened or not 177 bool is_save; //know if the file has been saved 178 bool paint; //(re)paint or not 179 bool wq_open; //know if Quit/Open ( 2 windows possible)/Save window is open 140 180 bool wo_open; 141 181 bool ws_open; 142 182 bool wa_open; 143 bool quit_demand; 144 bool file_open; 145 bool is_parse; 183 bool quit_demand;//know if user clicked on "quit" (used for saving file before quit) 184 bool file_open;//know if a file is still open (used if user wants to open another file) 185 bool is_parse;//know is the base has been created 186 bool signalName;//show or hide signals name 187 bool componentName;//show or hide components name 188 bool charg_open;//back chargement message box opened or not 189 bool mess_open;//chargment message box opened or not 190 146 191 }; 147 192 }; -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_drawAll.cpp
r20 r21 15 15 painter.begin(this); 16 16 painter.setPen(Qt::blue); 17 painter.drawRect(margeX,margeY,margeX+450,margeY+450); 17 painter.drawRect(MARGEX,MARGEY,MARGEX+450,MARGEY+450); 18 cpt_ports = 0; 18 19 19 20 for(QList<Port>::iterator it=port_east.begin(); it!=port_east.end(); ++it){ 20 21 portX = it->get_x(); 21 22 portY = it->get_y(); 22 drawPort(portX + margeX,portY + margeY ,EAST,it->getDirection()); 23 drawPort(portX + MARGEX,portY + MARGEY ,EAST,it->getDirection()); 24 cpt_ports++; 23 25 } 24 26 … … 26 28 portX = it->get_x() ; 27 29 portY = it->get_y() ; 28 drawPort(portX + margeX,portY + margeY, WEST, it->getDirection()); 30 drawPort(portX + MARGEX,portY + MARGEY, WEST, it->getDirection()); 31 cpt_ports++; 29 32 } 30 33 … … 32 35 portX = it->get_x() ; 33 36 portY = it->get_y() ; 34 drawPort(portX + margeX ,portY+margeY,NORTH,it->getDirection()); 37 drawPort(portX + MARGEX ,portY+MARGEY,NORTH,it->getDirection()); 38 cpt_ports++; 35 39 } 36 40 … … 38 42 portX = it->get_x() ; 39 43 portY = it->get_y() ; 40 drawPort(portX + margeX,portY+margeY,SOUTH,it->getDirection()); 44 drawPort(portX + MARGEX,portY+MARGEY,SOUTH,it->getDirection()); 45 cpt_ports++; 41 46 } 42 43 47 48 current = "Top Level"; 49 father = " "; 44 50 if(p.getArchitecture()!=NULL){ 45 51 compo = p.getComponent(); 46 52 for(QList<Component>::iterator it=compo->begin();it!=compo->end();++it){ 47 53 Coord *co = it->get_Position(); 48 posX = co->get_hg_x()+ margeX;49 posY = co->get_hg_y()+ margeY;54 posX = co->get_hg_x()+MARGEX; 55 posY = co->get_hg_y()+MARGEY; 50 56 tailleX = co->get_size_x(); 51 57 tailleY = co->get_size_y(); 52 58 painter.drawRect(posX,posY,tailleX,tailleY); 59 if (componentName){ 60 QString compo_name = QString::fromStdString(it->getName()); 61 painter.drawText(posX , posY + tailleY/2,compo_name); 62 } 53 63 Coord *co2=new Coord( co->get_hg_x() + tailleX/2, co->get_hg_y() + tailleY/2,tailleX/2,tailleY/2); 64 54 65 QList<Port> ports2=(it->getPortEast(co2)); 55 66 for (QList<Port>::iterator it2=ports2.begin();it2!=ports2.end();++it2) … … 58 69 portX =it2->get_x(); 59 70 portY =it2->get_y(); 60 drawPort(portX + margeX,portY+margeY , EAST,it2->getDirection());71 drawPort(portX + MARGEX,portY+MARGEY , EAST,it2->getDirection()); 61 72 } 62 73 ports2=(it->getPortWest(co)); … … 66 77 portX =it2->get_x(); 67 78 portY =it2->get_y(); 68 drawPort(portX + margeX ,portY+margeY ,WEST,it2->getDirection());79 drawPort(portX + MARGEX ,portY+MARGEY ,WEST,it2->getDirection()); 69 80 } 70 81 ports2=(it->getPortNorth(co)); … … 74 85 portX =it2->get_x(); 75 86 portY =it2->get_y(); 76 drawPort(portX + margeX ,portY+margeY,NORTH,it2->getDirection());87 drawPort(portX + MARGEX ,portY+MARGEY,NORTH,it2->getDirection()); 77 88 78 89 } … … 83 94 portX =it2->get_x(); 84 95 portY =it2->get_y(); 85 drawPort(portX + margeX ,portY+margeY,SOUTH,it2->getDirection());96 drawPort(portX + MARGEX ,portY+MARGEY,SOUTH,it2->getDirection()); 86 97 87 98 } 88 99 painter.setPen(Qt::red); 89 100 QList<PortMap> *pm=it->getPortMap(); 90 //init_grid();101 91 102 for (QList<PortMap>::iterator it3=pm->begin();it3!=pm->end();++it3) 92 103 { 93 104 Signal *s=base->getSignal(it->getType(),new PortMap(*it3)); 94 painter.drawLine(s->get_src_x()+margeX,s->get_src_y()+margeY,s->get_dest_x()+margeX,s->get_dest_y()+margeY); 95 //p1 = new Point(s->get_src_x()+2*margeX,s->get_src_y()+2*margeY,NULL,FREE,0); 96 //p2 = new Point(s->get_dest_x()+margeX,s->get_dest_y()+margeY,NULL,FREE,0); 97 // grid[p1->getX()][p1->getY()] = p1; 98 //grid[p2->getX()][p2->getY()] = p2; 99 100 101 //drawSignal(p1,p2); 102 //p1 = NULL;p2 = NULL; 105 painter.drawLine(s->get_src_x()+MARGEX,s->get_src_y()+MARGEY,s->get_dest_x()+MARGEX,s->get_dest_y()+MARGEY); 106 107 if(signalName){ 108 QString signal_name = QString::fromStdString(it3->getName()); 109 if(s->get_src_x() > s->get_dest_x()) 110 painter.drawText(s->get_dest_x() + MARGEX - 40 ,s->get_dest_y() + MARGEY-10, signal_name); 111 if(s->get_src_x() < s->get_dest_x()) 112 painter.drawText(s->get_dest_x() + MARGEX - 40 ,s->get_dest_y() + MARGEY-10, signal_name); 113 } 114 103 115 } 116 if(charg_open){ 117 charg_open = false; 118 mess_charg->close(); 119 } 104 120 painter.setPen(Qt::blue); 105 121 } 106 122 } 107 123 painter.end(); 108 109 110 124 } 125 if(mess_open){ 126 mess_open = false; 127 mess->close(); 128 } 111 129 } 112 130 -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_informations_window.cpp
r20 r21 10 10 { 11 11 winfo = new QWidget(); 12 QBoxLayout *informations = new QBoxLayout(QBoxLayout::LeftToRight,0); 13 winfo->resize(200,450); 12 informations = new QBoxLayout(QBoxLayout::TopToBottom,0); 14 13 winfo->setWindowTitle("informations"); 15 winfo->setFixedSize(2 00,620);16 winfo->move(6 08,0);14 winfo->setFixedSize(250,292); 15 winfo->move(678,50); 17 16 winfo->setLayout(informations); 18 17 winfo->show(); 19 18 } 20 19 21 -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_main_window.cpp
r20 r21 12 12 is_parse = false; 13 13 window_height = 620; 14 window_width = 6 00;15 margeX = 50;16 m argeY = 70;17 14 window_width = 620; 15 charg_open = false; 16 mess_open = false; 17 18 18 /*menu bar*/ 19 19 QMenuBar *menu_bar = new QMenuBar(this); … … 78 78 connect(paramAct,SIGNAL(triggered()),this,SLOT(_parameters())); 79 79 80 81 QAction *compoNameAct; 82 compoNameAct = new QAction(tr("&components name"),this); 83 connect(compoNameAct,SIGNAL(triggered()),this,SLOT(_component_name())); 84 85 QAction *signalNameAct; 86 signalNameAct = new QAction(tr("&signals name"),this); 87 connect(signalNameAct,SIGNAL(triggered()),this,SLOT(_signal_name())); 88 80 89 /*add the menu "tools" to the menu bar*/ 81 90 tools = menu_bar->addMenu(tr("&Tools")); 82 tools->addAction(zoomInAct); 83 tools->addAction(zoomOutAct); 84 tools->addAction(defautZoomAct); 85 tools->addAction(levelAct); 91 //tools->addAction(zoomInAct); 92 //tools->addAction(zoomOutAct); 93 //tools->addAction(defautZoomAct); 94 tools->addAction(compoNameAct); 95 tools->addAction(signalNameAct); 96 //tools->addAction(levelAct); 86 97 tools->addAction(infoAct); 87 98 tools->addAction(paramAct); … … 96 107 help->addAction(aboutAct); 97 108 98 99 109 /*add the menu bar to the main window*/ 100 110 this->setMenuWidget(menu_bar); … … 108 118 109 119 /*defaut position*/ 110 this->move( 0,0);120 this->move(50,50); 111 121 112 122 /*main window title*/ … … 130 140 wa_open = false; 131 141 142 signalName = true; 143 componentName = true; 144 132 145 /*file unsaved at init*/ 133 146 save_as = false; -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_parameters_window.cpp
r20 r21 10 10 { 11 11 wparam = new QWidget(); 12 QBoxLayout *parameters = new QBoxLayout(QBoxLayout::LeftToRight,0); 13 wparam->resize(200,450); 12 parameters = new QBoxLayout(QBoxLayout::TopToBottom,0); 14 13 wparam->setWindowTitle("parameters"); 15 wparam->setFixedSize(200,620); 16 wparam->move(816,0); 14 wparam->setFixedSize(250,300); 15 wparam->move(678,370); 16 17 lname = new QLabel(wparam); 18 lname->setText(""); 19 20 QBoxLayout *bpos = new QBoxLayout(QBoxLayout::LeftToRight,0); 21 QLabel *lx = new QLabel(); 22 lx->setText("position x : "); 23 positionX = new QLineEdit(); 24 positionX->setText(""); 25 bpos->addWidget(lx); 26 bpos->addWidget(positionX); 27 28 QBoxLayout *bpos2 = new QBoxLayout(QBoxLayout::LeftToRight,0); 29 QLabel *ly = new QLabel(); 30 ly->setText("position y : "); 31 positionY = new QLineEdit(); 32 positionY->setText(""); 33 bpos2->addWidget(ly); 34 bpos2->addWidget(positionY); 35 36 QBoxLayout *bsize = new QBoxLayout(QBoxLayout::LeftToRight,0); 37 QLabel *sx = new QLabel(); 38 sx->setText("size x : "); 39 sizeX = new QLineEdit(); 40 sizeX->setText(""); 41 bsize->addWidget(sx); 42 bsize->addWidget(sizeX); 43 44 QBoxLayout *bsize2 = new QBoxLayout(QBoxLayout::LeftToRight,0); 45 QLabel *sy = new QLabel(); 46 sy->setText("size y : "); 47 sizeY = new QLineEdit(); 48 sizeY->setText(""); 49 bsize2->addWidget(sy); 50 bsize2->addWidget(sizeY); 51 52 QBoxLayout *bport = new QBoxLayout(QBoxLayout::LeftToRight,0); 53 QLabel *lport = new QLabel(); 54 lport->setText("nb ports : "); 55 nb_ports = new QLineEdit(); 56 nb_ports->setText(""); 57 bport->addWidget(lport); 58 bport->addWidget(nb_ports); 59 60 parameters->addWidget(lname); 61 parameters->addLayout(bpos); 62 parameters->addLayout(bpos2); 63 parameters->addLayout(bsize); 64 parameters->addLayout(bsize2); 65 parameters->addLayout(bport); 66 QPushButton *back = new QPushButton("back",wparam); 67 QPushButton *apply = new QPushButton("apply",wparam); 68 connect(back,SIGNAL(clicked()),this,SLOT(_back())); 69 parameters->addWidget(back); 70 parameters->addWidget(apply); 71 17 72 wparam->setLayout(parameters); 18 73 wparam->show(); 19 74 } 20 75 76 void Window::write_name(string name){ 77 QString n = QString::fromStdString(name); 78 lname->setText(n); 79 80 } 81 82 void Window::write_position(int x, int y){ 83 stringstream out; 84 string str; 85 out << x; 86 str = out.str(); 87 positionX->setText( QString::fromStdString(str)); 88 stringstream out2; 89 string str2; 90 out2 << y; 91 str2 = out2.str(); 92 positionY->setText(QString::fromStdString(str2)); 93 94 } 95 96 void Window::write_size(int x,int y){ 97 stringstream out; 98 string str; 99 out << x; 100 str = out.str(); 101 sizeX->setText(QString::fromStdString(str)); 102 stringstream out2; 103 string str2; 104 out2 << y; 105 str2 = out2.str(); 106 sizeY->setText(QString::fromStdString(str2)); 107 } 108 109 void Window::write_ports(int x){ 110 stringstream out; 111 string str; 112 out << x; 113 str = out.str(); 114 nb_ports->setText(QString::fromStdString(str)); 115 wparam->show(); 116 } 21 117 22 118 -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_setParse.cpp
r20 r21 11 11 if(p) 12 12 parse=p; 13 else 14 cout<<"eee"; 13 15 14 } -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Makefile
r20 r21 1 1 ############################################################################# 2 2 # Makefile for building: bin/Viewer 3 # Generated by qmake (2.01a) (Qt 4.2.2) on: Wed May 2 14:27:2520073 # Generated by qmake (2.01a) (Qt 4.2.2) on: Wed May 9 19:23:22 2007 4 4 # Project: Viewer.pro 5 5 # Template: app app … … 98 98 Parser/src/Parse_open_file.cpp \ 99 99 Graphics/src/Graphics_main.cpp \ 100 Graphics/src/Graphics_window_actions.cpp \ 100 Graphics/src/Graphics_file_actions.cpp \ 101 Graphics/src/Graphics_tools_actions.cpp \ 102 Graphics/src/Graphics_about_actions.cpp \ 101 103 Graphics/src/Graphics_main_window.cpp \ 102 104 Graphics/src/Graphics_informations_window.cpp \ … … 104 106 Graphics/src/Graphics_parameters_window.cpp \ 105 107 Graphics/src/Graphics_setParse.cpp \ 106 Graphics/src/Graphics_drawAll.cpp moc_window.cpp 108 Graphics/src/Graphics_drawAll.cpp \ 109 Graphics/src/Graphics_mouseEvent.cpp moc_window.cpp 107 110 OBJECTS = obj/Architecture_accessors.o \ 108 111 obj/BaseP_accessors.o \ … … 157 160 obj/Parse_open_file.o \ 158 161 obj/Graphics_main.o \ 159 obj/Graphics_window_actions.o \ 162 obj/Graphics_file_actions.o \ 163 obj/Graphics_tools_actions.o \ 164 obj/Graphics_about_actions.o \ 160 165 obj/Graphics_main_window.o \ 161 166 obj/Graphics_informations_window.o \ … … 164 169 obj/Graphics_setParse.o \ 165 170 obj/Graphics_drawAll.o \ 171 obj/Graphics_mouseEvent.o \ 166 172 obj/moc_window.o 167 173 DIST = /dsk/l1/misc/kane/qt-x11-opensource-4.2.2/mkspecs/common/unix.conf \ … … 258 264 dist: 259 265 @$(CHK_DIR_EXISTS) obj/Viewer1.0.0 || $(MKDIR) obj/Viewer1.0.0 260 $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/Viewer1.0.0/ && $(COPY_FILE) --parents Bdd/include/Architecture.h Bdd/include/BaseP.h Bdd/include/BaseV.h Bdd/include/Component.h Bdd/include/Coord.h Bdd/include/Entity.h Bdd/include/ListePorts.h Bdd/include/Port.h Bdd/include/PortMap.h Bdd/include/Signal.h Graphics/include/window.h Parser/include/parser.h obj/Viewer1.0.0/ && $(COPY_FILE) --parents Bdd/src/Architecture_accessors.cpp Bdd/src/BaseP_accessors.cpp Bdd/src/Architecture_addComponent.cpp Bdd/src/Architecture_alloc.cpp Bdd/src/Architecture_searchComponent.cpp Bdd/src/Architecture_unalloc.cpp Bdd/src/BaseP_alloc.cpp Bdd/src/BaseP_unalloc.cpp Bdd/src/BaseV_accessors.cpp Bdd/src/BaseV_addBaseP.cpp Bdd/src/BaseV_addParam.cpp Bdd/src/BaseV_afficheBaseConsole.cpp Bdd/src/BaseV_alloc.cpp Bdd/src/BaseV_searchComponent.cpp Bdd/src/BaseV_unalloc.cpp Bdd/src/Component_accessors.cpp Bdd/src/Component_addPortMap.cpp Bdd/src/Component_alloc.cpp Bdd/src/Component_getPosition.cpp Bdd/src/Component_unalloc.cpp Bdd/src/Coord_alloc.cpp Bdd/src/Coord_unalloc.cpp Bdd/src/Signal_unalloc.cpp Bdd/src/ListePorts_getPortSouth.cpp Bdd/src/Port_accessors.cpp Bdd/src/Signal_alloc.cpp Bdd/src/Port_alloc.cpp Bdd/src/Signal_accessors.cpp Bdd/src/Coord_accessors.cpp Bdd/src/Port_unalloc.cpp Bdd/src/ListePorts_getPortEast.cpp Bdd/src/BaseV_getSignal.cpp Bdd/src/PortMap_alloc.cpp Bdd/src/Entity_alloc.cpp Bdd/src/PortMap_unalloc.cpp Bdd/src/ListePorts_alloc.cpp Bdd/src/PortMap_accessors.cpp Bdd/src/ListePorts_unalloc.cpp Bdd/src/ListePorts_countPort.cpp Bdd/src/ListePorts_getPortWest.cpp Bdd/src/Entity_unalloc.cpp Bdd/src/ListePorts_getPortNorth.cpp Bdd/src/Entity_accessors.cpp Bdd/src/ListePorts_addPort.cpp Bdd/src/ListePorts_accessors.cpp Bdd/src/ListePorts_searchPort.cpp Parser/src/Parse_alloc.cpp Parser/src/Parse_parser_pos.cpp Parser/src/Parse_getBaseV.cpp Parser/src/Parse_unalloc.cpp Parser/src/Parse_open_file.cpp Graphics/src/Graphics_main.cpp Graphics/src/Graphics_ window_actions.cpp Graphics/src/Graphics_main_window.cpp Graphics/src/Graphics_informations_window.cpp Graphics/src/Graphics_drawPort.cpp Graphics/src/Graphics_parameters_window.cpp Graphics/src/Graphics_setParse.cpp Graphics/src/Graphics_drawAll.cpp obj/Viewer1.0.0/ && (cd `dirname obj/Viewer1.0.0` && $(TAR) Viewer1.0.0.tar Viewer1.0.0 && $(COMPRESS) Viewer1.0.0.tar) && $(MOVE) `dirname obj/Viewer1.0.0`/Viewer1.0.0.tar.gz . && $(DEL_FILE) -r obj/Viewer1.0.0266 $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/Viewer1.0.0/ && $(COPY_FILE) --parents Bdd/include/Architecture.h Bdd/include/BaseP.h Bdd/include/BaseV.h Bdd/include/Component.h Bdd/include/Coord.h Bdd/include/Entity.h Bdd/include/ListePorts.h Bdd/include/Port.h Bdd/include/PortMap.h Bdd/include/Signal.h Graphics/include/window.h Parser/include/parser.h obj/Viewer1.0.0/ && $(COPY_FILE) --parents Bdd/src/Architecture_accessors.cpp Bdd/src/BaseP_accessors.cpp Bdd/src/Architecture_addComponent.cpp Bdd/src/Architecture_alloc.cpp Bdd/src/Architecture_searchComponent.cpp Bdd/src/Architecture_unalloc.cpp Bdd/src/BaseP_alloc.cpp Bdd/src/BaseP_unalloc.cpp Bdd/src/BaseV_accessors.cpp Bdd/src/BaseV_addBaseP.cpp Bdd/src/BaseV_addParam.cpp Bdd/src/BaseV_afficheBaseConsole.cpp Bdd/src/BaseV_alloc.cpp Bdd/src/BaseV_searchComponent.cpp Bdd/src/BaseV_unalloc.cpp Bdd/src/Component_accessors.cpp Bdd/src/Component_addPortMap.cpp Bdd/src/Component_alloc.cpp Bdd/src/Component_getPosition.cpp Bdd/src/Component_unalloc.cpp Bdd/src/Coord_alloc.cpp Bdd/src/Coord_unalloc.cpp Bdd/src/Signal_unalloc.cpp Bdd/src/ListePorts_getPortSouth.cpp Bdd/src/Port_accessors.cpp Bdd/src/Signal_alloc.cpp Bdd/src/Port_alloc.cpp Bdd/src/Signal_accessors.cpp Bdd/src/Coord_accessors.cpp Bdd/src/Port_unalloc.cpp Bdd/src/ListePorts_getPortEast.cpp Bdd/src/BaseV_getSignal.cpp Bdd/src/PortMap_alloc.cpp Bdd/src/Entity_alloc.cpp Bdd/src/PortMap_unalloc.cpp Bdd/src/ListePorts_alloc.cpp Bdd/src/PortMap_accessors.cpp Bdd/src/ListePorts_unalloc.cpp Bdd/src/ListePorts_countPort.cpp Bdd/src/ListePorts_getPortWest.cpp Bdd/src/Entity_unalloc.cpp Bdd/src/ListePorts_getPortNorth.cpp Bdd/src/Entity_accessors.cpp Bdd/src/ListePorts_addPort.cpp Bdd/src/ListePorts_accessors.cpp Bdd/src/ListePorts_searchPort.cpp Parser/src/Parse_alloc.cpp Parser/src/Parse_parser_pos.cpp Parser/src/Parse_getBaseV.cpp Parser/src/Parse_unalloc.cpp Parser/src/Parse_open_file.cpp Graphics/src/Graphics_main.cpp Graphics/src/Graphics_file_actions.cpp Graphics/src/Graphics_tools_actions.cpp Graphics/src/Graphics_about_actions.cpp Graphics/src/Graphics_main_window.cpp Graphics/src/Graphics_informations_window.cpp Graphics/src/Graphics_drawPort.cpp Graphics/src/Graphics_parameters_window.cpp Graphics/src/Graphics_setParse.cpp Graphics/src/Graphics_drawAll.cpp Graphics/src/Graphics_mouseEvent.cpp obj/Viewer1.0.0/ && (cd `dirname obj/Viewer1.0.0` && $(TAR) Viewer1.0.0.tar Viewer1.0.0 && $(COMPRESS) Viewer1.0.0.tar) && $(MOVE) `dirname obj/Viewer1.0.0`/Viewer1.0.0.tar.gz . && $(DEL_FILE) -r obj/Viewer1.0.0 261 267 262 268 … … 458 464 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/Graphics_main.o Graphics/src/Graphics_main.cpp 459 465 460 obj/Graphics_window_actions.o: Graphics/src/Graphics_window_actions.cpp Graphics/include/window.h 461 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/Graphics_window_actions.o Graphics/src/Graphics_window_actions.cpp 466 obj/Graphics_file_actions.o: Graphics/src/Graphics_file_actions.cpp Graphics/include/window.h 467 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/Graphics_file_actions.o Graphics/src/Graphics_file_actions.cpp 468 469 obj/Graphics_tools_actions.o: Graphics/src/Graphics_tools_actions.cpp Graphics/include/window.h 470 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/Graphics_tools_actions.o Graphics/src/Graphics_tools_actions.cpp 471 472 obj/Graphics_about_actions.o: Graphics/src/Graphics_about_actions.cpp Graphics/include/window.h 473 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/Graphics_about_actions.o Graphics/src/Graphics_about_actions.cpp 462 474 463 475 obj/Graphics_main_window.o: Graphics/src/Graphics_main_window.cpp Graphics/include/window.h … … 479 491 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/Graphics_drawAll.o Graphics/src/Graphics_drawAll.cpp 480 492 493 obj/Graphics_mouseEvent.o: Graphics/src/Graphics_mouseEvent.cpp Graphics/include/window.h 494 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/Graphics_mouseEvent.o Graphics/src/Graphics_mouseEvent.cpp 495 481 496 obj/moc_window.o: moc_window.cpp 482 497 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_window.o moc_window.cpp -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Viewer.pro
r20 r21 40 40 Bdd/include/Entity.h \ 41 41 Bdd/include/ListePorts.h \ 42 # Bdd/include/ListV.h \43 42 Bdd/include/Port.h \ 44 43 Bdd/include/PortMap.h \ 45 44 Bdd/include/Signal.h \ 46 # Graphics/include/point.h \47 45 Graphics/include/window.h \ 48 46 Parser/include/parser.h … … 100 98 Parser/src/Parse_open_file.cpp \ 101 99 Graphics/src/Graphics_main.cpp \ 102 Graphics/src/Graphics_window_actions.cpp \ 100 Graphics/src/Graphics_file_actions.cpp \ 101 Graphics/src/Graphics_tools_actions.cpp \ 102 Graphics/src/Graphics_about_actions.cpp \ 103 103 Graphics/src/Graphics_main_window.cpp \ 104 104 Graphics/src/Graphics_informations_window.cpp \ … … 106 106 Graphics/src/Graphics_parameters_window.cpp \ 107 107 Graphics/src/Graphics_setParse.cpp \ 108 Graphics/src/Graphics_drawAll.cpp 108 Graphics/src/Graphics_drawAll.cpp \ 109 Graphics/src/Graphics_mouseEvent.cpp 110 -
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/data/Two_Level_Branch_Predictor_Glue.pos
r20 r21 11 11 schema="1" > 12 12 13 <port name="clock"14 localisation="west"15 direction="in">16 Port d'horloge17 </port>18 13 <port name="predict" 19 14 localisation="west"
Note: See TracChangeset
for help on using the changeset viewer.