Commit Graph

127 Commits

Author SHA1 Message Date
jan
a82b1d4dcf comment grammar 2023-10-12 23:40:24 -07:00
jan
c5bd34c9d6 references to Pattern should be forward references 2023-10-12 01:31:29 -07:00
jan
9d5177ce63 Allow Pattern.ref() to take an Abstract 2023-10-12 01:31:05 -07:00
1a823a54f3 Lots of doc updates 2023-10-07 01:54:16 -07:00
aac8522d18 Give a more explicit error message 2023-10-07 01:52:40 -07:00
f6bfd3b638 Move plug/place/interface to Pattern
Since Pattern has ports already, these should live in Pattern and get
wrapped elsewhere. Builder becomes a context-holder (holding .library
and .dead) and some code duplication goes away.
2023-10-07 01:46:43 -07:00
jan
e3fdcba645 various doc updates 2023-09-17 21:33:22 -07:00
a8686a6748 add has_ports() 2023-07-17 21:30:30 -07:00
94300d926a Update comments 2023-07-17 21:30:30 -07:00
0e2b628465 add prune_layers and prune_refs 2023-06-02 21:15:16 -07:00
jan
3f5a4599fc fix bounds 2023-04-14 22:27:44 -07:00
jan
23336150c6 don't keep track of y-mirroring separately from x 2023-04-14 22:20:40 -07:00
jan
d14d5438a4 renderpather, get_bounds includes repetitions, Boundable 2023-04-13 17:54:52 -07:00
jan
41dd123efe fix bounds 2023-04-12 22:40:08 -07:00
jan
13140ac1d3 pattern copy should be deep 2023-04-12 21:43:58 -07:00
jan
8d47ff9fb4 wrong func name 2023-04-12 21:42:56 -07:00
jan
ab4f24cd77 missing parens 2023-04-12 21:41:18 -07:00
jan
237b24ae8e repetitions affect bounds 2023-04-12 19:31:17 -07:00
jan
835bcc24e0 wip get_bounds 2023-04-12 18:43:44 -07:00
jan
6f67c81b97 faster get_bounds for manhattan refs 2023-04-12 18:21:37 -07:00
jan
152dea9b60 misc fixes 2023-04-12 14:47:10 -07:00
jan
88d123af71 move to dicty layers and targets 2023-04-12 13:56:50 -07:00
jan
4aad8ab786 shorten labels 2023-04-07 23:50:31 -07:00
jan
de04d06b7a cleanup 2023-04-07 23:49:20 -07:00
jan
62b82eb230 get rid of NamedPattern in favor of just returning a tuple 2023-04-06 16:52:01 -07:00
0917b02a31 str(namedpattern) should just return its name 2023-03-19 10:17:30 -07:00
c515ada2f8 updates to Pattern.polygonize() 2023-03-19 10:17:09 -07:00
f5d1fd2c29 Pipe-operator does not support forward references 2023-02-23 16:23:06 -08:00
28424be3db add polygon() and label() convenience methods 2023-02-23 13:42:26 -08:00
a710494dd8 use Self type 2023-02-23 13:37:34 -08:00
c9402500e2 modernize type annotations 2023-02-23 13:15:32 -08:00
23c64b4f63 remove per-shape polygonization state 2023-02-23 11:25:40 -08:00
7a4a96ff5f fixes based on mypy 2023-02-09 16:43:06 -08:00
8c42145e44 fixes/updates 2023-02-09 16:38:33 -08:00
1d720b6577 Drop ports by default 2023-02-08 09:26:44 -08:00
3105a669b4 add NamedPattern 2023-01-27 10:07:39 -08:00
7fc0902fe7 Add recurse arg to get_bounds 2023-01-26 23:47:16 -08:00
c2ce9ed547 more fixes and improvements 2023-01-25 23:19:25 -08:00
22735125d5 Lots of progress on tutorials 2023-01-24 23:25:10 -08:00
1b04fb7ed0 lots of fixes to get test_rep running 2023-01-24 12:45:44 -08:00
326c9b9727 flake8-aided fixes 2023-01-23 22:27:26 -08:00
6565b8baa3 more wip -- most central stuff is first pass done 2023-01-22 16:59:32 -08:00
df1acd7c87 wip -- more fixes 2023-01-21 23:38:53 -08:00
jan
743428d8d7 wip 2023-01-21 21:22:11 -08:00
jan
e482107366 wip 2023-01-19 22:20:16 -08:00
83b9af0cc3 Remove support for dose
Since there isn't GDS/OASIS level support for dose, this can be mostly
handled by using arbitrary layers/dtypes directly. Dose scaling isn't
handled as nicely that way, but it corresponds more directly to what
gets written to file.
2023-01-18 18:14:33 -08:00
jan
1741cfb755 wip again 2023-01-13 20:33:14 -08:00
14e9a7ccbe indirect type spec for Pattern 2023-01-12 23:04:59 -08:00
jan
42c3a2b1e1 WIP: make libraries and names first-class! 2023-01-11 18:59:57 -08:00
ed9b0df057 fix scaling for objects with repetitions 2022-03-16 23:54:26 -07:00