Commit Graph

533 Commits

Author SHA1 Message Date
Matthias Koefferlein 2191db0c6d Merge branch 'master' into network-drc 2023-01-13 22:01:51 +01:00
Matthias Koefferlein 500fee3ff6 Fixed issue #1245 by using a smarter implementation for the backward compatibility fallback. Added unit tests and new (old) GSI bindings for that purpose. 2023-01-11 23:31:09 +01:00
Matthias Koefferlein f9ccb60dd9 WIP: experimental - introducing net DRC, first steps 2023-01-07 23:42:59 +01:00
Matthias Koefferlein a85dbd3d31 Updating copyright notice to 2023 2023-01-01 22:27:22 +01:00
Matthias Koefferlein 9440985aed Trying to fix a segfault observed on MacOS 2022-12-18 17:43:48 +01:00
Matthias Koefferlein de784de7ea Wider data types for Windows (long is 32 bit) and for CBLOCK byte counts in OASIS reader 2022-12-18 14:31:46 +01:00
Matthias Koefferlein 199dea536a Fixed a small bug: d25 material list view background was reset to black with Auto background color 2022-12-13 22:49:49 +01:00
Matthias Koefferlein a5a3fff1f0 Fixed #1214 (LEF VIA parsing issue) 2022-12-08 22:36:14 +01:00
Matthias Koefferlein 299cea51a5 OASIS writer: Writing repetitions for edge-representation paths too 2022-12-08 20:36:03 +01:00
Matthias Koefferlein 65e11498d4 Fixed issue #1178 (technology-data xml results in SEGV)
Problem was that the test case contained multiple technologies
inside the config file and the cached values were not updated
in the XML reader upon migrating to the new multi-stack capable
scheme.
2022-11-06 16:53:26 +01:00
Matthias Köfferlein 4a80a10a2d
Merge pull request #1175 from KLayout/wip
Wip
2022-11-06 09:11:38 +01:00
Matthias Köfferlein c021a1834c
Fixed #1173 (DXF reader compatibility issue with ezdxf) (#1174) 2022-11-01 14:28:51 +01:00
Matthias Koefferlein 9f2cf7275f Fixed display of XOR progress (wasn't properly painting the error bitmaps) 2022-11-01 14:17:37 +01:00
Matthias Koefferlein 0e5842d36e Fixed some qrc files, added more attributes to PCellParameterState (tool tip, readonly, icon), added option to show parameter names 2022-10-29 21:20:16 +02:00
Matthias Koefferlein 8f6603d88e Fixed unit test fails 2022-10-18 01:26:42 +02:00
Matthias Koefferlein 43c7e87cc0 Fixed 'run.png' icon which should be 'run_16px.png' 2022-10-07 00:52:06 +02:00
Matthias Koefferlein 774b008417 Fixed a build error 2022-10-05 21:45:22 +02:00
Matthias Koefferlein 7b4b345cf4 Multiple stacks for net tracer - finished selection box in net tracer dialog 2022-09-25 19:10:30 +02:00
Matthias Koefferlein 511f55d4da WIP: refined solution - some bug fixes, XML file is backward compatible now 2022-09-25 16:33:23 +02:00
Matthias Koefferlein 8919916da9 WIP: some debugging 2022-09-25 11:22:45 +02:00
Matthias Koefferlein 2505ebb9a3 WIP: some debugging 2022-09-25 10:53:23 +02:00
Matthias Koefferlein 40786d13e0 WIP: added missing files 2022-09-25 00:36:29 +02:00
Matthias Koefferlein 293f26ddc0 WIP: multiple tech stacks for net tracer, first steps 2022-09-25 00:35:59 +02:00
Matthias Koefferlein 8e480a0236 Changed pixmaps to 2x versions for high-DPI support 2022-09-17 22:13:16 +02:00
Matthias Koefferlein 164748be22 More icons as SVG 2022-09-14 22:35:55 +02:00
Matthias Koefferlein 878389e858 More icons transferred to SVG 2022-09-13 01:12:09 +02:00
Matthias Koefferlein 50e64c9c65 More icons translated to SVG 2022-09-12 22:13:50 +02:00
Matthias Koefferlein d881933840 More icons converted to SVG 2022-09-12 21:55:35 +02:00
Matthias Koefferlein e460314090 Deploying more SVG based icons 2022-09-11 22:02:10 +02:00
Matthias Koefferlein 4a241cc36c Deploying first high-res icons, enabled high-dpi icon scaling 2022-09-11 21:07:48 +02:00
Matthias Köfferlein 390cac87d3
Issue 1097 (#1148)
* [CONSIDER MERGING] Clarification and typo fixed in DRC doc.

* Implemented #1097 (discourage file compression, use CBLOCK)

* A warning is printed if file compression is enabled on OASIS
* A hint is present in the writer options
* CBLOCK is default (with fresh config) and for buddy tools
  (use --cblock=false to disable it)

* Strict mode is default too.

* Updated tests
2022-09-05 23:34:53 +02:00
Matthias Köfferlein 7a9e9989d3
Merge pull request #1147 from KLayout/wip
Wip
2022-09-04 09:08:08 +02:00
Matthias Koefferlein 8dd002bd0f More enhancements to support LayoutView as widget 2022-09-03 22:53:01 +02:00
Matthias Koefferlein f788818d12 Some more refactoring - further abstracting layout view from container widget 2022-09-03 01:48:50 +02:00
Matthias Koefferlein 3c53950eaa Rework needed for LayoutView management
The application got unstable on exit under various conditions
(e.g. LayoutView created in script). Reason was the ownership
management of LayoutView which interfered with Qt widget
lifetime management.

The solution now is based on a clean widget/view hierarchy
and a consistent plugin parent/child relationship.

In addition, a new class is enabled which allows creating
a true QWidget (rather QFrame) for a LayoutView again.
2022-09-02 00:47:21 +02:00
Matthias Koefferlein 7c776779a6 Bugfix: D25 view background color synchronized with layout view now 2022-08-27 14:09:09 +02:00
Matthias Koefferlein 1099a3d7bb Implemented warn_level for all readers so warnings can be turned off 2022-08-13 22:15:07 +02:00
Matthias Köfferlein e2f9015c26
Fixed issue #1132 by taking the first point of paths and polygons instead of center (center is still taken if the polygon is a rectangle) (#1134) 2022-08-01 18:47:20 +02:00
Matthias Koefferlein 555d32f280 Bugfix: net color was not properly set in net tracer 2022-06-18 16:58:55 +02:00
Matthias Koefferlein 488dc561de Fixed a problem in deep XOR mode (wrong size implementation for tolerances) 2022-06-14 22:56:15 +02:00
Matthias Koefferlein 62bbef53ac Refactoring: layColor -> tlColor 2022-05-30 23:21:32 +02:00
Matthias Koefferlein 03761768cf Enabled headless LayoutView. Works. 2022-05-26 01:51:09 +02:00
Matthias Koefferlein 3f4fe62dc5 Merge branch 'master' into qtless-canvas 2022-05-23 20:42:39 +02:00
Matthias Köfferlein b84ec19da1
Issue 1071 (GDS2Text format options issues) (#1085)
* Fixed first issue (UI problem with GDS2Text options)

* Fixed problem with 'save' when the file extension does not indicate one of the known formats

In this case, and when plain 'save' is used, the original format is delivered.
The session files also store the original format now.
The statistics page will now indicate the format of the file that was loaded.
2022-05-23 20:37:26 +02:00
Matthias Koefferlein f5b4bbb62c WIP 2022-05-15 10:31:09 +02:00
Matthias Koefferlein 332daf836e WIP: split laybasic into layui and layview to separate Qt and non-Qt part even more 2022-05-15 00:47:59 +02:00
Matthias Koefferlein 3c11fe61c3 WIP: enabling PixelBuffer and BitmapBuffer for RBA::LayoutView 2022-05-07 14:36:52 +02:00
Matthias Koefferlein e49b9a5e8a WIP 2022-05-01 21:56:47 +02:00
Matthias Koefferlein 8cbb49d5f9 WIP 2022-05-01 17:47:00 +02:00
Matthias Koefferlein 9b7a237a79 WIP 2022-05-01 10:30:26 +02:00
Matthias Koefferlein 63a1b24d24 WIP 2022-04-30 23:08:05 +02:00
Matthias Koefferlein c3f3fd00ce WIP 2022-04-26 00:09:39 +02:00
Matthias Koefferlein 51e7c0a038 WIP 2022-04-25 23:09:57 +02:00
Matthias Koefferlein 1b129758d8 More range for NoQt option - covers lym (without MacroCollection), drc, lvs and buddies now 2022-04-24 23:28:04 +02:00
Matthias Köfferlein 9cb77d6222
Lefdef enhancements (#1053)
* Implementated patch as suggested by issue-1047

* Implementing blend-mode for LEF/DEF for a first solution for issue-1048

* Added testcase, fixed other tests

* Issue-1050 fixed - now REGION, BLOCKAGE and DIEAREA are relevant from mapping file, nothing else

* Bug fixes

* Experimental: DEF multipart paths

* Experimental: ignore LEF wire extension, ignore PATTERNNAME

* Implemented PATTERNNAME in DEF instead of LEF ..

* Implemented nondefaultrule vias

* LEF/DEF: non-defaultrule vias need a name suffix.

* Refined solution for NDR via names, updated test data

* Updated test data

* Multiple map files and 'REGIONS FENCE' + 'REGIONS GUIDE' layer mapping entries.

* Added test data, updated doc.

* Some enhancements and feedback

REGIONS in map files -> REGION
REGION NONE for map files (maps REGIONs which are neither GUIDE or FENCE)
Bugfix: VIA with ORIGIN
No via cell name prefix by default for buddy tools

* Simplified buddy tool options for LEF/DEF property names

Dropped --lefdef-dont-produce-instance-names,
--lefdef-dont-produce-pin-names and --lefdef-dont-produce-net-names
options. Instead, these options have to be enabled by giving
the respective property names.

Writing the property names takes some space and these
options are simply confusing and redundant.

* Issue a warning about missing cut geometry for a DEF via with PATTERNNAME (which is ignored)

* Fixed issue-1065
2022-04-23 22:26:37 +02:00
Matthias Köfferlein 6a842cdc53
First attempt to implement X2 net names. Needs reconfirmation. (#1056) 2022-04-09 18:07:30 +02:00
Matthias Köfferlein 779c2392e7
Some doc fixes as preparation for PDF generation (#1044)
* Some doc fixes as preparation for PDF generation

* Some doc bug fixes and enhancements for PDF manual generation
2022-04-02 16:07:38 +02:00
Matthias Koefferlein 6593997751 Trying to fix Windows builds 2022-03-14 17:49:46 +01:00
Matthias Köfferlein b09f79b681
Issue 1017 (#1023)
* Write polygons as single POLYLINE or LWPOLYLINE to DXF

* DXF writer creates simple polygons from ones with holes in POLYLINE and LWPOLYLINE mode, added tests
2022-03-10 19:15:35 +01:00
Matthias Köfferlein 9fc7f9cfb6
Merge pull request #1019 from KLayout/25d-with-booleans
25d with booleans
2022-03-10 19:15:16 +01:00
Matthias Koefferlein 3b2db3b379 Fixed build without Qt bindings 2022-03-09 23:00:24 +01:00
Matthias Koefferlein c5da93756a Fixed build with Qt bindings (maybe) 2022-03-08 16:31:53 +01:00
Matthias Koefferlein b9a9422905 LEF/DEF paths for buddies are relative to cwd 2022-03-07 22:18:15 +01:00
Matthias Koefferlein a0cbc2355a Some cleanup 2022-03-07 21:49:48 +01:00
Matthias Koefferlein 553d973b69 Edge and edge pair support 2022-03-07 21:21:43 +01:00
Matthias Koefferlein c9727c2e60 Polishing 2022-03-06 23:10:34 +01:00
Matthias Koefferlein 1da12970ab Material list, visibility 2022-03-06 21:11:32 +01:00
Matthias Koefferlein dda18e6f53 WIP: Introducing names 2022-03-06 19:01:16 +01:00
Matthias Koefferlein 33cd9fe687 WIP: bug fixes 2022-03-06 18:48:23 +01:00
Matthias Koefferlein f681d96558 WIP: Streamlined d25 script notation 2022-03-06 10:35:58 +01:00
Matthias Koefferlein 4acd0aabc5 Removed D25 tech component 2022-03-06 10:07:23 +01:00
Matthias Koefferlein 8c0498cc4c WIP: Some bug fixes, ongoing implementation 2022-03-05 23:52:41 +01:00
Matthias Koefferlein 05c16c9024 WIP: 'open window' menu item 2022-03-05 19:56:14 +01:00
Matthias Koefferlein 64406522fe WIP: basic debugging, functionality. 2022-03-05 19:42:57 +01:00
Matthias Koefferlein cd07a21ae3 Merge branch '25d-with-booleans' 2022-03-05 14:59:17 +01:00
Matthias Köfferlein a4b663199d
Fixed issue-1012 with some enhancements (#1016)
- warning if a layer is not mapped
- "," allowed as separator between files on buddy tools (in addition to '+')
- relative paths are resolved relative to . in buddy tools (more natural on Linux)
- Fixed tl::warn and tl::error so warnings/error messages can be continued with tl::noendl.
2022-03-05 14:57:09 +01:00
Matthias Koefferlein 447b024277 Fixed issue #1013 2022-03-01 00:41:26 +01:00
Matthias Koefferlein 42bd12b2db Bugfix: could not erase suffix in LEF/DEF reader options, could not reset datatype to 'none' (=don't produce) 2022-02-28 20:30:08 +01:00
Matthias Koefferlein c030c844bb Doc update 2022-02-27 21:33:26 +01:00
Matthias Koefferlein d0d3d2a8be New integration, WIP 2022-02-24 00:45:02 +01:00
Matthias Köfferlein 572103ad23
Fixed issue-972 (#1003)
The implementation basically means making cell names valid
rather than quoting them. This involves unification.
2022-02-12 18:08:52 +01:00
Matthias Koefferlein 12fd26663d Merge branch 'qt6' 2022-01-06 21:48:02 +01:00
Matthias Koefferlein 10456516db Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
Matthias Köfferlein f60a5de325
Merge pull request #948 from KLayout/less-expressions
Less expression evaluation for more robustness
2021-12-16 07:56:21 +01:00
Matthias Koefferlein a6d4c80c6c Less expression evaluation for more robustness 2021-12-16 00:23:06 +01:00
Matthias Koefferlein 519d7f6353 Fixed issue #942 (plus: cleaned some config inconsistencies and fixed a small Ui flaw) 2021-12-07 23:40:26 +01:00
Matthias Koefferlein ef62a126d4 WIP: format string problem fixed in 2.5d view 2021-12-05 00:08:08 +01:00
Matthias Koefferlein 3ef28c8a9d WIP: fixed some string extractors 2021-12-04 23:57:24 +01:00
Matthias Koefferlein 39aa5cb805 WIP 2021-11-25 20:44:39 +01:00
Matthias Koefferlein 2ee4d5414e WIP 2021-11-25 20:37:10 +01:00
Matthias Koefferlein 0e15426c9f WIP 2021-11-25 00:57:11 +01:00
Matthias Koefferlein a4d2e7891c WIP 2021-11-24 23:59:36 +01:00
Matthias Koefferlein fb4caf15ac Merge branch 'master' of github.com:KLayout/klayout into qt6 2021-11-24 23:21:27 +01:00
Matthias Koefferlein c809a236fb Fixed slider sizing in 2.5d view 2021-11-15 18:13:22 +01:00
Matthias Koefferlein ca15d9ec9d WIP 2021-10-18 00:12:46 +02:00
Matthias Koefferlein 747807224b 2.5d view enhancements
* Fine-tuned 2.5d view's key events
* better error message in case of z-stack/layers mismatch
* Don't confine bounding box to actual layout - that can be confusing
2021-10-06 23:17:56 +02:00
Matthias Koefferlein 6dd35693d6 Color support also for multi height mapping of a single layer 2021-09-23 01:00:59 +02:00
Matthias Koefferlein 5d1b12391b Show wireframe in frame colors 2021-09-23 00:33:55 +02:00
Matthias Koefferlein 464bb75626 Live updates of layer properties 2021-09-22 23:29:58 +02:00
Matthias Koefferlein 7acd5ba3e4 WIP: turning 2.5d view into a browser which is non-modal 2021-09-22 00:18:59 +02:00
Matthias Koefferlein 9531376b7a WIP 2021-09-21 22:52:13 +02:00
Matthias Koefferlein 5f188f7f5a Merge branch 'master' into 25d-view-enhancements 2021-09-21 22:51:05 +02:00
Matthias Koefferlein c19f8187c8 WIP: minor refactoring 2021-08-31 22:55:04 +02:00
Matthias Koefferlein 30d896cf8b WIP: disable Escape, Enter keys. No focus for sliders to keep focus inside drawing if possible. 2021-08-31 19:05:30 +02:00
Matthias Koefferlein 32624b1692 WIP: removed some nonsense 2021-08-31 18:47:10 +02:00
Matthias Koefferlein 2b07510f56 WIP: improved fit function 2021-08-31 13:29:50 +02:00
Matthias Koefferlein 5afd48b12f WIP: scale factor editing, pan mode done. 2021-08-31 10:43:02 +02:00
Matthias Koefferlein 4a3e694b9b WIP: added vertical zoom factor slider, some enhancements 2021-08-30 16:01:35 +02:00
Matthias Köfferlein 93e789a861
Fixed #893 (#894) 2021-08-24 21:37:15 +02:00
Matthias Koefferlein f82e22c5c2 Layers are allowed to appear multiple times in the z list now. Move resolution (mouse wheel) now follows scaling 2021-08-15 17:23:36 +02:00
Matthias Koefferlein 6da700b297 Fixed a .pro file 2021-07-31 21:25:08 +02:00
Matthias Koefferlein 006b5ef2a1 Renamed files for easier debugging 2021-07-31 10:55:37 +02:00
Matthias Koefferlein 6ff2f96310 Reverted #796 change: DXF version is back to 1006 which seems to be better compatible with commercial viewers. Using a later version turns out to require a lot of additional information I cannot provide without deeper insight into the DXF structure. 2021-07-22 23:11:35 +02:00
Matthias Koefferlein 585baa4637 Fixed #866 (probe net not working for floating subcircuits in hierarchical net tracer) 2021-07-20 00:23:54 +02:00
Matthias Koefferlein 3f3f4c9173 Fixed some compiler warnings. 2021-07-17 22:03:22 +02:00
klayoutmatthias 1555daf68c Adjustments for Windows build with MSVC2019 (VC 16.10.31419.357)
1. removed some duplicate symbol linker error
2. removed many compiler warnings (mainly size_t/int compatibility)
3. consistent definition of db::pcell_id_type
4. removed UTF-8 character codes from string constants
5. float constants for float arguments
6. timeout in tlHttp when no openssl lib is found (instead of stalling
   app)
2021-07-17 00:20:55 +02:00
Matthias Koefferlein 5bc4ea0cb9 Confine 2.5d view to viewport box 2021-06-13 23:05:16 +02:00
Matthias Köfferlein 8bd58be534
Merge pull request #830 from KLayout/issue-824
Issue 824
2021-06-12 08:58:00 +02:00
Matthias Köfferlein 620c69541f
Merge pull request #834 from KLayout/spelling
Fixed embarrassing typo: Minkowsky -> Minkowski (Hermann Minkowski, 2…
2021-06-12 08:57:32 +02:00
Eugene Zelenko d5c9067d8f Fix misspellings in various modules. 2021-06-11 20:11:37 -07:00
Matthias Koefferlein e85636df59 Updated test golden data 2021-06-10 23:46:13 +02:00
Matthias Koefferlein 43c941004a Fixed embarrassing typo: Minkowsky -> Minkowski (Hermann Minkowski, 22 June 1864 – 12 January 1909) 2021-06-10 23:33:49 +02:00
Matthias Koefferlein 437ba28fc8 Clarify DEF pin vs. LEF pin in LEF/DEF options dialog 2021-06-10 23:25:45 +02:00
Matthias Koefferlein 4c3729631a Rework: need to properly parse NAME records in map files, adjusted test data 2021-06-08 22:49:22 +02:00
Matthias Koefferlein b02a4a3bfa Propsed solution for #824: introduce a new internal purpose: LEFLabel which maps label for LEF pins 2021-06-08 22:16:35 +02:00
Matthias Koefferlein 9239aacc35 Merge branch 'master' into wip 2021-05-22 17:49:01 +02:00
Matthias Koefferlein eb26b6ed34 Basic implementation of 'resolve skew aref' feature 2021-05-21 00:08:02 +02:00
Matthias Koefferlein f4b981c71b Fixed #796: updated DXF version to AC1014 2021-05-19 22:30:09 +02:00
Matthias Koefferlein 0d848d0597 Added LEF macro file list to API and UI 2021-05-04 22:56:03 +02:00
Matthias Koefferlein 1285868546 Skip private-only tests without private data access 2021-05-01 21:36:52 +02:00
Matthias Köfferlein a3937d1943
Merge pull request #780 from KLayout/lefdef-enhancements
Lefdef enhancements
2021-04-30 07:21:00 +02:00
Matthias Koefferlein 7d8825a9fb Ghost cells are not renamed in blend mode 'rename' 2021-04-24 21:30:03 +02:00
Matthias Koefferlein 1ad0298d2d Merge branch 'lefdef-enhancements' 2021-04-24 20:53:43 +02:00
Matthias Koefferlein 05901d767e Generalized macro resolution mode options for LEF/DEF reader (UI, buddy tools). Added lefdef-lef-layouts for buddy scripts for providing external layouts for FOREIGN. 2021-04-22 23:43:28 +02:00
Matthias Koefferlein 870fd2e0bd Fixed some valgrind issues. 2021-04-08 23:30:47 +02:00
Matthias Koefferlein 2862cb4ffd Marked 2.5d as experimental, wording of an error message 2021-04-03 01:39:19 +02:00
Matthias Koefferlein 52754ed418 2.5d view and help integration 2021-04-03 00:37:23 +02:00
Matthias Koefferlein 53f2c0e28f Doc for 2.5d view 2021-04-03 00:17:28 +02:00
Matthias Koefferlein 9c1ef3c6dd Enhanced 2.5d navigation 2021-04-02 22:58:39 +02:00
Matthias Koefferlein 173ba147b1 Rework for D25 tech management - compilation happens dynamically now. 2021-04-02 18:48:00 +02:00
Matthias Koefferlein 773fcb6b67 z Stack description language enhanced. 2021-04-02 17:27:38 +02:00
Matthias Koefferlein 94556c1448 Merge branch 'master' into lvs-enhancements 2021-03-30 18:56:27 +02:00
Matthias Köfferlein 8cb73c2daa
Merge pull request #759 from KLayout/fill-enhancements
Fill enhancements
2021-03-30 12:36:48 +02:00
Matthias Köfferlein 9f26cffa23
Fixed issue #750 (#752) 2021-03-30 12:36:29 +02:00
Matthias Koefferlein 9f295523e4 explicit net joining - preparations 2021-03-27 21:56:53 +01:00
Matthias Koefferlein dbeee1531e Matrix2d and Matrix3d generalized for integer coordinates, added transformation methods for polygons, regions, boxes, edges, etc. Fill enhancements basically implemented. Needs testing. 2021-03-05 15:31:40 +01:00
Matthias Koefferlein 44baeea362 Disable view25d plugin if OpenGL is not enabled. 2021-03-02 22:01:08 +01:00
Matthias Koefferlein be5714607f Added a build dependency for safer building 2021-02-27 19:08:43 +01:00
Matthias Köfferlein 8b2ecf41df
Fixed issue by providing a compatibility bridge between tl::Stream (abstract paths) and tl::URI (#734) 2021-02-25 21:28:48 +01:00
Matthias Köfferlein 483f67307c
Merge pull request #732 from KLayout/lefdef-enhancements
Lefdef enhancements
2021-02-25 21:28:02 +01:00