Commit Graph

345 Commits

Author SHA1 Message Date
Jean-Paul Chaput 14a5f5f7ef Documentation restructuration
Documentation restructuration:
* Bug: in <hurricane>: bad figure for transf-R1.
* Change, in <kite>: Remove deprecated configuration variables.
* New: documentation <tool> to regroup all documentation not directly
  related to one tool.
* Change, in <crlcore>, move the user's guide and the top doc index
  into <documentation>.
* New, in <documenation>: added Python script demo based on AM2901.
2014-03-11 12:21:31 +01:00
Jean-Paul Chaput 34e0edfd61 Cleanup after SVN importation, <ccb> builder script adaptation.
Project hierarchy reorganisation:
* With svn, we were doing a tool by tool checkout, suppressing the
  whole repository hierarchy level.
* The tools were also grouped, inside one repository, into multiple
  projects (<bootstrap>, <vlsisapd>, <coriolis>).
* We do not want to split up each tool into a separate repository,
  given their tight integration (except for vlsisapd).
* We choose to simplify, and consider all tools in a svn repository
  one project. Due to the way Git clone repositories, the directory
  containing the project is now to be seen under "src/".

CMake modifications:
* Now that the <vlsisapd> and <bootstrap> projects are merged into
  coriolis, modificate the top CMakeLists.txt of each tool to uses
  only Coriolis (and bootstrap hard wired).

CCB compile script modifications:
* Uses the new source tree hierarchy, with the project directory
  inserted.
* Remove (comment) all parts relateds to svn managment.
* Git is sufficiently simple so that we do not want to integrate
  command shortcut into the script.

SVN cleanup:
* Remove the obsolete <chamsin> tool, that has become the full fledged
  <chams> project long time ago.
2014-02-26 18:24:41 +01:00
Jean-Paul Chaput 12f595941a * ./hurricane/src/hurricane:
- New: Added an id on DBo, SharedName and SharedPath to ensure
        database determinism. All the hash key now uses the id instead
        of the object's pointer (see _getHashValue()).
    - Change: In RoutingPad, position is now only relative to the anchor,
        no more (dx,dy). Add a isPlacedOccurrence() to check if all the
        occurrence in the path are fixed and thus the position meaningful.

  * ./hurricane/doc/hurricane:
    - Change: In Cell, added doc about PlacementStatus.
    - Change: In Transformation, more detailed explanations about the
        orientations. A little beautifying too...
    - Change: RoutingPad doc update.
    - Change: Entity doc update (for id).
    - Change: In HTML header/footer uses the new SoC.css.
2013-12-04 01:26:07 +00:00
Jean-Paul Chaput bc23a539a5 New: added getBodyHook() method. 2013-05-04 14:03:21 +00:00
Jean-Paul Chaput 28b4c6bc5c Bug: correct function binding for getAnchorHook(). 2013-05-04 13:57:34 +00:00
Jean-Paul Chaput ecf22a10c1 * ./hurricane/sr/isobar:
- New: Added support for Hook Collections, PyHookCollection.
2013-04-27 17:51:33 +00:00
Jean-Paul Chaput b1af37ca2c Added PyHook.cpp & PyHook.h ... 2013-04-27 16:03:48 +00:00
Jean-Paul Chaput 31abc474f1 * ./hurricane/sr/isobar:
- New: Added Hook support (PyHook). Hook accessors added in PyContact and
        PySegment.
2013-04-27 16:02:00 +00:00
Jean-Paul Chaput fcc8ed2373 Added missing library ${UTILITIES_LIBRARY}, linking problem
shows only under MacOS.
2013-04-22 21:45:21 +00:00
Jean-Paul Chaput dcc3084884 * ./hurricane/src/viewer:
- Change: Switch from boost::filestem to VLSISAPD path.
2013-04-21 15:35:44 +00:00
Jean-Paul Chaput 84dfbe2980 * ./hurricane/sr/isobar:
- New: In PyComponent, added support for getConnexComponents() and
        getSlaveComponents().
2013-04-18 10:55:34 +00:00
Jean-Paul Chaput fc805bf500 * ./hurricane/sr/isobar:
- New: In PyDataBase, added method for getDB (the correct name, as alias)
        and getRootLibrary().
    - New: In PyComponent, added support for the optional BasicLayer argument
        of getBoundingBox().
    - New: In PyEntity, added support for conversion to/from RoutingPad.
    - New: In PyHyperNet, added support for getNetOccurrences().
    - New: In PyLibrary, added support for getLibrary().
    - New: In NetExternalComponents, added support for setExternal().
