Commit Graph

5418 Commits

Author SHA1 Message Date
Matthias Koefferlein ad444c5552 Don't error out on missing MACRO in LEF, but create a dummy macro with size 0,0 instead and issue a warning. This will place nicely with N, but not with other orientations. 2025-05-28 18:58:28 +02:00
Matthias Koefferlein a2ac8d45de Postpone decision about "invalid vias are errors." 2025-05-18 22:28:11 +02:00
Matthias Koefferlein e27e24ff4f Bugfixing multi-DEF reader with LEF cache, adding a testcase. Making unknown vias an error. 2025-05-18 22:00:39 +02:00
Matthias Koefferlein a07d742bee Fixed a problem with via uniquification - via definitions may be DEF local, so we need to clean them between different DEF reads. 2025-05-18 00:48:10 +02:00
Matthias Koefferlein 8221923ccb Added a large (private) testcase for the 'read LEF once' enhancement 2025-05-17 16:50:47 +02:00
Matthias Koefferlein 4206d7ee63 Tried a performance improvement experiment, don't dare to actually use it 2025-05-17 01:00:57 +02:00
Matthias Koefferlein baed5bd822 Small refactoring 2025-05-17 00:57:36 +02:00
Matthias Koefferlein 5c27fedfe5 Debugging and bug fixes. The 'big example' from issue 2014 now works 2025-05-17 00:44:15 +02:00
Matthias Koefferlein 1b98efd7a8 First bug fixes 2025-05-15 23:41:23 +02:00
Matthias Koefferlein 271800ab94 WIP: first implementation. Builds, but needs testing. 2025-05-15 23:27:03 +02:00
Matthias Koefferlein cb649e6ee6 Merge branch 'master' of github.com:KLayout/klayout 2025-04-27 20:56:38 +02:00
Matthias Köfferlein e76e9b7d0b
Merge pull request #2017 from KLayout/bugfix/issue-2014
Fixed issue #2014 (strm2oas lef/def/gds collect drops cells reference…
2025-04-27 20:53:47 +02:00
klayoutmatthias 6e7eff95e7 Fixed glob feature for Windows. 2025-04-27 19:16:37 +02:00
Matthias Koefferlein 43310e7f49 Updating Python stubs 2025-04-27 16:07:01 +02:00
Matthias Koefferlein 9aa8d79bfc Enhanced unit test for better debugging 2025-04-27 14:43:53 +02:00
Matthias Köfferlein c7514ba24d
Merge pull request #2031 from KLayout/bugfix/issue-2011
Bugfix/issue 2011
2025-04-27 14:35:37 +02:00
Matthias Köfferlein efb3b3eb3d
Merge pull request #2030 from KLayout/feature/issue-2024
Provide a solution of feature request #2024
2025-04-27 14:35:24 +02:00
Matthias Köfferlein 345f316af5
Merge pull request #2029 from KLayout/bugfix/issue-2026
Fixing issue #2026 (after 2.5D display main 2D layout does not displa…
2025-04-27 14:35:14 +02:00
Matthias Köfferlein 89d5bf0df1
Merge pull request #2028 from KLayout/bugfix/issue-2025
Fixed issue #2025 (brackets get added on PCell parameters)
2025-04-27 14:34:52 +02:00
Matthias Köfferlein d8a13037a9
Merge pull request #2023 from KLayout/bugfix/issue-2020
Fixing the strict weak ordering issue inside the edge processor
2025-04-27 14:34:37 +02:00
Matthias Koefferlein 5077b22963 Bugfix: deep, empty layers still need a layout attached 2025-04-27 00:30:50 +02:00
Matthias Koefferlein 5efcf83640 Bugfix: Deep mode XOR needs to maintain the layout origin of the first argument even if it is empty 2025-04-26 23:24:26 +02:00
Matthias Koefferlein ffa42653fe Addressing issue #2011
- "report" can now be late in DRC without internal error
  Yet, the report will only capture the output layers
  after the report statement has been called.
- Text objects don't create zero-area polygons in deep mode
  XOR now.
2025-04-26 22:04:50 +02:00
Matthias Koefferlein 2435e774f4 Preventing an internal error when using report after 'input' 2025-04-26 19:05:40 +02:00
Matthias Koefferlein 2bd82af6fe Provide a solution of feature request #2024
- There is a new configuration page entry called
  "Min spacing" for the grid. The default value is 4.
  The value specifies the grid min spacing in
  units of UI font height.
- A bugfix is included: the ruler now is drawn after
  the grid, hence is not hidden by it (specifically
  in checkerboard pattern mode)
- To allow bigger grid spacing, the ruler now
  is allowed to grow bigger than before.
