Go to file
Jean-Paul Chaput 1557d613ae Comprehensive reorganisation of the Python part of Coriolis.
* Move all Python stuff under a common Python namespace "coriolis".
* Instead of having a series subtrees for each tool, integrate
  everything in one common tree. So now, all components can be
  located either with an absolute path from "coriolis" or, inside
  cross-reference themselves through relatives imports.
* As a consequence, we only need to add ".../site-packages/coriolis/"
  to the PYTHONPATH, and not a whole bunch of subdirectories.
  And nothing, if installed in-system.
* The tree of free technologies configuration files is also moved
  below "coriolis/technos" instead of "/etc".
* Supressed "cumulus" level for the plugins.
* All python modules are rewritten using relative imports except
  for the configuration files that uses absolute import as they
  can be cloned outside of the tree to serve as templates.

* Change: In boostrap/FindPythonSitePackages, include "/coriolis" in
    Python_CORIOLISARCH and Python_CORIOLISLIB.
      Provide a Python_SITELIB *without* "/coriolis" appended.
* Change: In cumulus/plugins/__init__.loadPlugins(), must prefix modules
    read in the plugins directory by "coriolis.plugins.". No longer need
    to add their path to sys.path.
* Change: In crlcore/python/technos/nodeX/*/devices.py, the scripts of
    the layouts generators must be prefixed by "coriolis.oroshi.".
* Change: In CRL::System CTOR, no longer add the pathes of the various
    plugins to sys.path. Only "site-packages/coriolis/".
* New: In Utilities::Path::toPyModePath(), new method to convert a
    filesystem path into a python module path.
      Examples:
        "coriolis/plugins/block"    --> "coriolis.plugins.block".
        "coriolis/plugins/rsave.py" --> "coriolis.plugins.rsave".
* Change: In katanaEngine::_runKatanaEngine(), rename the hook script
    initHook.py. No longer need to modify sys.path.
* Change: In BoraEngine::_runBoraEngine(), rename the hook script
    initHook.py. No longer need to modify sys.path.
* Change: In UnicornGui::_runUnicornInit(), rename the hook script
    initHook.py. No longer need to modify sys.path.
* Change: In cumulus.plugins.chip.constants, put the constants
    outside __init__.py to avoid a loop at initialization.
2023-02-27 22:14:32 +01:00
Coriolis Use git tags to version releases 2023-02-21 16:10:55 +01:00
Seabreeze Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
anabatic Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
bootstrap Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
bora Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
coloquinte Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
crlcore Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
cumulus Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
deprecated Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
documentation Regenerated documentation, just to check. 2023-02-22 15:02:39 +01:00
equinox Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
etesian Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
flute Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
foehn Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
hurricane Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
ispd Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
karakaze Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
katana Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
lefdef Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
nix install helpers at top level 2023-02-21 16:10:55 +01:00
oroshi Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
solstice Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
stratus1 Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
tutorial Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
unicorn Comprehensive reorganisation of the Python part of Coriolis. 2023-02-27 22:14:32 +01:00
unittests Don't link libpython, it isn't there in manylinux 2023-02-21 16:10:55 +01:00
.gitignore Ignore /result (from nix-build) 2021-10-26 22:30:33 +00:00
.gitlab-ci.yml Upload wheels in CI 2023-02-21 16:10:55 +01:00
COPYRIGHT.rst At last setup a COPYRIGHT.rst and LICENSE.rst files. 2021-10-29 15:03:03 +02:00
LICENSE.rst At last setup a COPYRIGHT.rst and LICENSE.rst files. 2021-10-29 15:03:03 +02:00
Makefile Enabling the user to choose the devtoolset it needs. 2019-03-04 14:20:13 +01:00
README.rst Add SUPPORT.rst file 2021-12-09 22:32:02 +01:00
SUPPORT.rst Add SUPPORT.rst file 2021-12-09 22:32:02 +01:00
builder.py Don't package docs in the wheel 2023-02-21 16:10:55 +01:00
compat.nix nix: add compatibility files 2021-10-26 22:30:34 +00:00
default.nix nix: add compatibility files 2021-10-26 22:30:34 +00:00
flake.lock nix: Update dependencies 2021-10-26 20:17:17 +00:00
flake.nix nix: add compatibility files 2021-10-26 22:30:34 +00:00
poetry.lock Use ninja for build 2023-02-21 16:10:55 +01:00
pyproject.toml Add pattern back in for git tag versioning 2023-02-21 16:10:55 +01:00
shell.nix nix: add compatibility files 2021-10-26 22:30:34 +00:00

README.rst

.. -*- Mode: rst -*-


===============
Coriolis README
===============

Coriolis is a free database, placement tool and routing tool for VLSI design.


Purpose
=======

Coriolis provides several tools to perform the layout of VLSI circuits.  Its
main components are the Hurricane database, the Etesian placer and the Katana
router, but other tools can use the Hurricane database and the parsers
provided.

The user interface <cgt> is the prefered way to use Coriolis, but all
Coriolis tools are Python modules and thus scriptable.


Documentation
=============

The complete documentation is available here, both in pdf & html:

   ./documentation/output/html
   ./documentation/UsersGuide/UsersGuide.pdf

The documentation of the latest *stable* version is also
available online. It may be quite outdated from the *devel*
version.

    https://www-soc.lip6.fr/sesi-docs/coriolis2-docs/coriolis2/en/latex/users-guide/UsersGuide.pdf


Building Coriolis
=================

To build Coriolis, ensure the following prerequisites are met:

* Python 3.
* cmake.
* boost.
* bison & flex.
* Qt 4 or 5.
* libxml2.
* RapidJSON
* A C++11 compliant compiler.

The build system relies on a fixed directory tree from the root
of the user currently building it. Thus first step is to get a clone of
the repository in the right place. Proceed as follow: ::

   ego@home:~$ mkdir -p ~/coriolis-2.x/src/support
   ego@home:~$ cd ~/coriolis-2.x/src/support
   ego@home:~$ git clone http://github.com/miloyip/rapidjson
   ego@home:~$ git checkout ec322005072076ef53984462fb4a1075c27c7dfd
   ego@home:~$ cd ~/coriolis-2.x/src
   ego@home:src$ git clone https://gitlab.lip6.fr/vlsi-eda/coriolis.git
   ego@home:src$ cd coriolis

Then, build the tool: ::

    ego@home:coriolis$ make install

If you encounter issues, please consult SUPPORT.rst for tips.
Coriolis gets installed at the root of the following tree: ::

    ~/coriolis-2.x/<OS>.<DISTRIB>/Release.Shared/install/

Where ``<OS>`` is the name of your operating system and ``<DISTRIB>`` your
distribution.


Using Coriolis
==============

The Coriolis main interface can be launched with the command: ::

    ego@home:~: ~/coriolis-2.x/<OS>.<DISTRIB>/Release.Shared/install/bin/coriolis

The ``coriolis`` script detects its location and setups the UNIX
environment appropriately, then lauches ``cgt`` (or *any* command, with the
``--run=<COMMAND>`` option).

Conversely, you can setup the current shell environement for Coriolis by 
using the helper ``coriolisEnv.py``, then run any Coriolis tool: ::

    ego@home:~$ eval `~/coriolis-2.x/src/coriolis/bootstrap/coriolisEnv.py`
    ego@home:~$ cgt -V