2013-04-17 16:14:41 +00:00
Jean-Paul Chaput fe4c87fe10 Bug: swap between NOARGS and VARARGS for getSomethingUnder(). 2013-04-15 10:49:48 +00:00
Jean-Paul Chaput b64a8d1ca2 * ./hurricane/sr/isobar:
- New: In PyCell, added methods for getComponents() and getComponentsUnder().
2013-04-15 09:51:51 +00:00
Jean-Paul Chaput 79eb9bde69 * ./hurricane/sr/isobar:
- New: In PySegment, added methods for getSource(), getTarget() and invert().
2013-04-11 11:09:00 +00:00
Jean-Paul Chaput 62fbf351a7 * ./hurricane/sr/isobar:
- New: In PyContact, added methods for setX, setY, setDx, setDy.
2013-04-10 14:19:28 +00:00
Jean-Paul Chaput f8343fdfc4 * ./hurricane:
- New: In hurricane/doc, added documentation RoutingPad, HyperNet & Query.
    - New: In isobar, added support for RoutingPad.
    - Change: In PyComponent, getCenter() method moved to it's right place in
        the base class.
    - Change: In PyPath, added duplicated methods (ApplyOn <-> applyOn and
        Invert <-> invert).
2013-03-13 13:38:15 +00:00
Jean-Paul Chaput 9724cef332 * ./hurricane/src/isobar:
- Change: In PyHurricane, add type object for all subtype of Component, then
        we can use the Python "isinstance()" function to know the true type of a
        component. Useful when looping over a collection of Component.
          Name clash: We have used the class name as the name of the constructor
        inside the Hurricane module, at a time we where less acquainted with
        Python, so the real class are named 'PyVertical' for example, while
        'Hurricane' is the constructor function. Should correct this in the
        future but it's a huge work as all the Python scripts must be editeds...
    - Change: In PyNet, adds the "getComponents()" Collection accessor.
    - New: In Occurrence, added method getCompactString() to display a more
       compact version of the occurrence.
    - New: PyQuery & PyQueryMask expose the Query classe. Only partially implemented,
        and with the start of the template based interface disabled.
2013-02-10 11:52:27 +00:00
Jean-Paul Chaput ceda10e523 Small update of DynamicLabel for Isis. 2012-12-31 11:52:42 +00:00
Jean-Paul Chaput d9eb8a1b6a * ./hurricane/src/isobar:
- Bug: In PyHurricane, PyTypeViaLayer was *not* reference incremented, causing
        the type to be desallocated when the Python interpreter was finalizing.
        This was causing <isis> to fail.
2012-12-14 14:34:30 +00:00
Jean-Paul Chaput 91a30ce8af Typo in getAbutmentBox(), now display the right function
name in errors...
2012-12-04 12:29:45 +00:00
Jean-Paul Chaput 1334caad6d * All Tools:
- New: Added FreeBSD/Ubuntu patches from Otacilio De Araujo
       (<otaciliodearaujo@gmail.com>).

  * ./hurricane:
    - Change: In CellViewer, one unificated method to lauch Python
        scripts whatever they are Stratus or not.
    - Change: In ScriptWidget, the function lauched is now
        "ScriptMain()".
    - New: In PyCellViewer, add the refresh method.
2012-12-03 08:26:28 +00:00
Jean-Paul Chaput 47f3771f1d * All Tools:
- A complete sweep of cleanup to suppress allmost all compiler warnings.

  * ./hurricane/doc/hurricane:
    - New: Documentation cleanup and update, particularly on the new Layer
        derived classes.

  * ./hurricane/src/hurricane,
    ./hurricane/src/isobar,
    ./hurricane/src/viewer:
    - New: Creation of new methods, more explicit on DbU. Based on a to/from
        naming scheme.
    - New: Python support extented to include all objects needed to configure
        through python scripts.
    - Change: Finally understood what's causing the _XOPEN_SOURCE redefinition.
        Basically the Python.h must be included first before any other
        include. The type-puned problem will remains still (that is a Python
        problem, not our own).
    - Change: In DisplayStyle, uses shared_ptr for DrawingStyle instead of
        custom made reference count.
2012-11-16 12:48:38 +00:00
Jean-Paul Chaput eb4f1b91a8 * ./hurricane/src/hurricane:
- Change: Activate inspector support for Pin, Pin::AccessDirection
        & Pin::AccessStatus.
