Commit Graph

1834 Commits

Author SHA1 Message Date
Matthias Koefferlein c474fa6550 Bugfix: Spice reader needs to transform length units to micrometer 2019-04-07 11:09:08 +02:00
Matthias Koefferlein f6836b96a2 WIP: some enhancements
Spice writer: don't prefix model name with "M"
Added "device_class_mismatch" message to netlist compare
Assertion if device classes or circuits are nil on
"same_..."
2019-04-07 10:15:57 +02:00
Matthias Koefferlein df2bd5e80a Netlist: flatten subcircuits, circuits 2019-04-06 23:36:08 +02:00
Matthias Koefferlein 18ee59023e Speedup of Spice format netlist reader 2019-04-06 21:14:25 +02:00
Matthias Koefferlein 8733801029 Merge remote-tracking branch 'origin/master' into dvb 2019-04-06 20:33:58 +02:00
Matthias Koefferlein 8f1db684c0 Fix: account for rounding errors when doing default compare of device parameters. 2019-04-06 20:33:29 +02:00
Matthias Koefferlein aad52b77ba Netlist compare: added the ability to filter small caps and high resistance devices 2019-04-06 19:46:13 +02:00
Matthias Koefferlein da5680ef24 Netlist compare: configurable device parameter compare scheme. 2019-04-06 15:19:43 +02:00
Matthias Koefferlein 43f65e4d29 Added tests for GSI binding of dbNetlistCompare 2019-04-06 00:18:37 +02:00
Matthias Koefferlein c5a56dbc5f WIP: GSI binding for netlist comparer. 2019-04-04 23:41:46 +02:00
Thomas Ferreira de Lima e68047733f
pymod 0.26.0.dev15 - included basic.lib 2019-04-04 14:57:08 -04:00
Thomas Ferreira de Lima d980c6f784
Triggering Azure while on master or staging 2019-04-04 14:29:22 -04:00
Thomas Ferreira de Lima 369872b1bb
Merge branch 'master' of github.com:KLayout/klayout 2019-04-04 14:24:21 -04:00
Matthias Koefferlein 52fb8b0f65 Merge remote-tracking branch 'remotes/origin/master' into dvb 2019-04-04 07:35:43 +02:00
Matthias Köfferlein 6be05609e8
Merge pull request #255 from KLayout/issue-252
Issue 252
2019-04-04 07:31:51 +02:00
Matthias Köfferlein a1bac382dc
Merge pull request #256 from KLayout/issue-251
Fixed #251 - exit handler missing? [skip ci]
2019-04-04 07:30:13 +02:00
Matthias Köfferlein 053db73e85
Merge pull request #257 from KLayout/spell-fixes
Fixed some spelling errors (allow to, allows to)
2019-04-04 07:30:02 +02:00
Thomas Ferreira de Lima 2c3e04b652
Azure: do not deploy to pypi unless tagged 2019-04-03 20:27:38 -04:00
Thomas Ferreira de Lima 1c56f3e3a4
Matching azure with travis 2019-04-03 20:19:20 -04:00
Thomas Ferreira de Lima 482184c936
Allowing build on push to master 2019-04-03 20:16:44 -04:00
Thomas Ferreira de Lima 3bfd177fcf
Fixing travis condition 2019-04-03 20:06:31 -04:00
Thomas Ferreira de Lima 4df1dc7c03
Only building in azure for PR and tagged commits 2019-04-03 19:37:45 -04:00
Thomas Ferreira de Lima 9aa4525afd
Configuring .travis.yml to reduce build frequency
Python modules will only be built on tagged commits of the format:
v0.25(.8)(-dev14)

MacOS builds will only be built on staging branch

All will be built on pull requests.
2019-04-03 19:20:15 -04:00
Matthias Koefferlein 5310a37f75 Fixed #251 - exit handler missing? [skip ci]
RBA::MainWindow::instance.destroyed do
  RBA::MessageBox::info("It's Over!", "The main window was destroyed", RBA::MessageBox::Ok)
end

at_exit do
  puts "It's over!"
end

RBA::Application::instance.aboutToQuit do
  RBA::MessageBox::info("It's Over!", "The main window was destroyed", RBA::MessageBox::Ok)
