Commit Graph

175 Commits

Author SHA1 Message Date
Jean-Paul Chaput 563816a700 The std::ofstream::open() do not take string as argument but char*
under MacOS at least.
2013-04-22 21:43:06 +00:00
Jean-Paul Chaput 9a12f43e6b * ./vlsisapd/src/utilities:
- New: Path module to provide a ligthweight alternative to boost::filesystem.
        The compatibility change in boost was giving more and more touble and was
        not worth it. Path is aimed to provides the same services, but with a
        better portability.
2013-04-21 15:35:11 +00:00
Jean-Paul Chaput 793a198a55 * ./vlsisapd/src/openChams:
- Change: In Circuit, added some debug information, kept commented for now.
        Uncomment only when accurate tracing information is needed.
2012-12-14 14:39:15 +00:00
Jean-Paul Chaput 7026761a2b * All Tools:
- New: Added FreeBSD/Ubuntu patches from Otacilio De Araujo
       (<otaciliodearaujo@gmail.com>).

  * ./vlsisapd:
    - Change: Cosmetics in headers license.
2012-12-03 08:21:48 +00:00
Jean-Paul Chaput 47dc198d9f * ./vlsisapd/src/openChams:
- Bug: DO NOT USES REFEENCES IN OBJECT ATTRIBUTES STRING:
          const std::string& _name;
        Cannot believe I've done that. Instead:
          std::string  _name;
2012-11-17 15:01:23 +00:00
Jean-Paul Chaput df2eaec70f * All Tools:
- A complete sweep of cleanup to suppress allmost all compiler warnings.

  * ./vlsisapd/openchams:
    - Change: Completly remove Name as std::string are shared. Also impact
        amsCore (OpenChamsParser/OpenChamsDriver).

  * ./vlsisapd/configuration:
    - Bug: Python.h must be included first (see Isobar comment).
    - Change: New "readFromFile()" Configuration method.
2012-11-16 12:47:32 +00:00
Jean-Paul Chaput 5c593f4161 * ./vlsisapd/dtr:
- Change: Completly remove Name as std::string are shared, in library,
        boost::python, doxygen documentation & examples.
2012-03-26 15:39:08 +00:00
Jean-Paul Chaput 4c876122d1 * ./vlsisapd/openChams:
- In Circuit: Forgot to lower in stringAsBool().
2012-03-22 16:16:34 +00:00
Jean-Paul Chaput e7011ad480 * ./vlsisapd/openChams:
- Change: In Parameters, suppress the two separate maps, one for double
        and another for string (equations). We shouldn't suppose what kind
        of data an user can put in the parameter's value. Now that the
        parameters for the HB-Tree are to be integrated, we have not only
        double but boolean, integers and a direction string. The value are
        now stored in a raw fashion as strings. It is up to the parser/drivers
        (i.e OpenChamsParser/OpenChamsDriver) to give meaning to those strings
        and interpret them accordingly.
    - Change: In Circuit, helper templates (and some non-template) functions
        to cast a string into various types. All the POD through stringAs<>
        template, plus stringAsDirection() & stringAsBool(). Reverse functions
        templates asString<> are also avalaible.
        Note: Those helpers are of more general interest, we should displace
              them sooner or later into a common "Utility" sub-tool.
2012-03-22 14:37:22 +00:00
Farakh Javid 64ae150d5e Added classes to handle equations (HighLevelCstr, DDP, DesignerCstrOC, NRCCstr), all child of Equation.
Modified openChams parser and driver to take into account these classes.
2011-11-08 17:59:52 +00:00
The Coriolis Project 29020a93f2 Forgot the std:: 2011-09-29 09:49:18 +00:00
The Coriolis Project 613e1d41a9 Addnig missing <fstream> include 2011-09-29 09:40:50 +00:00
Damien Dupuis 052572a13d Adding documentation for placement tree. 2011-09-14 10:45:57 +00:00
Damien Dupuis c6ab2d5ed8 - New support for <hbtree> section in <layout> section used to describe relative placement with constraints
- Examples (c++/python parse/drive) have been updated

    TODO: test under linux / write corresponding documentation
2011-09-14 08:13:46 +00:00
Damien Dupuis 631d636d2c In OpenChams parser / driver :
- remove callOrder member on Operator
    - add order on Instance (to order Devices and Subcircuits)
    - update python interface
    - update C++/Python parse/drive examples
