Commit Graph

3040 Commits

Author SHA1 Message Date
Jean-Paul Chaput 11618cc647 Fix managment of layer 0 as bounding box in GdsParser.
* Bug: In GdsParser::readStructure(), the Gds::Layer_0_IsBoundary flag
    was not taken into account. The abutment box was always forced to
    the bounding box, resulting in incorrect cell size (and placement).
2023-09-14 10:26:43 +02:00
Jean-Paul Chaput 53f50ee8ca In GdsParser::xyToPath(), bad management of extension for PATHTYPE 4. 2023-09-14 10:26:43 +02:00
Jean-Paul Chaput 48bf2846e1 Fix bug in LefImport that was preventing loading the GDS file (FOREIGN). 2023-09-14 10:26:43 +02:00
Jean-Paul Chaput c55654eb5f Add partial support for SVase and sv2v to the DesignFlow. 2023-09-14 10:26:43 +02:00
Jean-Paul Chaput 2c32dbbf67 Add support for GF180MCU, borrowed from Chips4Makers.
Original source:
    https://gitlab.com/Chips4Makers/c4m-pdk-gf180mcu.git
Duplicated because I needed to do some patches and combine it with
the vendor I/O pads.
2023-09-14 10:26:43 +02:00
Jean-Paul Chaput 8dc13eab5b Better handling of GDS sub-models, now put into separate library.
In order to better handle colliding cell names coming from multiple
GDS files, now, if a topCell is defined, create a sub-library with
the name of that top cell and put any other model from *that* GDS
file into it. This way, only the top cell will be shown in the
library and sub-cells with common names will be separateds.
Work needed for loading GF180MCU I/O pads.

* New: In Gds::setTopCellname(), specify the name of the top cell
    we specifically wants to load from the GDS file.
* New: In GdsStream::getCell(), function to find/create a Cell in
    the current library and, if any, the "top cell" dedicated
    sub-library.
* Change: In GdsStream::readTextBody(), if the layer material of
    the label is "other", do not create a Net with the name of
    the label. This should be a pure text label. Use the new
    Hurricane::Text Go for that.
      Compute the text box in a approximative way. Have to make
    it smarter in the future.
* Change: In LefImport::_macroForeignCbk(), change of policy for
    loading associated GDS. First, we look if a cell with the
    right name exists, in which case we use it. If not, *only*
    then, do we try to load from GDS.
      This allows to load by ourselves, in a separate way the
    GDS. This is more flexible when there are naming issues.
* New: Hurricane::Text Go class, to display text label without the
    need of a Net.
* New: In Hurricane::CellWidget, add support to display
    Hurricane::Text. Add a new mode to drawDisplayText() : FillBox
    so the text is resized to exactly fill the box it is in
    (in width).
2023-09-14 10:26:43 +02:00
Robert Taylor 083d9fa7b2 Only run test uploads on main
If we run test uploads on branches, we inherently will get clashes as
pep440 versioning is linear by design.
2023-08-14 22:20:05 +01:00
Robert Taylor 8ed2c20781 If a new manylinux image isn't needed to be built, use the latest from main 2023-08-14 08:45:27 +01:00
Robert Taylor 08aa763619 Grant permissions to read package repository to build step 2023-08-12 23:09:10 +01:00
Robert Taylor 5a8d94c50d Use docker metadata extract to find tag 2023-08-12 23:09:10 +01:00
Robert Taylor 9fe1b15e5f Use sha1s for actions from third party repos 2023-08-12 23:09:10 +01:00
Robert Taylor 219c231005 Log into GHCR 2023-08-12 23:09:10 +01:00
Robert Taylor 23df3ed2e1 Use prebuild manylinux image 2023-08-12 23:09:10 +01:00
Robert Taylor 874a96e33b Add Github workflow to build custom manylinux image 2023-08-12 23:09:10 +01:00
Robert Taylor e5baf38a39 Use GitHub releases for releasing... 2023-08-11 21:12:19 +00:00
Robert Taylor aff1df5062 Tweak push rules for release build 2023-08-11 14:25:11 +00:00
Robert Taylor f192afd5f5 Add temporary token for pypi 2023-08-09 22:06:20 +02:00
Robert Taylor aa1557b843 Add lefdef to wheel build 2023-08-09 17:33:14 +01:00
Robert Taylor 3920f36e54 Enable unicorn 2023-08-09 17:33:14 +01:00
Robert Taylor 40352ea4da Rename top level from 'Coriolis' to 'coriolis' 2023-08-09 17:33:14 +01:00
Robert Taylor a89a4feacc Use PEP440 versioning 2023-08-09 17:33:14 +01:00
Robert Taylor 75419fd817 Add (temporaray) token for pypi testing 2023-08-09 17:33:14 +01:00
Robert Taylor 26af38dd39 Rename package to coriolis-eda 2023-08-09 17:33:14 +01:00
Robert Taylor 1e8211c973 Always upload to testing, only upload to real pypi on a tagged release 2023-08-09 17:33:14 +01:00
Robert Taylor 760692e496 Deploy wheels to pypi testing 2023-08-09 17:33:14 +01:00
Jean-Paul Chaput 9846330b91 Remove non-needed Python Development.Module requirement in CMakeLists.txt. 2023-08-09 10:11:54 +02:00
Gabriel Gouvine 6d8afe24e4 Fix Virtualenv setup + doc flag 2023-08-08 17:41:36 +02:00
Jean-Paul Chaput cd72c17cf2 Slightly increase the row height in the selection popup (to see underscores). 2023-08-08 00:59:48 +02:00
Jean-Paul Chaput 258bd053c4 Various bug fixes on blockages & H-Tree managment under Katana.
* Change: In Katana::PowerRailsPlanes::Rail::doLayout(): change the delta
    computation. Extend of the pitch *minus* the half wire-width *minus* 1.
    So a wire at minimal with will reach exactly the previous and next
    track axis. And will not be insterted in them due to the "minus 1".
      TrackFixedSegments created at this stage must be flagged as
    TElemBlockageNet, so that any overlap between them is not seen as an
    error by the track overlap checker.
      This was a problem for the clock tree wires which partly uses
    pre-fixed wires, but the driver of the H-Tree is a normal signal that
    must abide the usual checking.