2025-04-26 16:52:39 +02:00
Matthias Koefferlein 148498f840 Fixing issue #2026 (after 2.5D display main 2D layout does not display anymore with visible shapes) 2025-04-26 16:15:25 +02:00
Matthias Koefferlein d317dc2fe3 Fixed issue #2025 (brackets get added on PCell parameters) 2025-04-24 23:30:50 +02:00
Matthias Koefferlein fa618a5b76 Fixing the strict weak ordering issue inside the edge processor 2025-04-09 23:35:09 +02:00
Matthias Koefferlein 09329442f0 Fixing issue #2019 (build issue against Qt 6.9) 2025-04-09 23:30:13 +02:00
Matthias Koefferlein 0ec8e18173 refining the DEF warning on missing foreign cell 2025-04-08 23:52:50 +02:00
Matthias Koefferlein 3bd9a96f67 Merge branch 'bugfix/strmxor' into bugfix/issue-2014 2025-04-08 22:55:45 +02:00
Matthias Koefferlein a27fd3e0be Drop OASIS warning about ghost cells and print a DEF reader warning if a foreign cell cannot be substituted 2025-04-08 22:40:04 +02:00
Matthias Koefferlein 0542ef835a strm2xor: parallelize by layer and not internally with -u 2025-04-08 21:14:19 +02:00
Matthias Koefferlein 3a752fd2c7 Adding 'total' time for -d11 in all scripts 2025-04-08 19:55:50 +02:00
Matthias Koefferlein 8150e732af Hopefully fixing strm2xor finally, added a test 2025-04-08 19:14:01 +02:00
Matthias Koefferlein 789e183be9 Shortcutting hierarchy in case of skipped shapes, this restores the original performance 2025-04-08 00:04:21 +02:00
Matthias Koefferlein 41e9cb5893 Maybe fixing basic issues with strmxor
1. Output of shape countsi in deep mode was hierarchical with
   output file, flat without
2. Refactoring of XOR (for_merged optimization) needed to
   create cover cell variants
2025-04-07 00:53:43 +02:00
Matthias Koefferlein 6b5268e5f7 Feature glob expansion on LEF and GDS lists for LEF/DEF reader options. 2025-04-06 19:21:02 +02:00
Matthias Koefferlein 83e0c17291 Print total runtime for converter buddy tools with -d 11 2025-04-06 19:20:38 +02:00
Matthias Koefferlein 163c3b8edc Making "assume FOREIGN always default for strm* tools", OASIS warns on ghost cells 2025-04-06 12:50:34 +02:00
Matthias Koefferlein bcf14ede3e Fixed issue #2014 (strm2oas lef/def/gds collect drops cells referenced by sky130 spare)
Problem was that there was the implicit assumption that
substitution cells would be top cells (or at least: not
child cells of other substitution cells).
2025-04-05 22:06:29 +02:00
Matthias Köfferlein 449a9a968e
Merge pull request #2015 from KLayout/bugfix/issue-2012
Bugfix/issue 2012
2025-04-05 19:21:35 +02:00
Matthias Koefferlein c656700b44 Maybe fixed issue-2012 (leaking reference in Python) 2025-04-03 20:44:34 +02:00
Matthias Koefferlein 40a0113ce5 Fixing Texts[], EdgePairs[] and Edges[] operators - both in terms of returning xWithProperties and objects with properties at all 2025-03-27 00:27:53 +01:00
Matthias Koefferlein 3aebf90ecd Texts[n] now also provides a TextWithProperties object. Bugfix: this method was not delivering any objects with properties at all. 2025-03-26 01:22:54 +01:00
Matthias Koefferlein a24d5388d7 Region[] now returns a PolygonWithProperties object or nil 2025-03-26 00:56:54 +01:00
Matthias Koefferlein 227203cdd1 Providing a less strict overload resolution
Downcast now has precedence over conversion constructors, hence less ambiguities
Solution is implemented for
- Ruby
- Python
- Expressions

For Expressions:
- The overload resolution is less evolved anyway
- There was an additional bug preventing to pass arrays (hashes) in expressions
2025-03-26 00:45:16 +01:00
Matthias Koefferlein db66a6ee74 Base class of DEdgePairWithProperties was EdgePair, not DEdgePair 2025-03-25 23:43:14 +01:00
Matthias Koefferlein e6ff30adee Modifying definition of Timer#memory_size on Linux to become resident size. 2025-03-23 18:46:15 +01:00
Matthias Koefferlein db728dc68a Merge commit 'refs/pull/2003/head' of github.com:KLayout/klayout 2025-03-23 18:38:42 +01:00