Commit Graph

873 Commits

Author SHA1 Message Date
Matthias Koefferlein 17f53cf54e WIP: some performance improvements, cronology debugging support (experimental) 2018-11-03 12:28:27 +01:00
Matthias Koefferlein 62224b0d91 Merge branch 'pymod' into net-extract 2018-10-14 23:57:18 +02:00
Matthias Koefferlein 90c03140b3 Fixed #185 for pymod branch 2018-10-14 23:42:10 +02:00
Matthias Koefferlein dd9d46da38 Activated stream unit tests. 2018-10-14 23:34:25 +02:00
Matthias Koefferlein 3392c08d36 Merge branch 'pymod' into net-extract 2018-10-09 23:43:58 +02:00
Matthias Koefferlein 904a12c11e Added a way to get the exit code from InputPipe
The method is to call wait() on the pipe object
which returns the exit code.

Some tests have been added for this.
2018-10-09 23:40:28 +02:00
Matthias Koefferlein 7df9242efb Merge remote-tracking branch 'origin/pymod' into pymod 2018-10-09 23:00:30 +02:00
Matthias Koefferlein 222b98fd70 Some fixes for the testsuite
With these fixes, unit tests pass with MacOS
(set DYLD_LIBRARY_PATH!)

1.) MacOS takes popen vs. pclose seriously
By using fopen we basically spoil the system and other popen
won't work.

2.) For system integrity, MacOS does not propagate DYLD_LIBRARY_PATH
to child processes such as sh. This has to be done explictly.

3.) Search the klayout binary in the right path (klayout.app/...)

4.) Reset KLAYOUT_HOME for less intervention by installed macros
2018-10-09 13:57:26 -07:00
Matthias Koefferlein 19a3f19378 Removed some misleading comments. 2018-10-09 21:24:23 +02:00
Matthias Koefferlein 70778e9414 Now also fixed the bd unit tests - there are also independent from the streamer plugins now. 2018-10-09 01:12:58 +02:00
Matthias Koefferlein f0661ba0b3 Some wrong header includes fixed. 2018-10-09 00:35:03 +02:00
Matthias Koefferlein a7846ead9f Add-on to previous commit: fixes some Python issues
The comments for LoadLayoutOptions#layer_map, #cif_layer_map
and #dxf_layer_map have been updated to reflect the new status
of these properties (which have been methods). The tests
are updated accordingly (layer_map() -> layer_map).
2018-10-09 00:18:45 +02:00
Matthias Koefferlein db981b0f7d A huge patch to make Windows build functional again after recent updates
The issue was: for MacOS/clang, the virtual format-specific
option structs had to be embedded in one compile unit (for RTTI).
In Windows this will lead to link errors since the DLL is not
reachable at build time for the generic reader/writer configuration in
the buddy tools.

The solution is to use GSI methods (provided for scripting) to
set the reader/writer options in a generic way that does not
require linking against the plugin DLLs.
2018-10-08 23:31:22 +02:00
Matthias Koefferlein 121ec46390 Attempt to introduce multithreading into hierarchical processor
However, performance does not scale well currently.
2018-10-08 00:10:54 +02:00
Matthias Koefferlein 35e03c5f95 Added one more testcase. 2018-10-07 16:56:14 +02:00
Matthias Koefferlein 0bb45dd092 WIP: some refactoring. 2018-10-06 23:59:47 +02:00
Matthias Koefferlein 2fa0d21615 Added self-overlap-with-sizing tests. 2018-10-06 22:25:24 +02:00
Matthias Koefferlein ee55a4ca21 Fixed hier processor in case of self-interactions 2018-10-06 21:56:13 +02:00
Matthias Koefferlein 2e61998372 WIP: interactions with same layer (needs finishing) 2018-10-06 01:40:01 +02:00
Matthias Koefferlein 4ffcaba5d1 Important bug fix for MacOS
Unlike Linux, RTTI does not work in MacOS/clang when the classes
originate from different compile units. I think that Linux's C++
runtime not only checks for identical vtable, but alternatively
for same name. On MacOS, dynamic_cast will fail instead. This fix
solves this issue by placing the important steam format option
specializations into a single specific shared object (the DB plugin).
2018-10-04 14:10:22 -07:00
Matthias Koefferlein f7c4aa0348 (Partial) attempt to fix the plugin detection issue on MacOS 2018-10-02 17:36:30 -07:00
Matthias Koefferlein c380b9c4bf Hier processor: supports two layouts for input now. 2018-10-01 22:45:46 +02:00
Matthias Koefferlein f01e102f0f Merge branch 'pymod' into net-extract 2018-09-30 23:37:21 +02:00
Matthias Koefferlein 967652784e Merge remote-tracking branch 'remotes/origin/master' into pymod 2018-09-30 23:26:20 +02:00
Matthias Koefferlein c08f0a1fda Fixed #176 by introducing a separate bitmap for text drawing optimization. 2018-09-30 10:27:44 +02:00
Matthias Koefferlein c342bca584 WIP: updated solution
* Reverted first solution partially because it lead to drawing errors.
* Redraw thread will fire workers only for layers that really need
  to be drawn