2012-01-02 21:19:31 +00:00
Damien Dupuis b62e6fb0c1 Bug correction : in PyBox.inflate method : third and fourth arguments were not initialized by Parse_Tuple leadding to a segmentation fault when using inflate with 4 arguments in python. 2011-05-30 11:22:02 +00:00
Jean-Paul Chaput bb50b1e302 * ./hurricane/src/viewer:
- Change: In CellWidget, small cosmetics.
2011-04-12 20:36:30 +00:00
Damien Dupuis 2df0dd439b Missing linking libs 2011-03-10 11:27:21 +00:00
Damien Dupuis 4c2f16a4fe Missing factor in physicalToDbu conversion. 2011-02-24 13:11:11 +00:00
Jean-Paul Chaput 562cca23c7 Added DbU::physicalToGrid method. 2011-02-24 10:00:46 +00:00
Damien Dupuis feecdab3e1 missing header 2011-02-15 11:54:48 +00:00
Jean-Paul Chaput 0ea96eaa3d Add library version to isobar. 2011-02-04 11:09:11 +00:00
Jean-Paul Chaput eb86ef8bc9 * <All Tools>/CMakeLists.txt:
- Change: Added versioning to library.
2011-02-02 22:25:07 +00:00
Jean-Paul Chaput 67af923d4f * <All Tools>/CMakeLists.txt:
- Bug: During the packaging stage, DESTDIR must be appended to the
        pathes prepended to CMAKE_MODULE_PATH.
2011-02-02 12:23:43 +00:00
Jean-Paul Chaput b8e42d2efc * ./hurricane/src/viewer:
- New: In ExceptionWidget, mimic more closely the behavior of a QDialog.
        Uses QTextEdit/QTextDocument for the trace. Static "all in one" methods,
        build from various exceptions/Errors & QString. Automatic window centering
        when the trace is displayed.
2011-01-10 23:58:31 +00:00
Jean-Paul Chaput 214bb4dda4 Add the ability to get a command by it's name. 2011-01-09 18:19:21 +00:00
Jean-Paul Chaput f7721dd754 * ./hurricane/src/hurricane:
- Change: In RoutingPad, uses my C++ style. Normalize constructors calls.
        Allow to select (trough flags) the way the "best component" is choosen.
        Currently: Biggest Area or Lowest Layer or Highest Layer.

  * ./hurricane/src/viewer:
    - New: In DisplayStyle, darkening is now expressed as a ratio over the HSV
        components of a color. Introduce a new DisplayStyle::HSVr type.
        Allow a more readable darkening effect. All object modicated accordingly.
    - Change: In NetlistWidget, the "Net" section now correctly dimension itself
        on the widest net name. Must suppress all the size Hints in the header
        & data models.
2010-12-30 18:38:43 +00:00
Jean-Paul Chaput daab8a8b8f * ./hurricane/src/viewer:
- In CellViewer, adds a shortcut for launching Stratus scipts: SHIFT+P,S
        and one for pure Python scripts: SHIFT+P,P.
    - In ExceptionWidget, put the trace inside a QScrollArea so all the call
        stack can be viewed regardless of the window's size. It seems that
        QFontMetrics has problems to compute the right text size when using
        a Qt::RichText enabled widget. Adds some "manual" corrections, hope
        they will be sufficiently portables.
2010-12-15 15:10:58 +00:00
Damien Dupuis 011be5487b regex correction for Mac osX 2010-12-09 14:38:41 +00:00
Damien Dupuis e43c102f45 Missing include dirs
Boost_LIBRARIES misplaced : not in add_library but target_link_libraries
2010-12-07 11:53:36 +00:00
Jean-Paul Chaput 828b1d6b6f * ./hurricane/src/hurricane:
- New: Torus object. To allow a simpler management of a chip's corona,
         the toric area between the pads and the core.
    - Change: In HyperNet/LeafPlugOccurrences, change the instance stop criterions
        from "isLeaf()", which means "contains no instances" to "isTerminal()"
        which can be programmatically changed. This has to be done for the Pads
        which are non-leaf due to "padreal" but still must be considered for their
        connectors.
          This modification is coupled with one in the Ap parser.
    - Change: In Backtrace, enable support for Apple backtrace. This is a blind
        test as I can't check by myself.

  * ./hurricane/src/viewer:
    - Change: In CellWidget/SelectionModel/SelectionWidget, rewrite the Gos selec-
        tion mechanism. Now ExtensionGo could be selecteds as they ought to be.
        Also adopt a more standard way of how objetcs are selecteds.
          Prefer "dataChanged()" signal over "reset()" or "layoutChanged()" as
        it keeps the selection instead of resetting it.
          Unselecteds entry in the window (toggled with 't') are now shown in
        red for better readability.