2011-07-21 09:20:20 +00:00
The Coriolis Project 63f578ccdb Now includes cstring for exit(). 2011-06-28 10:50:56 +00:00
Damien Dupuis 23d80412d5 Full documentation for spice parser / driver 2011-05-31 14:16:22 +00:00
Damien Dupuis eff3b09d2d Adding primary version of Spice parser/driver documentation. 2011-05-20 09:33:10 +00:00
Damien Dupuis 4120451990 Adding subckt addComment method to describe interface 2011-05-16 12:36:11 +00:00
Damien Dupuis b36a0c5a62 Adding SPICE_FOUND construction 2011-05-11 09:19:40 +00:00
Damien Dupuis 98b82520a3 new missing file : driveSpice.cpp
adding Python examples driveSpice.py and parseSpice.py
2011-05-10 14:26:58 +00:00
Damien Dupuis d8e82643e6 Adding Boost::Python wrapping 2011-05-10 14:25:49 +00:00
Damien Dupuis 80dd17bbef New OTA_miller.spi example file.
With working prase & drive c++ examples.

    Next step : Python examples
2011-05-10 11:10:34 +00:00
Damien Dupuis 6476d1492c Several changes to correctly parse & drive current spice example. 2011-05-10 11:09:56 +00:00
Damien Dupuis 37252175ed A very simple "drive what I have parsed" example (C++ only): usual examples will follow 2011-05-06 09:25:32 +00:00
Damien Dupuis 2f17ce7b37 Adding spice parser/driver (only database right now, examples code will follow)
Supported grammar is :
    .INCLUDE
    .LIB
    .PARAM
    .OPTION
    .SUBCKT
    Xxxx
    Rxxx
    Cxxx
    Ixxx
    Vxxx

    Mxxx and Dxxx are on the todo list
