From 68ff532e7d7aad2eca86628f8017add6b9efc233 Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Mon, 2 Feb 2004 16:45:52 +0000 Subject: [PATCH] GPL --- alliance/src/ocp/src/common/PBBox.cpp | 26 +++ alliance/src/ocp/src/common/PBBox.h | 32 +++- alliance/src/ocp/src/common/PCommon.cpp | 26 +++ alliance/src/ocp/src/common/PCommon.h | 26 +++ alliance/src/ocp/src/common/PConstants.h | 26 +++ alliance/src/ocp/src/common/PContainer.h | 26 +++ alliance/src/ocp/src/common/PPos.cpp | 26 +++ alliance/src/ocp/src/common/PPos.h | 32 +++- alliance/src/ocp/src/placer/Ocp.cpp | 27 +++ alliance/src/ocp/src/placer/PBin.cpp | 26 +++ alliance/src/ocp/src/placer/PBin.h | 26 +++ alliance/src/ocp/src/placer/PCon.cpp | 26 +++ alliance/src/ocp/src/placer/PCon.h | 26 +++ alliance/src/ocp/src/placer/PDetPlacement.cpp | 26 +++ alliance/src/ocp/src/placer/PDetPlacement.h | 26 +++ alliance/src/ocp/src/placer/PDetSubRow.cpp | 26 +++ alliance/src/ocp/src/placer/PDetSubRow.h | 26 +++ .../src/ocp/src/placer/PDetToPlaceIns.cpp | 26 +++ alliance/src/ocp/src/placer/PDetToPlaceIns.h | 26 +++ alliance/src/ocp/src/placer/PElem.cpp | 26 +++ alliance/src/ocp/src/placer/PElem.h | 26 +++ alliance/src/ocp/src/placer/PFixedIns.cpp | 26 +++ alliance/src/ocp/src/placer/PFixedIns.h | 26 +++ alliance/src/ocp/src/placer/PIns.cpp | 26 +++ alliance/src/ocp/src/placer/PIns.h | 26 +++ alliance/src/ocp/src/placer/PMove.cpp | 167 +++++++++++------- alliance/src/ocp/src/placer/PMove.h | 50 ++++-- alliance/src/ocp/src/placer/PNet.cpp | 26 +++ alliance/src/ocp/src/placer/PNet.h | 30 +++- alliance/src/ocp/src/placer/PONet.cpp | 26 +++ alliance/src/ocp/src/placer/PONet.h | 26 +++ alliance/src/ocp/src/placer/PPlacement.cpp | 26 +++ alliance/src/ocp/src/placer/PPlacement.h | 26 +++ .../src/ocp/src/placer/PPlacementFinal.cpp | 26 +++ .../src/ocp/src/placer/PPlacementGlobal.cpp | 26 +++ alliance/src/ocp/src/placer/PRow.cpp | 26 +++ alliance/src/ocp/src/placer/PRow.h | 26 +++ alliance/src/ocp/src/placer/PSubRow.cpp | 26 +++ alliance/src/ocp/src/placer/PSubRow.h | 26 +++ alliance/src/ocp/src/placer/PToPlaceIns.cpp | 26 +++ alliance/src/ocp/src/placer/PToPlaceIns.h | 26 +++ alliance/src/ocp/src/placer/iocgram.y | 26 +++ alliance/src/ocp/src/placer/iocheader.h | 26 +++ alliance/src/ocp/src/placer/iocscan.l | 26 +++ 44 files changed, 1241 insertions(+), 85 deletions(-) diff --git a/alliance/src/ocp/src/common/PBBox.cpp b/alliance/src/ocp/src/common/PBBox.cpp index 0356b4a1..39f8fe3b 100644 --- a/alliance/src/ocp/src/common/PBBox.cpp +++ b/alliance/src/ocp/src/common/PBBox.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PBBox.h" PBBox& diff --git a/alliance/src/ocp/src/common/PBBox.h b/alliance/src/ocp/src/common/PBBox.h index 218ee32f..7f98fe73 100644 --- a/alliance/src/ocp/src/common/PBBox.h +++ b/alliance/src/ocp/src/common/PBBox.h @@ -1,5 +1,31 @@ -#ifndef __PBBox_h -#define __PBBox_h +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ +#ifndef __PBBOX_H +#define __PBBOX_H #include #include @@ -79,4 +105,4 @@ inline ostream& operator<<(ostream& os, const PBBox* bbox) return bbox ? bbox->Print(os) : os << ("nil"); } -#endif /* P_BBox_h */ +#endif /* P_BBOX_H */ diff --git a/alliance/src/ocp/src/common/PCommon.cpp b/alliance/src/ocp/src/common/PCommon.cpp index 2e5532ce..b40d3aef 100644 --- a/alliance/src/ocp/src/common/PCommon.cpp +++ b/alliance/src/ocp/src/common/PCommon.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PCommon.h" #include #include diff --git a/alliance/src/ocp/src/common/PCommon.h b/alliance/src/ocp/src/common/PCommon.h index 769b48b9..002d2124 100644 --- a/alliance/src/ocp/src/common/PCommon.h +++ b/alliance/src/ocp/src/common/PCommon.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PCOMMON_H #define __PCOMMON_H diff --git a/alliance/src/ocp/src/common/PConstants.h b/alliance/src/ocp/src/common/PConstants.h index 2f8caa29..66e7f82e 100644 --- a/alliance/src/ocp/src/common/PConstants.h +++ b/alliance/src/ocp/src/common/PConstants.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PCONSTANTS_H #define __PCONSTANTS_H diff --git a/alliance/src/ocp/src/common/PContainer.h b/alliance/src/ocp/src/common/PContainer.h index 9803cf23..f426ad09 100644 --- a/alliance/src/ocp/src/common/PContainer.h +++ b/alliance/src/ocp/src/common/PContainer.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PContainer_h #define __PContainer_h diff --git a/alliance/src/ocp/src/common/PPos.cpp b/alliance/src/ocp/src/common/PPos.cpp index f66b6657..9ee280ec 100644 --- a/alliance/src/ocp/src/common/PPos.cpp +++ b/alliance/src/ocp/src/common/PPos.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PPos.h" #include diff --git a/alliance/src/ocp/src/common/PPos.h b/alliance/src/ocp/src/common/PPos.h index e75180f8..783077bd 100644 --- a/alliance/src/ocp/src/common/PPos.h +++ b/alliance/src/ocp/src/common/PPos.h @@ -1,5 +1,31 @@ -#ifndef T_POS_H -#define T_POS_H +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ +#ifndef __PPOS_H +#define __PPOS_H #include using namespace std; @@ -52,4 +78,4 @@ inline ostream& operator<<(ostream& os, const PPos* pos) return pos ? pos->Print(os) : os << "(nil)"; } -#endif /* T_POS_H */ +#endif /* __PPOS_H */ diff --git a/alliance/src/ocp/src/placer/Ocp.cpp b/alliance/src/ocp/src/placer/Ocp.cpp index 7f5c7743..5ab07a0a 100644 --- a/alliance/src/ocp/src/placer/Ocp.cpp +++ b/alliance/src/ocp/src/placer/Ocp.cpp @@ -1,3 +1,30 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ + #include #include #include diff --git a/alliance/src/ocp/src/placer/PBin.cpp b/alliance/src/ocp/src/placer/PBin.cpp index 3b9390d9..2f53ce43 100644 --- a/alliance/src/ocp/src/placer/PBin.cpp +++ b/alliance/src/ocp/src/placer/PBin.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include #include using namespace std; diff --git a/alliance/src/ocp/src/placer/PBin.h b/alliance/src/ocp/src/placer/PBin.h index 2bdd4034..67c02c15 100644 --- a/alliance/src/ocp/src/placer/PBin.h +++ b/alliance/src/ocp/src/placer/PBin.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PBIN_H #define __PBIN_H diff --git a/alliance/src/ocp/src/placer/PCon.cpp b/alliance/src/ocp/src/placer/PCon.cpp index 53664aa8..2f45cecb 100644 --- a/alliance/src/ocp/src/placer/PCon.cpp +++ b/alliance/src/ocp/src/placer/PCon.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "mut.h" #include "mph.h" diff --git a/alliance/src/ocp/src/placer/PCon.h b/alliance/src/ocp/src/placer/PCon.h index df59ab0a..153a64dc 100644 --- a/alliance/src/ocp/src/placer/PCon.h +++ b/alliance/src/ocp/src/placer/PCon.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PCON_H #define __PCON_H diff --git a/alliance/src/ocp/src/placer/PDetPlacement.cpp b/alliance/src/ocp/src/placer/PDetPlacement.cpp index 69527ce0..c1147015 100644 --- a/alliance/src/ocp/src/placer/PDetPlacement.cpp +++ b/alliance/src/ocp/src/placer/PDetPlacement.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PBin.h" #include "PPlacement.h" diff --git a/alliance/src/ocp/src/placer/PDetPlacement.h b/alliance/src/ocp/src/placer/PDetPlacement.h index e4bf688c..8cfdb003 100644 --- a/alliance/src/ocp/src/placer/PDetPlacement.h +++ b/alliance/src/ocp/src/placer/PDetPlacement.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PDETPLACEMENT_H #define __PDETPLACEMENT_H diff --git a/alliance/src/ocp/src/placer/PDetSubRow.cpp b/alliance/src/ocp/src/placer/PDetSubRow.cpp index da22cf78..bee9147b 100644 --- a/alliance/src/ocp/src/placer/PDetSubRow.cpp +++ b/alliance/src/ocp/src/placer/PDetSubRow.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include using namespace std; diff --git a/alliance/src/ocp/src/placer/PDetSubRow.h b/alliance/src/ocp/src/placer/PDetSubRow.h index feea1df9..7a8aeb0c 100644 --- a/alliance/src/ocp/src/placer/PDetSubRow.h +++ b/alliance/src/ocp/src/placer/PDetSubRow.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PDETSUBROW_H #define __PDETSUBROW_H diff --git a/alliance/src/ocp/src/placer/PDetToPlaceIns.cpp b/alliance/src/ocp/src/placer/PDetToPlaceIns.cpp index 8c57e52d..61a1146b 100644 --- a/alliance/src/ocp/src/placer/PDetToPlaceIns.cpp +++ b/alliance/src/ocp/src/placer/PDetToPlaceIns.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include using namespace std; diff --git a/alliance/src/ocp/src/placer/PDetToPlaceIns.h b/alliance/src/ocp/src/placer/PDetToPlaceIns.h index 085517a1..15231c11 100644 --- a/alliance/src/ocp/src/placer/PDetToPlaceIns.h +++ b/alliance/src/ocp/src/placer/PDetToPlaceIns.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PDETTOPLACEINS_H #define __PDETTOPLACEINS_H diff --git a/alliance/src/ocp/src/placer/PElem.cpp b/alliance/src/ocp/src/placer/PElem.cpp index b0052d58..9d7adaef 100644 --- a/alliance/src/ocp/src/placer/PElem.cpp +++ b/alliance/src/ocp/src/placer/PElem.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PNet.h" #include "PElem.h" diff --git a/alliance/src/ocp/src/placer/PElem.h b/alliance/src/ocp/src/placer/PElem.h index 056b27a5..cd01ca18 100644 --- a/alliance/src/ocp/src/placer/PElem.h +++ b/alliance/src/ocp/src/placer/PElem.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PELEM_H #define __PELEM_H diff --git a/alliance/src/ocp/src/placer/PFixedIns.cpp b/alliance/src/ocp/src/placer/PFixedIns.cpp index fe1b4c7e..ef08997c 100644 --- a/alliance/src/ocp/src/placer/PFixedIns.cpp +++ b/alliance/src/ocp/src/placer/PFixedIns.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PConstants.h" #include "PFixedIns.h" diff --git a/alliance/src/ocp/src/placer/PFixedIns.h b/alliance/src/ocp/src/placer/PFixedIns.h index 49d93ae2..b61d93b7 100644 --- a/alliance/src/ocp/src/placer/PFixedIns.h +++ b/alliance/src/ocp/src/placer/PFixedIns.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PFIXEDINS_H #define __PFIXEDINS_H diff --git a/alliance/src/ocp/src/placer/PIns.cpp b/alliance/src/ocp/src/placer/PIns.cpp index ec6e5108..f2b00d0f 100644 --- a/alliance/src/ocp/src/placer/PIns.cpp +++ b/alliance/src/ocp/src/placer/PIns.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "mut.h" #include "mph.h" diff --git a/alliance/src/ocp/src/placer/PIns.h b/alliance/src/ocp/src/placer/PIns.h index 2dd93f22..26e07441 100644 --- a/alliance/src/ocp/src/placer/PIns.h +++ b/alliance/src/ocp/src/placer/PIns.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PINS_H #define __PINS_H diff --git a/alliance/src/ocp/src/placer/PMove.cpp b/alliance/src/ocp/src/placer/PMove.cpp index 27fa5a01..cbf6573d 100644 --- a/alliance/src/ocp/src/placer/PMove.cpp +++ b/alliance/src/ocp/src/placer/PMove.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include #include using namespace std; @@ -25,17 +51,28 @@ PositionRand(const double Position, const double Distance, const double Max, con } PMove::PMove(PPlacement& placement) - : Placement(placement) - , SrcIns(0) - , DstIns(0) -{ -} + : _placement(placement) +, _srcIns (NULL) + , _srcBin(NULL) + , _srcBinInitCost(0.0) + , _srcSubRow(NULL) + , _srcRow(NULL) + , _srcRowInitCost(0.0) + , _srcWidth(0.0) + , _dstBin(NULL) + , _dstBinInitCost(0.0) + , _dstSubRow(NULL) + , _dstRow(NULL) + , _dstRowInitCost(0.0) + , _dstIns(NULL) + , _dstWidth(0.0) +{} double PMove::GetDeltaRowCost() { - double DeltaRowCost = -SrcRowInitCost; - DeltaRowCost -= DstRowInitCost; + double DeltaRowCost = -_srcRowInitCost; + DeltaRowCost -= _dstRowInitCost; DeltaRowCost += Abs(_srcSubRow->GetCapa() - _srcSubRow->GetSize()); DeltaRowCost += Abs(_dstSubRow->GetCapa() - _dstSubRow->GetSize()); return DeltaRowCost; @@ -44,10 +81,10 @@ PMove::GetDeltaRowCost() double PMove::GetDeltaBinCost() { - double DeltaBinCost = -SrcBinInitCost; - DeltaBinCost -= DstBinInitCost; - DeltaBinCost += Abs(SrcBin->GetCapa() - SrcBin->GetSize()); - DeltaBinCost += Abs(DstBin->GetCapa() - DstBin->GetSize()); + double DeltaBinCost = -_srcBinInitCost; + DeltaBinCost -= _dstBinInitCost; + DeltaBinCost += Abs(_srcBin->GetCapa() - _srcBin->GetSize()); + DeltaBinCost += Abs(_dstBin->GetCapa() - _dstBin->GetSize()); return DeltaBinCost; } @@ -61,20 +98,20 @@ PMove::GetDeltaNetCost() // Find affected nets // ================== - AffectedNets.clear(); + _affectedNets.clear(); - for (PIns::PNets::const_iterator net = SrcIns->GetNets().begin(); net != SrcIns->GetNets().end(); ++net) - AffectedNets[static_cast(*net)] = PONetSrc; + for (PIns::PNets::const_iterator net = _srcIns->GetNets().begin(); net != _srcIns->GetNets().end(); ++net) + _affectedNets[static_cast(*net)] = PONetSrc; - if (DstIns != NULL) - for (PIns::PNets::const_iterator net = DstIns->GetNets().begin(); net != DstIns->GetNets().end(); ++net) + if (_dstIns != NULL) + for (PIns::PNets::const_iterator net = _dstIns->GetNets().begin(); net != _dstIns->GetNets().end(); ++net) { PONet* ponet = static_cast(*net); - if (AffectedNets.find(ponet) == AffectedNets.end()) - AffectedNets[ponet] = PONetDst; + if (_affectedNets.find(ponet) == _affectedNets.end()) + _affectedNets[ponet] = PONetDst; else - AffectedNets[ponet] = PONetSrcDst; + _affectedNets[ponet] = PONetSrcDst; } // Compute delta @@ -82,13 +119,13 @@ PMove::GetDeltaNetCost() double Delta = 0; - for (map::iterator it = AffectedNets.begin(); it != AffectedNets.end(); ++it) { + for (map::iterator it = _affectedNets.begin(); it != _affectedNets.end(); ++it) { PONet* net = (*it).first; unsigned Flag = (*it).second; if (Flag == PONetSrc) { net->TempBBox() = net->CurrentBBox(); - if (net->TempBBox().Update(SrcBin->GetPos(), DstBin->GetPos()).Empty()) { + if (net->TempBBox().Update(_srcBin->GetPos(), _dstBin->GetPos()).Empty()) { for (vector::iterator elem = net->GetElems().begin(); elem != net->GetElems().end(); ++elem) { net->TempBBox().Merge((*elem)->GetPos()); } @@ -97,7 +134,7 @@ PMove::GetDeltaNetCost() double width = net->TempBBox().GetWidth(); if (width == 0.0) { - width = SrcBin->GetWidth() / 2.0; + width = _srcBin->GetWidth() / 2.0; } net->TempCost() = net->TempBBox().GetHeight() + width; @@ -114,13 +151,13 @@ PMove::GetDeltaNetCost() cout << " check_bbox = " << check_bbox << endl; cout << " TempBBox = " << net->TempBBox() << endl; cout << " CurrentBBox = " << net->CurrentBBox() << endl; - cout << " SrcPos = " << SrcBin->GetPos() << endl; - cout << " DstPos = " << DstBin->GetPos() << endl; + cout << " SrcPos = " << _srcBin->GetPos() << endl; + cout << " DstPos = " << _dstBin->GetPos() << endl; } #endif } else if (Flag == PONetDst) { net->TempBBox() = net->CurrentBBox(); - if (net->TempBBox().Update(DstBin->GetPos(), SrcBin->GetPos()).Empty()) { + if (net->TempBBox().Update(_dstBin->GetPos(), _srcBin->GetPos()).Empty()) { for (vector::iterator elem = net->GetElems().begin(); elem != net->GetElems().end(); ++elem) { net->TempBBox().Merge((*elem)->GetPos()); } @@ -128,7 +165,7 @@ PMove::GetDeltaNetCost() double width = net->TempBBox().GetWidth(); if (width == 0.0) { - width = DstBin->GetWidth() / 2.0; + width = _dstBin->GetWidth() / 2.0; } net->TempCost() = net->TempBBox().GetHeight() + width; Delta += net->TempCost() - net->CurrentCost(); @@ -144,8 +181,8 @@ PMove::GetDeltaNetCost() cout << " check_bbox = " << check_bbox << endl; cout << " TempBBox = " << net->TempBBox() << endl; cout << " CurrentBBox = " << net->CurrentBBox() << endl; - cout << " SrcPos = " << DstBin->GetPos() << endl; - cout << " DstPos = " << SrcBin->GetPos() << endl; + cout << " SrcPos = " << _dstBin->GetPos() << endl; + cout << " DstPos = " << _srcBin->GetPos() << endl; } #endif } @@ -157,14 +194,14 @@ PMove::GetDeltaNetCost() void PMove::Move() { - if (DstIns == NULL) { - SrcBin->RemoveIns(SrcIns); - DstBin->AddIns(SrcIns); + if (_dstIns == NULL) { + _srcBin->RemoveIns(_srcIns); + _dstBin->AddIns(_srcIns); } else { - SrcBin->RemoveIns(SrcIns); - DstBin->AddIns(SrcIns); - DstBin->RemoveIns(DstIns); - SrcBin->AddIns(DstIns); + _srcBin->RemoveIns(_srcIns); + _dstBin->AddIns(_srcIns); + _dstBin->RemoveIns(_dstIns); + _srcBin->AddIns(_dstIns); } } @@ -180,53 +217,53 @@ PMove::Next(double Dist) do { PPos SrcPos; double DstX; - SrcIns = NULL; - DstIns = NULL; + _srcIns = NULL; + _dstIns = NULL; MoveCondition = true; - SrcIns = &Placement.GetRandIns(); - SrcBin = &(SrcIns->GetBin()); - _srcSubRow = SrcBin->GetSubRow(); + _srcIns = &_placement.GetRandIns(); + _srcBin = &(_srcIns->GetBin()); + _srcSubRow = _srcBin->GetSubRow(); _srcRow = _srcSubRow->GetRow(); - SrcPos = SrcBin->GetPos(); - SrcWidth = SrcIns->GetWidth(); - SrcBinInitCost = Abs(SrcBin->GetCapa() - SrcBin->GetSize()); - SrcRowInitCost = Abs(_srcSubRow->GetCapa() - _srcSubRow->GetSize()); + SrcPos = _srcBin->GetPos(); + _srcWidth = _srcIns->GetWidth(); + _srcBinInitCost = Abs(_srcBin->GetCapa() - _srcBin->GetSize()); + _srcRowInitCost = Abs(_srcSubRow->GetCapa() - _srcSubRow->GetSize()); - _dstRow = &Placement.GetRow(_srcRow, Dist); + _dstRow = &_placement.GetRow(_srcRow, Dist); DstX = PositionRand(SrcPos.GetX(), Dist, _dstRow->GetMaxX(), _dstRow->GetMinX()); _dstSubRow = &(_dstRow->GetSubRow(DstX)); - DstBin = &(_dstSubRow->GetBin(DstX)); + _dstBin = &(_dstSubRow->GetBin(DstX)); - DstBinInitCost = Abs(DstBin->GetCapa() - DstBin->GetSize()); - DstRowInitCost = Abs(_dstSubRow->GetCapa() - _dstSubRow->GetSize()); + _dstBinInitCost = Abs(_dstBin->GetCapa() - _dstBin->GetSize()); + _dstRowInitCost = Abs(_dstSubRow->GetCapa() - _dstSubRow->GetSize()); - if (DstBin == SrcBin) + if (_dstBin == _srcBin) MoveCondition = false; - if (DstBin->UnderOccupied(Placement.GetMargin())) { + if (_dstBin->UnderOccupied(_placement.GetMargin())) { // Le bin destination est sous-occupé // On déplace l'instance - if (_dstSubRow->GetMax() - _dstSubRow->GetSize() < SrcWidth) + if (_dstSubRow->GetMax() - _dstSubRow->GetSize() < _srcWidth) MoveCondition = false; } else { - DstIns = DstBin->GetToPlaceInss().front(); - DstWidth = DstIns->GetWidth(); - if (_srcSubRow->GetMax() - _srcSubRow->GetSize() < DstWidth - SrcWidth) + _dstIns = _dstBin->GetToPlaceInss().front(); + _dstWidth = _dstIns->GetWidth(); + if (_srcSubRow->GetMax() - _srcSubRow->GetSize() < _dstWidth - _srcWidth) MoveCondition = false; - if (_dstSubRow->GetMax() - _dstSubRow->GetSize() < SrcWidth - DstWidth) + if (_dstSubRow->GetMax() - _dstSubRow->GetSize() < _srcWidth - _dstWidth) MoveCondition = false; } if (!MoveCondition) ++nbrefused; - if (nbrefused > (unsigned)(1.5 * Placement.GetNInsToPlace())) + if (nbrefused > (unsigned)(1.5 * _placement.GetNInsToPlace())) return false; } while (!MoveCondition); // Deplace les instances // ===================== - DstBin->IncrNbHits(); + _dstBin->IncrNbHits(); Move(); return true; @@ -237,7 +274,7 @@ void PMove::Accept() { // Sauvegarde des cout des nets - for (map::iterator it = AffectedNets.begin(); it != AffectedNets.end(); ++it) { + for (map::iterator it = _affectedNets.begin(); it != _affectedNets.end(); ++it) { PONet* net = (*it).first; unsigned Flag = (*it).second; @@ -250,13 +287,13 @@ PMove::Accept() void PMove::Reject() { - if (DstIns == NULL) { - DstBin->RemoveIns(SrcIns); - SrcBin->AddIns(SrcIns); + if (_dstIns == NULL) { + _dstBin->RemoveIns(_srcIns); + _srcBin->AddIns(_srcIns); } else { - SrcBin->RemoveIns(DstIns); - DstBin->AddIns(DstIns); - DstBin->RemoveIns(SrcIns); - SrcBin->AddIns(SrcIns); + _srcBin->RemoveIns(_dstIns); + _dstBin->AddIns(_dstIns); + _dstBin->RemoveIns(_srcIns); + _srcBin->AddIns(_srcIns); } } diff --git a/alliance/src/ocp/src/placer/PMove.h b/alliance/src/ocp/src/placer/PMove.h index 4e946696..e920121f 100644 --- a/alliance/src/ocp/src/placer/PMove.h +++ b/alliance/src/ocp/src/placer/PMove.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PMove_h #define __PMove_h @@ -8,25 +34,25 @@ class PMove { private: - PPlacement& Placement; + PPlacement& _placement; - PToPlaceIns* SrcIns; - PBin* SrcBin; - double SrcBinInitCost; + PToPlaceIns* _srcIns; + PBin* _srcBin; + double _srcBinInitCost; PSubRow* _srcSubRow; PRow* _srcRow; - double SrcRowInitCost; - double SrcWidth; + double _srcRowInitCost; + double _srcWidth; - PBin* DstBin; - double DstBinInitCost; + PBin* _dstBin; + double _dstBinInitCost; PSubRow* _dstSubRow; PRow* _dstRow; - double DstRowInitCost; - PToPlaceIns* DstIns; - double DstWidth; + double _dstRowInitCost; + PToPlaceIns* _dstIns; + double _dstWidth; - map AffectedNets; + map _affectedNets; public: PMove(PPlacement& placement); diff --git a/alliance/src/ocp/src/placer/PNet.cpp b/alliance/src/ocp/src/placer/PNet.cpp index a0d95103..9d954fa2 100644 --- a/alliance/src/ocp/src/placer/PNet.cpp +++ b/alliance/src/ocp/src/placer/PNet.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PElem.h" #include "PNet.h" diff --git a/alliance/src/ocp/src/placer/PNet.h b/alliance/src/ocp/src/placer/PNet.h index eb19bc0e..285f55e3 100644 --- a/alliance/src/ocp/src/placer/PNet.h +++ b/alliance/src/ocp/src/placer/PNet.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PNET_H #define __PNET_H @@ -29,10 +55,10 @@ class PNet { PElems& GetElems() { return _elems; } const PElems& GetConstElems() const { return _elems; } - ostream& Print(ostream& os) const; + ostream& Print(ostream& os) const; void DescribeOn(ostream& os) const; - ofstream& Plot(ofstream& out) const; + ofstream& Plot(ofstream& out) const; }; static inline ostream& operator<<(ostream& os, const PNet& net) { diff --git a/alliance/src/ocp/src/placer/PONet.cpp b/alliance/src/ocp/src/placer/PONet.cpp index 41aa421a..ec088a94 100644 --- a/alliance/src/ocp/src/placer/PONet.cpp +++ b/alliance/src/ocp/src/placer/PONet.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PDetToPlaceIns.h" #include "PONet.h" diff --git a/alliance/src/ocp/src/placer/PONet.h b/alliance/src/ocp/src/placer/PONet.h index 203ba99d..89bbb284 100644 --- a/alliance/src/ocp/src/placer/PONet.h +++ b/alliance/src/ocp/src/placer/PONet.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PONET_H #define __PONET_H diff --git a/alliance/src/ocp/src/placer/PPlacement.cpp b/alliance/src/ocp/src/placer/PPlacement.cpp index c7a6ea89..26647908 100644 --- a/alliance/src/ocp/src/placer/PPlacement.cpp +++ b/alliance/src/ocp/src/placer/PPlacement.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include #include #include diff --git a/alliance/src/ocp/src/placer/PPlacement.h b/alliance/src/ocp/src/placer/PPlacement.h index 0297ebdc..9c3d0236 100644 --- a/alliance/src/ocp/src/placer/PPlacement.h +++ b/alliance/src/ocp/src/placer/PPlacement.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PPLACEMENT_H #define __PPLACEMENT_H diff --git a/alliance/src/ocp/src/placer/PPlacementFinal.cpp b/alliance/src/ocp/src/placer/PPlacementFinal.cpp index fc134ef1..aa8fc20b 100644 --- a/alliance/src/ocp/src/placer/PPlacementFinal.cpp +++ b/alliance/src/ocp/src/placer/PPlacementFinal.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifdef __GNUC__ #if __GNUC__ < 3 #include diff --git a/alliance/src/ocp/src/placer/PPlacementGlobal.cpp b/alliance/src/ocp/src/placer/PPlacementGlobal.cpp index 0b53b4c6..74f12928 100644 --- a/alliance/src/ocp/src/placer/PPlacementGlobal.cpp +++ b/alliance/src/ocp/src/placer/PPlacementGlobal.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include #include #include diff --git a/alliance/src/ocp/src/placer/PRow.cpp b/alliance/src/ocp/src/placer/PRow.cpp index a93637b1..c4e144a2 100644 --- a/alliance/src/ocp/src/placer/PRow.cpp +++ b/alliance/src/ocp/src/placer/PRow.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PPlacement.h" #include "PConstants.h" #include "PBBox.h" diff --git a/alliance/src/ocp/src/placer/PRow.h b/alliance/src/ocp/src/placer/PRow.h index 947c8e85..2b0cddfe 100644 --- a/alliance/src/ocp/src/placer/PRow.h +++ b/alliance/src/ocp/src/placer/PRow.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PROW_H #define __PROW_H diff --git a/alliance/src/ocp/src/placer/PSubRow.cpp b/alliance/src/ocp/src/placer/PSubRow.cpp index 51987b30..ea2b2c20 100644 --- a/alliance/src/ocp/src/placer/PSubRow.cpp +++ b/alliance/src/ocp/src/placer/PSubRow.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "PBin.h" #include "PToPlaceIns.h" #include "PConstants.h" diff --git a/alliance/src/ocp/src/placer/PSubRow.h b/alliance/src/ocp/src/placer/PSubRow.h index 88a819de..a6f138e3 100644 --- a/alliance/src/ocp/src/placer/PSubRow.h +++ b/alliance/src/ocp/src/placer/PSubRow.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PSubRow_h #define __PSubRow_h diff --git a/alliance/src/ocp/src/placer/PToPlaceIns.cpp b/alliance/src/ocp/src/placer/PToPlaceIns.cpp index 14f033e3..8c186fec 100644 --- a/alliance/src/ocp/src/placer/PToPlaceIns.cpp +++ b/alliance/src/ocp/src/placer/PToPlaceIns.cpp @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #include "mut.h" #include "mph.h" diff --git a/alliance/src/ocp/src/placer/PToPlaceIns.h b/alliance/src/ocp/src/placer/PToPlaceIns.h index 9e64d578..f4807c2c 100644 --- a/alliance/src/ocp/src/placer/PToPlaceIns.h +++ b/alliance/src/ocp/src/placer/PToPlaceIns.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __PTOPLACEINS_H #define __PTOPLACEINS_H diff --git a/alliance/src/ocp/src/placer/iocgram.y b/alliance/src/ocp/src/placer/iocgram.y index 92331d6e..f160959b 100644 --- a/alliance/src/ocp/src/placer/iocgram.y +++ b/alliance/src/ocp/src/placer/iocgram.y @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ %{ #include #include diff --git a/alliance/src/ocp/src/placer/iocheader.h b/alliance/src/ocp/src/placer/iocheader.h index d9e9e2b3..1070e085 100644 --- a/alliance/src/ocp/src/placer/iocheader.h +++ b/alliance/src/ocp/src/placer/iocheader.h @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ #ifndef __IOC_HEADER_H #define __IOC_HEADER_H diff --git a/alliance/src/ocp/src/placer/iocscan.l b/alliance/src/ocp/src/placer/iocscan.l index bcddbf19..4d311e73 100644 --- a/alliance/src/ocp/src/placer/iocscan.l +++ b/alliance/src/ocp/src/placer/iocscan.l @@ -1,3 +1,29 @@ +/*------------------------------------------------------------\ +| | +| This file is part of the Alliance CAD System Copyright | +| (C) Laboratoire LIP6 - Département ASIM Universite P&M Curie| +| | +| Home page : http://www-asim.lip6.fr/alliance/ | +| E-mail : mailto:alliance-users@asim.lip6.fr | +| | +| This progam is free software; you can redistribute it | +| and/or modify it under the terms of the GNU Library General| +| Public License as published by the Free Software Foundation | +| either version 2 of the License, or (at your option) any | +| later version. | +| | +| Alliance VLSI CAD System is distributed in the hope that | +| it will be useful, but WITHOUT ANY WARRANTY; | +| without even the implied warranty of MERCHANTABILITY or | +| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | +| Public License for more details. | +| | +| You should have received a copy of the GNU General Public | +| License along with the GNU C Library; see the file COPYING. | +| If not, write to the Free Software Foundation, Inc., | +| 675 Mass Ave, Cambridge, MA 02139, USA. | +| | +\------------------------------------------------------------*/ %{ #include #include "iocgram.h"