Commit Graph

3040 Commits

Author SHA1 Message Date
Jean-Paul Chaput c3d59ecf0c Forgot "benchs" part of the path. 2023-08-04 23:44:18 +02:00
Jean-Paul Chaput 097d1dc7b8 Enable the design set checking. 2023-08-04 23:34:10 +02:00
Jean-Paul Chaput 184fe426c5 Path adjustments for Yosys build. 2023-08-04 22:47:12 +02:00
Jean-Paul Chaput 70bbde6589 Another tweak for Yosys installation directory. 2023-08-04 19:28:34 +02:00
Jean-Paul Chaput 4a3e333962 Add ccache. Try o install yosys in my tree. 2023-08-04 18:54:40 +02:00
Jean-Paul Chaput 67df43bfc8 checkout action seems not to like commit hash. Using tag. 2023-08-04 18:09:54 +02:00
Jean-Paul Chaput 699eca3ebb Remove f**king tabulations. 2023-08-04 18:01:38 +02:00
Jean-Paul Chaput 67afb4564b Added local Yosys version (0.24). 2023-08-04 17:59:24 +02:00
Jean-Paul Chaput f41f01daee Forgot to shift arguments in allianceInstaller.sh. 2023-08-04 16:57:18 +02:00
Jean-Paul Chaput f3bab0a666 Add Alliance build to regression tests. 2023-08-04 16:45:46 +02:00
Jean-Paul Chaput 826bc0dd2e Do not try to install the doc when not generated. 2023-08-04 15:37:08 +02:00
Jean-Paul Chaput 6f36a977d7 Qt & Qwt dependencies. 2023-08-04 15:17:03 +02:00
Jean-Paul Chaput 289d796497 Added Qt5 dependency (APT). 2023-08-04 15:04:57 +02:00
Jean-Paul Chaput b08d95490c Long lines in YAML ? 2023-08-04 14:56:43 +02:00
Jean-Paul Chaput 9eb7f35976 Added RapidJSON dependency (APT). 2023-08-04 14:51:10 +02:00
Jean-Paul Chaput 976ce7f8d8 Added boost packages (APT). 2023-08-04 14:41:20 +02:00
Jean-Paul Chaput 9050cd8edf Correct --root argument for ccp.by. 2023-08-04 14:32:04 +02:00
Jean-Paul Chaput 033990c6eb Regressions tests on github, trial #1 2023-08-04 14:06:45 +02:00
Jean-Paul Chaput a4db64014c Update the name of the virtualenv to ignore in git. 2023-08-03 17:17:43 +02:00
Jean-Paul Chaput 49a37addae Add the ability to specify the H-track position of a H-Tree.
Formerly, the H-Track could be shifted *relative* to the position of
the center of the RoutingPad. Which may become fragile in case of a
change in the standard cell library. So we create a new feature allowing
to specify the H-track as an offset *from the bottom of the slice*.
Two offset can be specified:
  * spares.htreeOffsetDriver : for the main H part, connected to the
      driver.
  * spares.htreeOffsetSink : for the small parts connecting to every
      fours sinks of the tree.
  This to avoid those two to overlap. The sink of the "N" stage with