2011-05-06 09:21:01 +00:00
Damien Dupuis 66d376fecc The correction commited yesterday is not a good solution : we're going to explore why link fails on 64bits
Minor warning correction at compilation (no virtual destructor in DTR::Rule)
2011-04-12 08:33:44 +00:00
The Coriolis Project 9996064f13 In order to compile on sl5 64 bits : we need to suppress libboost_python from Boost_LIBRARIES !
(I don't get why it perfectly works on sl5 32 bits and mac osx)
2011-04-11 14:24:37 +00:00
Damien Dupuis a46c121d75 Problem of files' names generated on mac osx (case insensitive)
-> no more uppercase in pages' names
2011-04-04 11:19:04 +00:00
Damien Dupuis 4a5656041e Adding the OpenChams documentation (at last !)
Minor changes/corrections is other documentations.
2011-03-25 13:08:53 +00:00
Damien Dupuis d89ebe3b4e OpenChams:
symmetry becomes orientation and now supports symmetries AND rotations.
  
  There are 8 possible orientations:
    ID  (identity)
    R1 (rotate 90° Counter Clock wise)
    R2 (symX and symY)
    R3 (rotate 90° Clock Wise)
    MX (symX)
    XR (symX then rotate 90° Counter Clock Wise)
    MY (symY)
    YR (symY then rotate 90° Counter Clock Wise)

These orientations exactly copy Hurricane::Transformation::Orientation
2011-03-10 10:42:30 +00:00
Jean-Paul Chaput 9f8de0144d Forgot this one. 2011-02-25 09:14:54 +00:00
Jean-Paul Chaput 86d5f4e94f Bug: Now should read detect correctly needrestart/mustexist. 2011-02-24 15:37:50 +00:00
Jean-Paul Chaput 61328d9c4c * ./vlsisapd:
- New: In TabDescription, add an "id" field, to be used for filtering
        by the file drivers.
    - New: in LayoutDescription::writeToStream(), adds a filtering over
        the tabs id (same fonctionality as for the parameters).
    - New: PyConfiguration extension, build using boost::python.
        Not finished yet.
    - Bug: In LayoutDescription::buildWidget(), when the parameter associated
        to a widget is not found, to not try to adds it. Print a nice error
        message and do not core dump...
2011-02-22 13:31:47 +00:00
Damien Dupuis 360e8d5348 Adding support for Port and Wire objects in openChams paser / driver.
Examples have been (partially) updated.
2011-02-15 13:57:39 +00:00
The Coriolis Project 7abcd87d96 PYTHON libraries missing for linking.
lineno not renamed in scanner.
2011-02-09 16:42:59 +00:00
Jean-Paul Chaput f5cedcdece * <All Tools>/CMakeLists.txt:
- Change: Added versioning to library.
2011-02-02 22:48:30 +00:00
Jean-Paul Chaput 9eb7b14bc5 * <All Tools>/CMakeLists.txt:
- Bug: During the packaging stage, DESTDIR must be appended to the
        pathes prepended to CMAKE_MODULE_PATH.
2011-02-02 10:43:02 +00:00
Damien Dupuis edd711dd9b Thanks to the help of Jean-Paul may python installation is alive !
- Updated Boost.Python port for OpenChams

  - Updated drive & aprse examples in Python
2010-11-22 14:44:27 +00:00
Damien Dupuis ec97d7f369 Thanks to the help of Jean-Paul may python installation is alive !
- Updated Boost.Python port for OpenChams

  - Updated drive & aprse examples in Python
2010-11-22 14:44:17 +00:00
Damien Dupuis 501ac35b2b !! Adding support for subCircuits !!!
* New <subCircuitsPathes> section in <circuit> that lists the pathes that contain subCircuits xml files

    * New Device object that inherits from simplified Instance object.
        - Instance has a name, a model, some connectors and optionnal parameters
        - Device has the same attributes plus mosType, sourceBulkConnected and transistors

    * Updated readFromFile and wrtieToFile methods to support these modifications

    * Updated parse and drive examples to support these modifications
        - Note: only C++ examples has been updated since my boost.python environment is actually totaly broken

    * New buffer.xml example that uses subCircuits.
2010-11-22 10:22:04 +00:00
Damien Dupuis 5887a0b59f !! Adding support for subCircuits !!!
* New <subCircuitsPathes> section in <circuit> that lists the pathes that contain subCircuits xml files

    * New Device object that inherits from simplified Instance object.
        - Instance has a name, a model, some connectors and optionnal parameters
        - Device has the same attributes plus mosType, sourceBulkConnected and transistors

    * Updated readFromFile and wrtieToFile methods to support these modifications

    * Updated parse and drive examples to support these modifications
        - Note: only C++ examples has been updated since my boost.python environment is actually totaly broken

    * New buffer.xml example that uses subCircuits.
2010-11-22 10:21:52 +00:00
Damien Dupuis 3c2062bdd0 Version property for tehcnology tag is not mandatory. 2010-11-18 15:13:56 +00:00
Damien Dupuis 928b3a0a2a Updated examples 2010-11-17 15:39:03 +00:00
Damien Dupuis 48407432c9 New version attribute in Techno object (it is parsed and drived)
Recently adds have been adjusted in PyDtr.py

    Examples have been updated (c++ is tested, python fails on my Mac due to a strange python2.6.6 behavior I have to check this)
2010-11-17 15:09:59 +00:00
Damien Dupuis 9e5b5226d9 Adding setName & setUnit methods on Techno object.
getRule method of Techno does not throw exception anymore if rule is not found : a NULL Rule* is returned instead.

    but getValue methods throw exception if rule is not found
2010-11-16 15:33:42 +00:00
Jean-Paul Chaput a9d0783026 * ./vslsisapd/src/configuration:
- New: In Parameter, adds a priority for all the mutators method calls.
        Allows to sets values according to where they came from instead of
        only taking the last change. This is needed because we cannot ensure
        that the last sets value is the truly wanted one. Four priorities
        are avalaibles (in increasing order):
          1. - ApplicationBuiltin (the default).
          2. - ConfigurationFile  (currently: the XML parser).
          3. - CommandLine        (supplied by the command line, see Unicorn).
          4. - Interactive        (changed through ConfigurationWidget).
    - New: In ConfigurationWidget, hideTabs()/showTabs() to explicitly select
        which tabs are displayeds or hidden. Two modes are avalaibles:
        Incremental and Exact. In Exact mode only hidden tabs are hiddens and
        only shown tabs are shown.
    - Change: In ConfigurationWidget/ConfTabWidget/ParameterWidget, no longer
        relies on the Widget parent/child tree to find the ConfigurationWidget
        from a ParameterWidget (consequence of the hide/show capability which
        is implemented by cutting off hidden tabs). Adds an explicit attribute.
2010-11-16 13:51:14 +00:00
Damien Dupuis 7506bae16e Adding support for unspecified values (saving NaN)
Adding setValue && setRef methods on Rules

    writeToFile method now produce an easy to read file thanks to iomanip.stw() method
2010-11-16 11:24:26 +00:00
Sophie Belloeil 578877d8d7 VlsiSAPD is now G++ version 4.4 compliant ! 2010-11-02 11:02:44 +00:00
Damien Dupuis ab4be8a22b As Farakh asked me : Operator name is now always converted to upper case before save. 2010-10-28 20:56:08 +00:00