2010-12-04 15:22:54 +00:00
Damien Dupuis cefe8dc6a7 Adding translate method to PyHorizontal
Bug correction in METHOD_HEAD definition of PyHorizontal
2010-11-16 15:24:19 +00:00
Jean-Paul Chaput 8be83b1ae0 * ./hurricane/src/hurricane:
- New: Backtrace to print the stack when an exception is thrown.
    - New: In Error, support for Backtrack.
    - Change: In TextTranslator, provides a default HTML translator instead of
        building it every time it was needed.
    - Bug: In Common, when demangling a C++ symbol fails, returns the empty
        string instead of NULL.

  * ./hurricane/src/viewer:
    - New: In Exception, support for the Backtrack new feature.

  * ./hurricane/src/isobar:
    - Change: In PyHurricane, when catching a C++ exception, adds a newline to
        have a more clean display.
2010-11-16 13:43:34 +00:00
Jean-Paul Chaput b90b40f656 * ./hurricane/src/hurricane:
- New: In Query, adds an accessor to get the current path.
    - Bug: In NetExternalComponents, every component of an external net was
        considered as an external one. Now only truly external components
        are considered.

  *  ./hurricane/src/isobar:
     - New: StratusScript, dedicated Stratus script laucher.
     - Bug: In CellWidget, when drawing selecteds Gos, the loop variable was
         not reset between loops resulting in incomplete display.

  * ./hurricane/src/isobar:
    - New: In PyHorizontal & PyVertical, adds mutator methods.
2010-11-02 16:05:29 +00:00
Damien Dupuis 3d2d3e545d Default type for a new net is now Net::Type::LOGICAL (and not UNDEFINED) 2010-10-01 13:29:35 +00:00
Jean-Paul Chaput a2d5823fce * ./hurricane/src/viewer:
- Change: In Controller, adjust to the configuration changes.
2010-09-15 21:28:03 +00:00
Jean-Paul Chaput c2f3a393f1 * ./hurricane/src/viewer:
- New: Specific support for Stratus scripts. In a perfect world, this
        should be added in the stratus tool, but it would be much more
        complicated.
2010-08-26 22:01:12 +00:00
Jean-Paul Chaput 6e91d50324 * ./hurricane/src/viewer:
- Change: In CellViewer, attempt to put the menus entries in a more
        classic (intuitive?) order.
2010-08-26 15:01:39 +00:00
Jean-Paul Chaput 8a0852c730 * ./hurricane/src/viewer:
- New: In CellViewer, new menu entries for Import/Export cell, build on the
        model of open/save.
2010-08-22 12:35:29 +00:00
Jean-Paul Chaput 81cd63baf0 * ./hurricane/src/hurricane:
- Bug: In Mask, the "!=" operator was erroneously implemented like the
        "==" operator. Making "!=" behave like "==", what a mess.
    - Bug: In BasicLayer, in constructor the _blockageLayer and _connectorLayer
        where *not* initialised, leading to erratic behavior when checked
        against NULL.
2010-08-18 20:22:47 +00:00
Jean-Paul Chaput 3774c09bab * All Main Python Modules:
- Change: New problem identified with the Python modules: each module seems
        to be built as a complete binary, so all the static C++ initializers are
        allocated in each module. In particular the C++ tree inheritance is built
        for *each* module so we cannot longer uses the typeid() comparisons
        across modules... It was used by boost::program_options to perform is
        casts with boost::any and was starting throwing exceptions because of
        bad casts. program_option was first initialized in "configuration"
        first included by PyViewer then in PyCRL (see Utilities.cpp).
          A first solution is to re-order the import of Python modules in
        stratus1/st_model so that CRL is imported first.
          The second is to not not link "configuration" with boost::program_option
        as only the binary vlsisapd-conf-editor needs it.
          That is a serious problem of which we must be aware and can cause further
        strange behaviors.
          Debug code used to diagnostic has been kept commented in the sources a
        it may be needed again :-(
          This behavior do not affect our singletons because they are part of
        dynamic libraries that seems to be correctly shared between the various
        Python modules.
2010-07-17 10:22:00 +00:00