Commit Graph

127 Commits

Author SHA1 Message Date
Tim Ansell 4e5e318e0c
Merge pull request #81 from mithro/libfixes
Fix a number of issues with the generated liberty output
2020-07-15 08:00:07 -07:00
Tim 'mithro' Ansell 296ef2066e scripts/liberty: Rework how attribute types are discovered.
* Add functions for producing different types of values into liberty
   output (plus doctests for them).
 * Respect the type given by a `define()` statement.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-15 07:04:50 -07:00
Tim 'mithro' Ansell c9d0c8131f script/liberty: Slightly nicer debug output.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-15 07:04:50 -07:00
Tim 'mithro' Ansell b70d1a51ad scripts/liberty: Make the `clk_width` attribute a string.
Fixes #69.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-15 07:04:50 -07:00
Tim Ansell c6b5b6e5c3
Merge pull request #102 from mithro/liberty-ccsnoise-try2
scripts/liberty: Second attempt at filtering all ccsnoise data.
2020-07-15 07:03:42 -07:00
Tim 'mithro' Ansell c9a704335e timing/liberty: Also check for ccsnoise on buses.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-14 19:32:27 -07:00
Tim 'mithro' Ansell 463f2fd6aa scripts/liberty: Second attempt at filtering all ccsnoise data.
Fixes #77.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-14 18:12:28 -07:00
Tim Ansell 20971447cb
Merge pull request #101 from mithro/small-fixes
Two small fixes
2020-07-14 14:28:36 -07:00
Tim 'mithro' Ansell 35a491d054 infra: Adding label for build files (like Makefile).
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-14 13:06:05 -07:00
Tim 'mithro' Ansell 15f6966a94 scripts/liberty: Adding a `--debug` option.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-14 12:51:58 -07:00
Tim Ansell ad3b507e38
Merge pull request #92 from mithro/ccsnoise-fix
Fix ccsnoise properties ending up in basic liberty files.
2020-07-12 22:59:42 -07:00
Tim 'mithro' Ansell b626ca017d scripts/liberty: More aggressive ccsnoise filtering.
Fixes #77.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-12 22:24:19 -07:00
Tim 'mithro' Ansell 73d129ef85 scripts/liberty: Fix indenting first value in list.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-12 22:24:08 -07:00
Tim Ansell f2838cf382
Merge pull request #89 from smunaut/add_layer
docs: Add CSV file with the GDS layer informations and comments
2020-07-12 20:47:41 -07:00
Sylvain Munaut 2c69332cad docs: Add CSV file with the GDS layer informations and comments
This is from https://docs.google.com/spreadsheets/d/176OcP2h_TT_pDP2-zBLijlgFUP38LVgMQPlDtpLcrsk/edit?ts=5eff8387#gid=459375686

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-07-11 23:57:51 +02:00
Tim Ansell 14d668e452
Merge pull request #88 from smunaut/fix_76
build: Don't try to make timing for non-checked out submodules
2020-07-11 14:11:06 -07:00
Sylvain Munaut 95238de345 build: Don't try to make timing for non-checked out submodules
If a library directory doesn't contain a 'cells' subdir, it's most
likely not checked out, so skip it

Fixes #76

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-07-11 23:03:57 +02:00
Tim Ansell 3803500497
Merge pull request #83 from Rholais/patch-1
Fix types in README.rst file
2020-07-10 17:02:32 -07:00
LI Haocheng 787b03194f make README.rst 2020-07-10 23:53:49 +08:00
Rholais Lii 88809c2cdf
Fix more typo 2020-07-10 17:02:16 +08:00
Rholais Lii e172d63674
Fix typo 2020-07-10 16:54:26 +08:00
Tim Ansell 5c99d9ee66
Merge pull request #79 from mithro/add-script-liberty-issue
infra: Labels related to specific scripts.
2020-07-09 11:45:31 -07:00
Tim 'mithro' Ansell 741fa6b057 infra: Adding autolablers for new script labels.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-09 11:24:03 -07:00
Tim 'mithro' Ansell 7fdcbc5783 infra: Adding a couple more script releated labels.
* `scripts-python-liberty` label for the script which generates the
   liberty timing files.

 * `scripts-python-verilog` label for the script which generates a lot
   of the verilog files.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-09 11:14:27 -07:00