the driver of the "N+1" stage (so input & ouput of the same buffer).
2023-08-03 17:13:37 +02:00
Jean-Paul Chaput f29e65d908
Build doc pelican (#11)
* Switch back to a generated version of the documentation.

Dependencies for the documentation generation have been added to poetry.
As Pelican is a Python tool, that makes sense.

Note to myself: To generate the doc with ccb.py we *need* to be inside
                the Python virtual env generated by Poetry. Instead of
		relying of a default one, provide one of our own
		(coriolis-venv) and make poetry run in it.

* Top builder.py now generated the doc.

* Forgot to remove generated PDFs in the documentation.

* A bit of cleanup on the README.rst

* Forgot the logo. Try to use code-block directive in README.

* Still typo in the logo path.

* One more trial at setting the image position.

* OK. That's enough for the logo.

* Problems with code-block.

* Voila!

* Build inside a venv and use poetry in the top level Makefile.

* Remove doxygen generated docs.

* More doc cleanup in oroshi.
2023-08-01 15:43:21 +02:00
Rob Taylor ae084b7431
Merge pull request #10 from lip6/small-fixes 2023-07-29 12:23:33 +01:00
Jean-Paul Chaput a11e2a4a7d Move the creation of I/O spacer cells from chip.pads to core2chip.
* Change: In cumulus.plugins.core2chip.CoreToChip, add new methods:
      * hasCornerCell()   (return False)
      * hasFillerCells()  (return False)
      * getCornerCell()   (raise NotImplementedError)
      * createSpacer()    (raise NotImplementedError)
      * createCorner()    (raise NotImplementedError)
    Those methods needs to be overloaded in derived classes when I/O spacers
  and corner cells are supplied.
    In IoPad, add a NON_CONNECT case for dummy pad that are not connected.
* New: In cumulus.plugins.chip.pads, delegate spacer & corner creation to
    the coreToChip concrete class.
* New: In cumulus.plugins.block.configuration.IoPadConf, add support for
    non-connected (dummy) pads.
2023-07-28 18:50:58 +02:00
Jean-Paul Chaput 0bd39fa839 In cumulus, integrate CoreToChip inside Chip.
Formerly, CoreToChip was seen as building the top-level netlist of the
chip only. But, when using special spacer pads, we need to have access
to that specific information from inside the Chip pads builder.
So we now move CoreToChip as an internal part of Chip. The right
CoreToChip to use (techno dependant) must be given as a configuration
parameter:

  "conf.coreToChipClass"

It is the class, not an object that must be suplied.
2023-07-28 10:45:07 +02:00
Jean-Paul Chaput a8d0371990 In RoutingPad, prefer Segment over Pad at constant area.
This case may arise with cells created from GDS+LEF.
2023-07-28 10:45:07 +02:00
Jean-Paul Chaput c5827877f6 Fix: the position of a Pad is it's center. Not (0,0) ... 2023-07-28 10:45:07 +02:00
Jean-Paul Chaput 9c7770806c Change of loading order in LefImport, now GDS first then LEF.
* Bug: In LefImport::_macroCbk(), the GDS file must be loaded *before*
    we start putting nets & components from the LEF file. The GDS parser
    must find an blank slate and not try to modifies nets already
    created by LEF.
      This way, we really can modify the GDS layout to suit the LEF
    statements.
      Note that we may end up with two set of terminal exactly overlapping,
    a Pad from the GDS and a Segment from LEF.
2023-07-28 10:45:07 +02:00
Jean-Paul Chaput bec7bba938 Prevent the GdsParser to create rubbers.
* Change: In GdsParser::xyToPath(), we were creating articulated layout
    segments over contacts using the "all_nets_merged_in_gds" common net.
    But some segment may later be promoted to interface, that means
    deleting the previous one and re-creating it with the right
    external net.
      The deletion was automatically creating a rubber between it's two
    Contact anchors. And we there is no way to get rid of it (other than
    also removing the Contacts).
2023-07-28 10:45:07 +02:00
Robert Taylor c552d36a55 Fix Matrix link and add Github Discussions 2023-07-27 22:51:34 +02:00
Rob Taylor 4df8421016
Merge pull request #5 from lip6/status-badge
Add wheel build status badge
2023-07-23 15:47:14 +01:00
Robert Taylor a7fda1b46a Simplify release naming 2023-07-23 01:33:36 +00:00
Robert Taylor a38bea28ac Add wheel build status badge 2023-07-23 00:12:42 +00:00
Jean-Paul Chaput 7768a32395 Merge branch 'main' of github.com:lip6/coriolis 2023-07-22 19:13:00 +02:00
Jean-Paul Chaput a70382d9f9 We have a semantic issue with the blockages layers. Two meanings are possibles:
1. They represent an exact area where no metal should be put, and that area
   has been computed by the standard cell abstractor and *do not* need to be
   expanded. This is the forbidden area, period!

2. They match the shapes of the components inside the standard cell (say an
   horizontal segment). In that case, the blockage *must be expanded* by the minimal
   spacing rules as any fixed wiring already present.

It is not clear to me what is the accepted norm. This commit stays on semantic [1].

The semantic is implemented in PowerRailsPlanes::Rail::doLayout().
2023-07-22 18:56:14 +02:00
Jean-Paul Chaput 96f41776a8 In GdsStream & LefImport, thorough verification that coordinates are on foundry grid. 2023-07-22 16:40:00 +02:00
Jean-Paul Chaput e470ca8375 In RoutingLayerGauge::getTrackIndex() display position as physical unit. 2023-07-22 16:34:41 +02:00
Jean-Paul Chaput a270243bbc
Merge pull request #4 from lip6/fix-matrix-link
Fix link to matrix room
2023-07-21 23:49:07 +02:00
Robert Taylor 0110dcee23 Fix link to matrix room 2023-07-21 20:42:10 +00:00
Jean-Paul Chaput 3cddf2f3ae More bug fix in cumulus trackAvoid. 2023-07-19 22:04:58 +02:00
Jean-Paul Chaput 1e2c88fad8 In Katana, do not try to repair tracks that are of default type. 2023-07-19 21:57:16 +02:00
Jean-Paul Chaput 01b0489f58 Various bug fixes in the cumulus trackAvoid system. 2023-07-19 21:56:13 +02:00
Jean-Paul Chaput 6b1f57d7f1
Merge pull request #3 from ChipFlow/github-me-harder
Set up parallellised and cached builds for python wheels
2023-07-19 16:48:34 +02:00
Jean-Paul Chaput 8a45ed1e9e Merge branch 'master' of github.com:lip6/coriolis 2023-07-19 16:30:01 +02:00
Jean-Paul Chaput a14a96f9ed Allow the Y position of the H-Tree horizontal branch to be set.
* Change: In cumulus.block.configuration and cumulus.block.htree, two new
    configuration parameters allow to specify the offset of the horizontal
    branch of the H-Tree manually:
        cfg.spares.htreeRootOffset (first level of the tree)
        cfg.spares.htreeOffset     (subsequent levels)
      The offset is given in number of tracks.
2023-07-19 16:15:22 +02:00
Jean-Paul Chaput d819d46031 Allow weak default values in helpers.overlay.CachedParameter.
* New: In helpers.overlay.CfgDefault, new class that can be used to give
    a default value to a cached configuration parameter. The default
    value will be used as a last ditch fallback and used *only if* no
    default value can be fetched from the C++ database (disk).
2023-07-19 16:10:27 +02:00
Jean-Paul Chaput 892661ca2a Support of the FOREIGN directive in LEF files (using GDS view).
* New: In LefImport, add setGdsForeignDirectory() to point out from where
    to load the extra GDS file in case a FOREIGN directory is present
    in MACRO.
      Also add support for merging the supply nets. It may happens that
    the supply nets have different names in the GDS ("vdd!") and LEF files
    ("pvdd"), in that case, the LEF name supersede the GDS one.
      The GDS file will be loaded *first* then completed by the LEF contents.
      Blockage in the GDS file are *not* loaded.
* Change: In GdsParser, perform an early recognition of supply nets. For now
    it's hardwired to names starting by "vdd" and "gnd", but should be
    parametrized in the future.
      Needed for the LefImport to merge, if needed, the power supplies.
      In GdsStream::xyToComponent(), skip the blockage if required.
2023-07-19 16:06:43 +02:00
Gabriel Gouvine 68f56c1361
Merge pull request #2 from ChipFlow/robtaylor/room-link
Add chat room link
2023-07-18 11:22:42 +02:00
Rob Taylor c9cbf87c10
Merge branch 'master' into robtaylor/room-link 2023-07-17 18:57:44 +01:00
Jean-Paul Chaput d5f25940a4 Merge branch 'master' of github.com:lip6/coriolis 2023-07-17 15:22:32 +02:00
Jean-Paul Chaput 46d81c5cb0 Change policy for vertical track protection of the H-Tree.
Formerly we were using Placement::Area::TrackAvoid() to shift cells terminals
out of the way of the reserved vertical track. With double height cells,
this is coming more complex and due to heavy tracks uses in some cells,
the shift required may becomes too great. Instead, we place filler cells
just underneath the reserved track to prevent their usage. This is a
supplemental constraint on the router, but the new version manage it
correctly.

* New: In cumulus/block.spares.Spares.trackAvoid() to place filler cells
    under a given vertical area.
2023-07-17 15:12:56 +02:00