* Change: In Katana::TrackFixedSegment::getNet(), no longer rely on the
    kind of net to choose to return the actual net or the blockage one,
    but uses the TElemUseBlockageNet flag.
2023-08-08 00:59:48 +02:00
Jean-Paul Chaput 3c9ef5b937 Ensure that we are using the "main" branchs of the repositories. 2023-08-06 19:03:45 +02:00
Jean-Paul Chaput df181b44b9 Link Yosys binaries in /usr/bin; so he can find it's subscripts. 2023-08-05 14:43:01 +02:00
Jean-Paul Chaput 475b558192 Another trial at making Yosys find it's share/ directory. 2023-08-05 14:28:11 +02:00
Jean-Paul Chaput 790bec3613 Fix the confusion between DESTDIR & PREFIX in Yosys compilation. 2023-08-05 14:09:05 +02:00
Jean-Paul Chaput fcd8be5323 Is the commented line the problem ? 2023-08-05 13:27:56 +02:00
Jean-Paul Chaput e631039c34 Problem with backslashed newlines. 2023-08-05 13:26:43 +02:00
Jean-Paul Chaput d1738e8a1c Forgot to remove the sudo build of Yosys. 2023-08-05 13:24:10 +02:00
Jean-Paul Chaput 87d09af1ff Disable artifact for installed tree. Too slow and should use cache instead. 2023-08-05 13:12:06 +02:00
Jean-Paul Chaput e6e88849e1 Space after ending backslash, was it the problem? 2023-08-05 11:34:20 +02:00
Jean-Paul Chaput 5810b181c9 Weird error somewhere. 2023-08-05 11:31:59 +02:00
Jean-Paul Chaput 700cf55904 Tabs again. Needs to configure Emacs. 2023-08-05 11:29:31 +02:00
Jean-Paul Chaput 3926718ea6 Retry at compiling Yosys in the Coriolis install tree. 2023-08-05 11:27:30 +02:00
Jean-Paul Chaput 787ecdd167 Install Yosys in /usr. 2023-08-05 02:50:36 +02:00
Jean-Paul Chaput ed753b75b1 Install Yosys directly in-system. 2023-08-05 02:14:04 +02:00
Jean-Paul Chaput 20530e3318 The Python Yosys dist-packages was not in accordance to the system. 2023-08-05 01:38:06 +02:00
Jean-Paul Chaput 58724e9421 Try to diagnose bad PYTHONPATH detection by crlenv.py 2023-08-05 01:25:37 +02:00
Jean-Paul Chaput 226efd0f02 Directly setup CORIOLIS_TOP for crlenv.py to initialize correctly. 2023-08-05 01:04:52 +02:00
Jean-Paul Chaput 260cd85ed2 Forgot to install doit. 2023-08-05 00:44:23 +02:00
Jean-Paul Chaput 78ba8bfde3 Removing tab again. 2023-08-05 00:31:54 +02:00
Jean-Paul Chaput 878f0bcc4b Make the runner fails *after* uploading the logs. 2023-08-05 00:30:18 +02:00
Jean-Paul Chaput 16d08d9a5e Upload full gopy logs (detailed design runs). 2023-08-05 00:00:16 +02:00