2018-09-30 00:16:35 +02:00
Matthias Koefferlein ad7154c6cf Basic performance improvement in the bitmap to image area
Empty bitmaps are skipped now
2018-09-29 23:35:30 +02:00
Matthias Koefferlein c75e67268b Merge branch 'pymod' into net-extract 2018-09-26 21:40:23 +02:00
Matthias Koefferlein d03d4bec1d Fixed build after merge. 2018-09-26 21:27:31 +02:00
Matthias Koefferlein 6795de1dbb Merge remote-tracking branch 'remotes/origin/master' into pymod
Provides fixes for issue #166 and #172.
2018-09-26 21:15:08 +02:00
Matthias Koefferlein d4adb194e3 Fixed #172 (DEF reader does not pull vias from LEF) 2018-09-26 20:49:04 +02:00
Matthias Koefferlein defbf33d19 WIP: distance parameter for hierarchical processor. 2018-09-25 23:26:18 +02:00
Matthias Koefferlein 824888aaa6 WIP: some refactoring. 2018-09-25 22:25:40 +02:00
Matthias Koefferlein eb71121c38 WIP: bugfix - intra-array self interactions. 2018-09-23 22:34:50 +02:00
Matthias Koefferlein 52a4459dac WIP: timer enhanced (reports start now), drop empty boxes in hier processor (will make the processor stall). 2018-09-23 20:06:27 +02:00
Matthias Koefferlein 611a98165d WIP: diagnostic output 2018-09-23 17:49:10 +02:00
Matthias Koefferlein 3c15d8e387 WIP: some optimization with empty intruder hint. 2018-09-23 17:22:08 +02:00
Matthias Koefferlein 9e09002d43 WIP: refined interaction testing. 2018-09-23 16:57:49 +02:00
Matthias Koefferlein c1b0892641 WIP: More testcases, better test coverage, some bug fixes 2018-09-23 16:08:00 +02:00
Matthias Koefferlein d7099edcae WIP: gcov enabled, added more test cases. 2018-09-23 09:29:05 +02:00
Matthias Koefferlein 8420b29025 WIP: mixed propagation sample. 2018-09-23 00:53:19 +02:00
Matthias Koefferlein 2595f4ed6b WIP: more test coverage. 2018-09-23 00:37:27 +02:00
Matthias Koefferlein 76b045e2ac WIP: hierarchy variant building, tests 2018-09-22 23:44:24 +02:00
Matthias Koefferlein 3cbbe041aa WIP: some bugfixes, new tests (up/down, down/up interactions) 2018-09-22 23:37:23 +02:00
Matthias Koefferlein a551300e0d WIP: Some refactoring (hier processing in extra file), unit tests, bug fixes 2018-09-22 22:32:36 +02:00
Matthias Koefferlein 3214200e17 WIP: code factory 2018-09-22 02:45:56 +02:00
Matthias Koefferlein b25401c254 Added twofold-typed box scanner. 2018-09-20 23:44:51 +02:00
Matthias Koefferlein 9ccc0a86b1 Fixed a merge issue (build was broken) 2018-09-17 22:34:01 +02:00
Matthias Koefferlein 3b59d97195 Ported Ruby initialization issue bugfix from pymod to master.
On OpenSuSE 15 (gcc 7.3.1, Ruby 2.5.0) crashes have been
observed on starting the application. The main reason seems
to be the attempt to disable $0 redirection in Ruby.

This is not required for Ruby >= 1.9, so this is better dropped.
2018-09-17 21:43:38 +02:00
Matthias Köfferlein 11d5819c77 Fix of a small bug found by MSVC iterator assertions 2018-09-17 21:31:52 +02:00