Tim Ansell 34859b8011
Merge pull request #60 from cclauss/patch-1
Makefile: Add a make lint-python command
2020-07-09 09:53:25 -07:00
Tim Ansell c21978272e
Merge pull request #67 from mithro/docs-add
docs: Adding more documentation pages.
2020-07-09 08:57:13 -07:00
Tim 'mithro' Ansell 96f1f3edf9 docs: Adding verification tools placeholders.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-08 18:55:10 -07:00
Tim 'mithro' Ansell a7baa587e3 docs: Adding placeholder pages for various tools.
* Analog tooling
   - Generators BAG, FASoC, etc
   - Manual tools KLayout, Magic, Innovus, etc

 * Digital tooling
   - Cadence Innovus
   - OpenROAD

 * Simulation tooling
   - ngspice
   - Cadence Spectre

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-08 18:55:10 -07:00
Tim 'mithro' Ansell 3dac1a7340 docs: Adding glossary plus previous nomenclature page.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-08 18:55:10 -07:00
Tim 'mithro' Ansell 59d34f1635 docs: Adding new library to the docs.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-08 18:55:10 -07:00
Tim Ansell 6bfc3841c1
Merge pull request #68 from mithro/tlef
Adding complete technology LEF files for digital standard cells
2020-07-08 18:45:34 -07:00
Tim 'mithro' Ansell e56dae3ec6 infra: Adding tlef file type.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-08 17:53:22 -07:00
Tim 'mithro' Ansell 899dafc0e5 Updating submodules on 2020-07-09 00:30:03 UTC
- Updating [`sky130_fd_sc_hd` latest](./libraries/sky130_fd_sc_hd/latest) to v0.0.2-8-g7f795252
 - Updating [`sky130_fd_sc_hd` v0.0.1](./libraries/sky130_fd_sc_hd/v0.0.1) to v0.0.1-4-g4cbecdca
 - Updating [`sky130_fd_sc_hd` v0.0.2](./libraries/sky130_fd_sc_hd/v0.0.2) to v0.0.2-8-g7f79525
 - Updating [`sky130_fd_sc_hdll` latest](./libraries/sky130_fd_sc_hdll/latest) to v0.1.1-8-gc4512ed0
 - Updating [`sky130_fd_sc_hdll` v0.1.0](./libraries/sky130_fd_sc_hdll/v0.1.0) to v0.1.0-4-g60697a72
 - Updating [`sky130_fd_sc_hdll` v0.1.1](./libraries/sky130_fd_sc_hdll/v0.1.1) to v0.1.1-8-gc4512ed0
 - Updating [`sky130_fd_sc_hs` latest](./libraries/sky130_fd_sc_hs/latest) to v0.0.2-8-g8bc807e
 - Updating [`sky130_fd_sc_hs` v0.0.1](./libraries/sky130_fd_sc_hs/v0.0.1) to v0.0.1-4-g73908d9
 - Updating [`sky130_fd_sc_hs` v0.0.2](./libraries/sky130_fd_sc_hs/v0.0.2) to v0.0.2-8-g8bc807e
 - Updating [`sky130_fd_sc_ls` latest](./libraries/sky130_fd_sc_ls/latest) to v0.1.1-8-gb8d4fa7
 - Updating [`sky130_fd_sc_ls` v0.1.0](./libraries/sky130_fd_sc_ls/v0.1.0) to v0.1.0-4-g06ffd21
 - Updating [`sky130_fd_sc_ls` v0.1.1](./libraries/sky130_fd_sc_ls/v0.1.1) to v0.1.1-8-gb8d4fa7
 - Updating [`sky130_fd_sc_ms` latest](./libraries/sky130_fd_sc_ms/latest) to v0.0.2-8-g7ef2bc9
 - Updating [`sky130_fd_sc_ms` v0.0.1](./libraries/sky130_fd_sc_ms/v0.0.1) to v0.0.1-4-g5825c0b
 - Updating [`sky130_fd_sc_ms` v0.0.2](./libraries/sky130_fd_sc_ms/v0.0.2) to v0.0.2-8-g7ef2bc9

 * libraries/sky130_fd_sc_hd/latest c0d4f99...7f79525 (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_hd/v0.0.1 7fb23b9...4cbecdc (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_hd/v0.0.2 c0d4f99...7f79525 (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_hdll/latest dfb3a88...c4512ed (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_hdll/v0.1.0 2d15473...60697a7 (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_hdll/v0.1.1 dfb3a88...c4512ed (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_hs/latest fb0e900...8bc807e (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_hs/v0.0.1 10be0bc...73908d9 (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_hs/v0.0.2 fb0e900...8bc807e (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_ls/latest 0f9747f...b8d4fa7 (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_ls/v0.1.0 166ea9e...06ffd21 (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_ls/v0.1.1 0f9747f...b8d4fa7 (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_ms/latest abc8abf...7ef2bc9 (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_ms/v0.0.1 c6396dd...5825c0b (1):
   > Adding complete technology LEF file.

 * libraries/sky130_fd_sc_ms/v0.0.2 abc8abf...7ef2bc9 (1):
   > Adding complete technology LEF file.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-08 17:31:03 -07:00
Christian Clauss 88ddb1ec42
check: check-licenses lint-python 2020-07-07 07:23:43 +02:00
Tim Ansell 92dc0fd2f4
Merge pull request #64 from mithro/osu-label
Fixing the sky130_osu_sc label description
2020-07-06 16:35:49 -07:00
Tim Ansell 5b4ffe4fec
Fixing the sky130_osu_sc label description 2020-07-06 16:25:55 -07:00
Christian Clauss 09642eb864
requirements.txt: Add flake8 2020-07-06 23:49:41 +02:00
Christian Clauss 3ab41a3150
Revert modifications to .travis.yml 2020-07-06 22:23:04 +02:00
Christian Clauss 19d0c00b09
make check should lint-python 2020-07-06 20:48:12 +02:00
Christian Clauss ffffc11659
Update Makefile
Co-authored-by: Tim Ansell <me@mith.ro>
2020-07-06 20:46:36 +02:00
Tim Ansell b1fc6a7b2e
Merge pull request #34 from mithro/liberty
Adding liberty file generation
2020-07-06 06:41:34 -07:00
Tim 'mithro' Ansell ee77597986 api: Change the way liberty attributes are sorted.
Fixes #37, #40.

The `LIBERTY_ATTRIBUTE_ORDER` template is used to control the ordering
of the liberty attribute output.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-06 06:36:13 -07:00
Tim 'mithro' Ansell ad9a4a4b23 api: Ignore generated timing/*.lib files.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-06 06:36:13 -07:00
Tim 'mithro' Ansell 74273c4f0b api: Adding liberty file generator.
Generates liberty timing files from the included json timing data.

Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-07-06 06:36:13 -07:00
Tim 'mithro' Ansell 45580cb998 api: Fix parsing cell name.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-06 06:36:13 -07:00
Tim 'mithro' Ansell f25334442b api: Adding corners processing.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-07-06 06:36:13 -07:00
Tim Ansell 9f9c58aec5
Merge pull request #33 from mithro/add-digital-cells
Add the standard cells libraries as submodules.
2020-07-06 06:34:58 -07:00
Christian Clauss 3f3f79905c
make lint-python before make env 2020-07-06 12:16:28 +02:00
Christian Clauss beb75f5c79
Update Makefile 2020-07-06 12:08:15 +02:00
Christian Clauss e77e870a1e
Update .travis.yml 2020-07-06 11:51:13 +02:00