end
2019-04-03 23:29:40 +02:00
Matthias Koefferlein eacd5fc19d Fixed some spelling errors (allow to, allows to) 2019-04-03 19:15:09 +02:00
Matthias Koefferlein 86447506fd Fixed #252 - updated setup.py and pipelines. 2019-04-03 18:31:05 +02:00
Matthias Köfferlein ceec24898d
Merge pull request #253 from lightwave-lab/cd/travis-pypi
Continuous Deployment to PyPI
2019-04-03 18:14:23 +02:00
Matthias Köfferlein bf0afdfb06
Merge pull request #254 from rubund/feature/fix_spelling_errors
A few more spelling fixes
2019-04-03 18:14:07 +02:00
Ruben Undheim d287b6958b A few more spelling fixes 2019-04-03 08:23:27 +02:00
Thomas Ferreira de Lima bd2b3a2ed0
setup.py 0.26.0.dev14 version 2019-04-03 00:20:21 -04:00
Thomas Ferreira de Lima d5031b09e4
Uploading windows wheels to pypi via Azure 2019-04-02 23:54:43 -04:00
Thomas Ferreira de Lima c5ea287158
Stripping shared object for linux pymod 2019-04-02 22:39:12 -04:00
Thomas Ferreira de Lima 32c07759fc
(sudo) pip install -U twine 2019-04-02 20:10:23 -04:00
Thomas Ferreira de Lima 70e6d70988
pymod deployment to pypi through travis 2019-04-02 19:46:40 -04:00
Matthias Koefferlein 61a61a2a5a WIP: added lib module to qmake-based python module build
This works:

  import klayout.db
  import klayout.lib
  print(klayout.db.Library.library_names())   # says ["Basic"]

Also works:

  from klayout import *

Does not work:

  # import klayout.lib needs to be done before the libraries
  # are used initially
  import klayout.db
  print(klayout.db.Library.library_names())   # says []
  import klayout.lib
  print(klayout.db.Library.library_names())   # says []
2019-04-03 01:07:22 +02:00
Matthias Köfferlein e26b57ca2f
Merge pull request #250 from rubund/feature/fix_spelling_errors
Spelling errors in code and comments fixed
2019-04-02 23:30:57 +02:00
Matthias Koefferlein 8e9f15669f WIP: utilizing netlist compare for DRC checks as well
+ Some enhancements (e.g. enable pin swapping for pins
  without names and devices or subcircuits)
2019-04-02 22:39:29 +02:00
Matthias Koefferlein 89ffd7e3da WIP: Simple SPICE reader. 2019-04-01 22:46:33 +02:00
Matthias Koefferlein 9613ad72c8 WIP: netlist compare - using it for more tests
Issue solved: some circuit pins may not have a net - these
need to be ignored.

Requirement: all pins with a net must be mapped.

Detached pins are not present in the mapping table.
A dummy mapping table was introduced to allow dropping
of pins in the second circuit too.

Output of compare should not depend on memory location
anymore and pin mismatch reporting should include all
pins.
2019-03-31 23:59:43 +02:00
Matthias Koefferlein 06e326dfd9 WIP: netlist compare - some more tests by netlist compare. Needs fixing. 2019-03-31 19:00:42 +02:00
Ruben Undheim 5d26cf4c77 Spelling errors in code and comments fixed 2019-03-31 15:25:18 +00:00
Matthias Koefferlein b391b4510f WIP: can compare empty circuits now
Empty circuits play a role as abstracts. They
are compared by using the pin names the nets
are attached to. The implementation change is:
* nodes without device terminals or subcircuit pins
  are compared through their net properties (count
  and name of pins attached)
* some enhancements of the net string serializer
  have been made to account for pin name mismatches.
2019-03-31 09:53:51 +02:00
Matthias Koefferlein 2452c72d2d WIP: netlist compare deployed for netlist extractors
Some enhancements were required:
* Clusters left over from joined clusters must not be
  turned into nets: this leads to dummy nets.
* null Nets can happen as targets of edges. Don't assert
  in this case but treat null nets as identical for both
  netlists.
* Don't resolve ambiguous nets if there are options to
  do this non-ambiguously.
* logger can be null
* Added compare_netlists to dbTestSupport
2019-03-30 23:04:57 +01:00
Matthias Koefferlein 14e2d9f632 Updated version in setup.py to trigger PyPI update. 2019-03-29 00:56:44 +01:00
Matthias Koefferlein f06d435b05 WIP: netlist comparer - moved into it's own files. 2019-03-29 00:37:45 +01:00
Matthias Koefferlein e8d59504dd WIP: netlist compare - forced matching of circuits. 2019-03-29 00:13:13 +01:00
Matthias Koefferlein d255617051 WIP: netlist compare - tests for device class equivalence mapping, added Netlist#device_class_by_name 2019-03-28 18:01:22 +01:00
Matthias Koefferlein cefd6e91cf WIP: some refactoring, netlist compare. Goal: support explicit device class and circuit mapping. 2019-03-27 23:17:35 +01:00
Matthias Koefferlein b44a55d901 WIP: netlist compare - pin swapping. 2019-03-26 23:38:36 +01:00
Matthias Koefferlein 46cd80d606 WIP: netlist compare - terminal swapping of devices. 2019-03-26 22:05:08 +01:00