ordec 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ordec-0.1.0/.gitignore +9 -0
- ordec-0.1.0/LICENSE.txt +202 -0
- ordec-0.1.0/MANIFEST.in +6 -0
- ordec-0.1.0/PKG-INFO +70 -0
- ordec-0.1.0/README.md +44 -0
- ordec-0.1.0/docs/.gitignore +1 -0
- ordec-0.1.0/docs/Makefile +23 -0
- ordec-0.1.0/docs/_static/.keep +0 -0
- ordec-0.1.0/docs/cell_lib/base.py +31 -0
- ordec-0.1.0/docs/cell_lib/index.rst +18 -0
- ordec-0.1.0/docs/conf.py +52 -0
- ordec-0.1.0/docs/dev/containers_and_ci.rst +33 -0
- ordec-0.1.0/docs/dev/design_decisions.rst +13 -0
- ordec-0.1.0/docs/dev/index.rst +12 -0
- ordec-0.1.0/docs/dev/ipython_integration.rst +13 -0
- ordec-0.1.0/docs/dev/ngspice_pipe_mode.rst +36 -0
- ordec-0.1.0/docs/dev/todos.rst +57 -0
- ordec-0.1.0/docs/getting_started.rst +71 -0
- ordec-0.1.0/docs/index.rst +20 -0
- ordec-0.1.0/docs/make.bat +35 -0
- ordec-0.1.0/docs/ordec_logo.svg +29 -0
- ordec-0.1.0/docs/ref/architecture.svg +1295 -0
- ordec-0.1.0/docs/ref/cell_and_generate.rst +5 -0
- ordec-0.1.0/docs/ref/geoprim.rst +18 -0
- ordec-0.1.0/docs/ref/index.rst +21 -0
- ordec-0.1.0/docs/ref/ordb.rst +92 -0
- ordec-0.1.0/docs/ref/ordb_demo.py +325 -0
- ordec-0.1.0/docs/ref/rational.rst +11 -0
- ordec-0.1.0/docs/ref/schema.rst +13 -0
- ordec-0.1.0/docs/related_projects.rst +71 -0
- ordec-0.1.0/docs/requirements.txt +4 -0
- ordec-0.1.0/docs/screenshot_demo.png +0 -0
- ordec-0.1.0/docs/tutorials/index.rst +4 -0
- ordec-0.1.0/examples/JupyterExample.py +29 -0
- ordec-0.1.0/examples/dev/README.md +4 -0
- ordec-0.1.0/examples/dev/render2.py +52 -0
- ordec-0.1.0/ordec/__init__.py +8 -0
- ordec-0.1.0/ordec/base.py +7 -0
- ordec-0.1.0/ordec/cell.py +103 -0
- ordec-0.1.0/ordec/geoprim.py +319 -0
- ordec-0.1.0/ordec/helpers.py +231 -0
- ordec-0.1.0/ordec/importer.py +47 -0
- ordec-0.1.0/ordec/lib/__init__.py +5 -0
- ordec-0.1.0/ordec/lib/base.py +467 -0
- ordec-0.1.0/ordec/lib/examples/__init__.py +0 -0
- ordec-0.1.0/ordec/lib/examples/currentmirror.ord +19 -0
- ordec-0.1.0/ordec/lib/examples/diffpair.ord +52 -0
- ordec-0.1.0/ordec/lib/examples/nand2.ord +55 -0
- ordec-0.1.0/ordec/lib/examples/voltagedivider.ord +11 -0
- ordec-0.1.0/ordec/lib/examples/voltagedivider_py.py +36 -0
- ordec-0.1.0/ordec/lib/generic_mos.py +199 -0
- ordec-0.1.0/ordec/lib/ord_test/__init__.py +0 -0
- ordec-0.1.0/ordec/lib/ord_test/d_ff_soc.ord +32 -0
- ordec-0.1.0/ordec/lib/ord_test/d_flip_flop.ord +38 -0
- ordec-0.1.0/ordec/lib/ord_test/d_latch.ord +32 -0
- ordec-0.1.0/ordec/lib/ord_test/d_latch_soc.ord +21 -0
- ordec-0.1.0/ordec/lib/ord_test/empty.ord +0 -0
- ordec-0.1.0/ordec/lib/ord_test/empty2.ord +1 -0
- ordec-0.1.0/ordec/lib/ord_test/inv_all_features.ord +30 -0
- ordec-0.1.0/ordec/lib/ord_test/inv_for_loop.ord +23 -0
- ordec-0.1.0/ordec/lib/ord_test/inv_liop.ord +19 -0
- ordec-0.1.0/ordec/lib/ord_test/inv_structured.ord +17 -0
- ordec-0.1.0/ordec/lib/ord_test/inv_with_pos.ord +10 -0
- ordec-0.1.0/ordec/lib/ord_test/multicell.ord +11 -0
- ordec-0.1.0/ordec/lib/ord_test/mux2_structured.ord +33 -0
- ordec-0.1.0/ordec/lib/ord_test/nand.ord +38 -0
- ordec-0.1.0/ordec/lib/ord_test/nand_structured.ord +23 -0
- ordec-0.1.0/ordec/lib/ord_test/net_definition.ord +28 -0
- ordec-0.1.0/ordec/lib/ord_test/resdiv_flat_tb.ord +16 -0
- ordec-0.1.0/ordec/lib/ord_test/ringosc.ord +12 -0
- ordec-0.1.0/ordec/lib/ord_test/ringosc_liop.ord +22 -0
- ordec-0.1.0/ordec/lib/ord_test/ringosc_structured.ord +16 -0
- ordec-0.1.0/ordec/lib/ord_test/sr_flip_flop.ord +40 -0
- ordec-0.1.0/ordec/lib/ord_test/strongarm.ord +30 -0
- ordec-0.1.0/ordec/lib/ord_test/strongarm_liop.ord +69 -0
- ordec-0.1.0/ordec/lib/ord_test/strongarm_structured.ord +41 -0
- ordec-0.1.0/ordec/lib/schem_sim_sky130_test.py +160 -0
- ordec-0.1.0/ordec/lib/schem_sim_test.py +238 -0
- ordec-0.1.0/ordec/lib/sky130.py +179 -0
- ordec-0.1.0/ordec/lib/test.py +486 -0
- ordec-0.1.0/ordec/ordb.py +1226 -0
- ordec-0.1.0/ordec/parser/__init__.py +2 -0
- ordec-0.1.0/ordec/parser/ast_conversion.py +259 -0
- ordec-0.1.0/ordec/parser/ast_transformer.py +166 -0
- ordec-0.1.0/ordec/parser/implicit_processing.py +146 -0
- ordec-0.1.0/ordec/parser/lark_transformer.py +859 -0
- ordec-0.1.0/ordec/parser/optimize_position.py +322 -0
- ordec-0.1.0/ordec/parser/ord_grammar.lark +154 -0
- ordec-0.1.0/ordec/parser/parser.py +151 -0
- ordec-0.1.0/ordec/parser/prelim_schem_instance.py +37 -0
- ordec-0.1.0/ordec/parser/schematic_routing.py +637 -0
- ordec-0.1.0/ordec/rational.py +150 -0
- ordec-0.1.0/ordec/render.py +431 -0
- ordec-0.1.0/ordec/routing.py +154 -0
- ordec-0.1.0/ordec/schema.py +268 -0
- ordec-0.1.0/ordec/sim2/__init__.py +0 -0
- ordec-0.1.0/ordec/sim2/ngspice.py +261 -0
- ordec-0.1.0/ordec/sim2/sim_hierarchy.py +64 -0
- ordec-0.1.0/ordec/widgets.py +1069 -0
- ordec-0.1.0/ordec/ws_server.py +288 -0
- ordec-0.1.0/ordec.egg-info/PKG-INFO +70 -0
- ordec-0.1.0/ordec.egg-info/SOURCES.txt +170 -0
- ordec-0.1.0/ordec.egg-info/dependency_links.txt +1 -0
- ordec-0.1.0/ordec.egg-info/entry_points.txt +2 -0
- ordec-0.1.0/ordec.egg-info/requires.txt +15 -0
- ordec-0.1.0/ordec.egg-info/top_level.txt +1 -0
- ordec-0.1.0/pyproject.toml +58 -0
- ordec-0.1.0/pytest.ini +10 -0
- ordec-0.1.0/setup.cfg +4 -0
- ordec-0.1.0/setup.py +23 -0
- ordec-0.1.0/tests/__init__.py +0 -0
- ordec-0.1.0/tests/conftest.py +51 -0
- ordec-0.1.0/tests/golden_helpers.py +160 -0
- ordec-0.1.0/tests/renderview_ref/__init__.py +0 -0
- ordec-0.1.0/tests/renderview_ref/examples_diffpair_sch.svg +137 -0
- ordec-0.1.0/tests/renderview_ref/examples_diffpairtb_sch.svg +112 -0
- ordec-0.1.0/tests/renderview_ref/lib_and2_sym.svg +24 -0
- ordec-0.1.0/tests/renderview_ref/lib_inverter_sch.svg +73 -0
- ordec-0.1.0/tests/renderview_ref/lib_inverter_sym.svg +21 -0
- ordec-0.1.0/tests/renderview_ref/lib_or2_sym.svg +27 -0
- ordec-0.1.0/tests/renderview_ref/lib_ringosc_sch.svg +86 -0
- ordec-0.1.0/tests/renderview_ref/libtest_multibitreg_arrayofstructs5_sym.svg +35 -0
- ordec-0.1.0/tests/renderview_ref/libtest_multibitreg_arrays32_sym.svg +143 -0
- ordec-0.1.0/tests/renderview_ref/libtest_multibitreg_arrays5_sch.svg +183 -0
- ordec-0.1.0/tests/renderview_ref/libtest_multibitreg_arrays5_sym.svg +35 -0
- ordec-0.1.0/tests/renderview_ref/libtest_multibitreg_structofarrays5_sym.svg +35 -0
- ordec-0.1.0/tests/renderview_ref/libtest_portaligntest_sch.svg +21 -0
- ordec-0.1.0/tests/renderview_ref/libtest_rotatetest_sch.svg +197 -0
- ordec-0.1.0/tests/renderview_ref/libtest_tapaligntest_sch.svg +13 -0
- ordec-0.1.0/tests/renderview_ref/libtest_testnmosinv.svg +73 -0
- ordec-0.1.0/tests/renderview_ref/libtest_testnmosinv_nowiring.svg +78 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_invallfeatures_sch.svg +73 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_invforloop_sch.svg +73 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_invliop_sch.svg +73 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_invstructured_sch.svg +73 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_invwithpos_sch.svg +73 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_mux2structured_sch.svg +216 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_nand_sch.svg +129 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_nand_sym.svg +19 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_nandstructured_sch.svg +129 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_netdefinition_sch.svg +95 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_resdivflattb_sch.svg +70 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_ringosc_sch.svg +86 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_ringoscliop_sch.svg +86 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_ringoscstructured_sch.svg +86 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_strongarm_sch.svg +281 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_strongarmliop_sch.svg +282 -0
- ordec-0.1.0/tests/renderview_ref/ordtest_strongarmstructured_sch.svg +280 -0
- ordec-0.1.0/tests/test_geoprim.py +103 -0
- ordec-0.1.0/tests/test_ordb.py +678 -0
- ordec-0.1.0/tests/test_ordb_generic_mos.py +111 -0
- ordec-0.1.0/tests/test_rational.py +57 -0
- ordec-0.1.0/tests/test_renderview.py +184 -0
- ordec-0.1.0/tests/test_schematic.py +93 -0
- ordec-0.1.0/tests/test_sim2.py +87 -0
- ordec-0.1.0/web/.gitignore +24 -0
- ordec-0.1.0/web/app.html +29 -0
- ordec-0.1.0/web/index.html +45 -0
- ordec-0.1.0/web/package-lock.json +1222 -0
- ordec-0.1.0/web/package.json +19 -0
- ordec-0.1.0/web/public/examples/uistate/blank.json +26 -0
- ordec-0.1.0/web/public/examples/uistate/diffpair.json +149 -0
- ordec-0.1.0/web/public/examples/uistate/nand2.json +141 -0
- ordec-0.1.0/web/public/examples/uistate/voltagedivider.json +118 -0
- ordec-0.1.0/web/public/examples/uistate/voltagedivider_py.json +118 -0
- ordec-0.1.0/web/public/fonts/Inconsolata/Inconsolata-VariableFont_wdth,wght.ttf +0 -0
- ordec-0.1.0/web/public/fonts/Inconsolata/OFL.txt +93 -0
- ordec-0.1.0/web/public/ordec_icon.svg +60 -0
- ordec-0.1.0/web/public/ordec_logo.svg +29 -0
- ordec-0.1.0/web/src/main.js +369 -0
- ordec-0.1.0/web/src/style.css +105 -0
- ordec-0.1.0/web/vite.config.js +44 -0
ordec-0.1.0/.gitignore
ADDED
ordec-0.1.0/LICENSE.txt
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
ordec-0.1.0/MANIFEST.in
ADDED
ordec-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ordec
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: ORDeC
|
|
5
|
+
Maintainer-email: Tobias Kaiser <kaiser@tu-berlin.de>
|
|
6
|
+
Project-URL: Homepage, https://github.com/tub-msc/ordec
|
|
7
|
+
Project-URL: Documentation, https://ordec.readthedocs.io
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Requires-Python: >=3.6
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE.txt
|
|
12
|
+
Requires-Dist: pyrsistent>=0.18.1
|
|
13
|
+
Requires-Dist: lark>=1.1.5
|
|
14
|
+
Requires-Dist: astor>=0.8.1
|
|
15
|
+
Requires-Dist: numpy>=1.24.2
|
|
16
|
+
Requires-Dist: scipy>=1.10.1
|
|
17
|
+
Requires-Dist: atpublic>=6.0.1
|
|
18
|
+
Requires-Dist: websockets>=15.0.1
|
|
19
|
+
Requires-Dist: tabulate>=0.8.9
|
|
20
|
+
Provides-Extra: test
|
|
21
|
+
Requires-Dist: pytest>=7.2.1; extra == "test"
|
|
22
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "test"
|
|
23
|
+
Provides-Extra: extra
|
|
24
|
+
Requires-Dist: black>=23.1.0; extra == "extra"
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+

|
|
28
|
+
|
|
29
|
+
**ORDeC** (Open Rapid Design Composer) is an open-source **custom IC design platform**. Its goal is to provide an accessible and streamlined interface to design and analyze analog, mixed-signal and custom digital integrated circuits from schematic to layout. ORDeC consists of:
|
|
30
|
+
|
|
31
|
+
- the ORD hardware description language (HDL) for design entry,
|
|
32
|
+
- a data model and data structures for representing IC design data (such as schematics),
|
|
33
|
+
- external tool integration (e.g. to Ngspice for simulation),
|
|
34
|
+
- a web interface for immediate graphical feedback during the design process.
|
|
35
|
+
|
|
36
|
+
ORDeC is developed by the [Mixed Signal Circuit Design Group](https://www.tu.berlin/msc) at Technische Universität Berlin.
|
|
37
|
+
|
|
38
|
+
The development of ORDeC is currently at an early, experimental stage. The main branch of this repository provides a **working demo of some basic features and ideas**:
|
|
39
|
+
|
|
40
|
+
## Getting Started
|
|
41
|
+
|
|
42
|
+
The easiest way to get started is via Docker:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
docker run --rm -p 127.0.0.1:8100:8100 -it ghcr.io/tub-msc/ordec:latest
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Then, visit http://localhost:8100 to access the web interface and try out examples.
|
|
49
|
+
|
|
50
|
+

|
|
51
|
+
|
|
52
|
+
Further documentation is located in the *docs/* folder and is available online: https://ordec.readthedocs.io/
|
|
53
|
+
|
|
54
|
+
## Motivation
|
|
55
|
+
|
|
56
|
+
ORDeC's goal is to provide an accessible and streamlined interface to design and analyze analog, mixed-signal and custom digital integrated circuits from schematic to layout.
|
|
57
|
+
|
|
58
|
+
Established open-source interfaces for IC design are mostly based on old-fashioned technologies (Tcl/Tk, C etc.) and lack a coherent experience across design stages such as schematic entry, simulation and layout. ORDeC offers a hardware description language (HDL) and interactive web interface across design stages. In the future, a public web-based ORDeC instance might make it possible to get started in custom IC design without any local setup. ORDeC's core is written in Python and is designed to make it easy to analyze and transform design data.
|
|
59
|
+
|
|
60
|
+
Why a new HDL instead of a WYSIWYG interface? The motivation is to make custom IC design more software-like. Design data is made transparent and suitable for software-style version control (e.g. Git), which improves maintainability and makes it possible to adapt workflows from software engineering.
|
|
61
|
+
|
|
62
|
+
Further goals of ORDeC are: built-in support for open PDKs, and visualizing silicon area and energy efficiency as sustainability design parameters.
|
|
63
|
+
|
|
64
|
+
## Contact
|
|
65
|
+
|
|
66
|
+
Questions and feedback via GitHub issues are welcome! Alternatively, feel free to email Tobias Kaiser (kaiser@tu-berlin.de).
|
|
67
|
+
|
|
68
|
+
## Acknowledgements
|
|
69
|
+
|
|
70
|
+
This work is supported by the German Federal Ministry of Research, Technology and Space (BMFTR) under grant [16ME0996 (DI-ORDeC)](https://www.elektronikforschung.de/projekte/di-ordec).
|
ordec-0.1.0/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
**ORDeC** (Open Rapid Design Composer) is an open-source **custom IC design platform**. Its goal is to provide an accessible and streamlined interface to design and analyze analog, mixed-signal and custom digital integrated circuits from schematic to layout. ORDeC consists of:
|
|
4
|
+
|
|
5
|
+
- the ORD hardware description language (HDL) for design entry,
|
|
6
|
+
- a data model and data structures for representing IC design data (such as schematics),
|
|
7
|
+
- external tool integration (e.g. to Ngspice for simulation),
|
|
8
|
+
- a web interface for immediate graphical feedback during the design process.
|
|
9
|
+
|
|
10
|
+
ORDeC is developed by the [Mixed Signal Circuit Design Group](https://www.tu.berlin/msc) at Technische Universität Berlin.
|
|
11
|
+
|
|
12
|
+
The development of ORDeC is currently at an early, experimental stage. The main branch of this repository provides a **working demo of some basic features and ideas**:
|
|
13
|
+
|
|
14
|
+
## Getting Started
|
|
15
|
+
|
|
16
|
+
The easiest way to get started is via Docker:
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
docker run --rm -p 127.0.0.1:8100:8100 -it ghcr.io/tub-msc/ordec:latest
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Then, visit http://localhost:8100 to access the web interface and try out examples.
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
Further documentation is located in the *docs/* folder and is available online: https://ordec.readthedocs.io/
|
|
27
|
+
|
|
28
|
+
## Motivation
|
|
29
|
+
|
|
30
|
+
ORDeC's goal is to provide an accessible and streamlined interface to design and analyze analog, mixed-signal and custom digital integrated circuits from schematic to layout.
|
|
31
|
+
|
|
32
|
+
Established open-source interfaces for IC design are mostly based on old-fashioned technologies (Tcl/Tk, C etc.) and lack a coherent experience across design stages such as schematic entry, simulation and layout. ORDeC offers a hardware description language (HDL) and interactive web interface across design stages. In the future, a public web-based ORDeC instance might make it possible to get started in custom IC design without any local setup. ORDeC's core is written in Python and is designed to make it easy to analyze and transform design data.
|
|
33
|
+
|
|
34
|
+
Why a new HDL instead of a WYSIWYG interface? The motivation is to make custom IC design more software-like. Design data is made transparent and suitable for software-style version control (e.g. Git), which improves maintainability and makes it possible to adapt workflows from software engineering.
|
|
35
|
+
|
|
36
|
+
Further goals of ORDeC are: built-in support for open PDKs, and visualizing silicon area and energy efficiency as sustainability design parameters.
|
|
37
|
+
|
|
38
|
+
## Contact
|
|
39
|
+
|
|
40
|
+
Questions and feedback via GitHub issues are welcome! Alternatively, feel free to email Tobias Kaiser (kaiser@tu-berlin.de).
|
|
41
|
+
|
|
42
|
+
## Acknowledgements
|
|
43
|
+
|
|
44
|
+
This work is supported by the German Federal Ministry of Research, Technology and Space (BMFTR) under grant [16ME0996 (DI-ORDeC)](https://www.elektronikforschung.de/projekte/di-ordec).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
_build
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Minimal makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line, and also
|
|
5
|
+
# from the environment for the first two.
|
|
6
|
+
SPHINXOPTS ?=
|
|
7
|
+
SPHINXBUILD ?= sphinx-build
|
|
8
|
+
SOURCEDIR = .
|
|
9
|
+
BUILDDIR = _build
|
|
10
|
+
|
|
11
|
+
.PHONY: default
|
|
12
|
+
default: html
|
|
13
|
+
|
|
14
|
+
# Put it first so that "make" without argument is like "make help".
|
|
15
|
+
help:
|
|
16
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
17
|
+
|
|
18
|
+
.PHONY: help Makefile
|
|
19
|
+
|
|
20
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
21
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
22
|
+
%: Makefile
|
|
23
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# ---
|
|
2
|
+
# jupyter:
|
|
3
|
+
# jupytext:
|
|
4
|
+
# text_representation:
|
|
5
|
+
# extension: .py
|
|
6
|
+
# format_name: light
|
|
7
|
+
# format_version: '1.5'
|
|
8
|
+
# jupytext_version: 1.16.4
|
|
9
|
+
# kernelspec:
|
|
10
|
+
# display_name: Python 3 (ipykernel)
|
|
11
|
+
# language: python
|
|
12
|
+
# name: python3
|
|
13
|
+
# ---
|
|
14
|
+
|
|
15
|
+
# # Base
|
|
16
|
+
#
|
|
17
|
+
# This page shows some of ORDeC's built-in design library:
|
|
18
|
+
|
|
19
|
+
from ordec import lib
|
|
20
|
+
|
|
21
|
+
# ## Transistors
|
|
22
|
+
|
|
23
|
+
lib.Nmos().symbol
|
|
24
|
+
|
|
25
|
+
lib.Pmos().symbol
|
|
26
|
+
|
|
27
|
+
# ## Inverter
|
|
28
|
+
|
|
29
|
+
lib.Inv().symbol
|
|
30
|
+
|
|
31
|
+
lib.Inv().schematic
|
ordec-0.1.0/docs/conf.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Configuration file for the Sphinx documentation builder.
|
|
2
|
+
#
|
|
3
|
+
# For the full list of built-in configuration values, see the documentation:
|
|
4
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
5
|
+
|
|
6
|
+
# -- Project information -----------------------------------------------------
|
|
7
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
8
|
+
|
|
9
|
+
project = 'ORDeC'
|
|
10
|
+
copyright = '2025, ORDeC Contributors'
|
|
11
|
+
author = 'ORDeC Contributors'
|
|
12
|
+
|
|
13
|
+
# -- General configuration ---------------------------------------------------
|
|
14
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
15
|
+
|
|
16
|
+
extensions = [
|
|
17
|
+
'sphinx_rtd_theme',
|
|
18
|
+
'sphinx.ext.autodoc',
|
|
19
|
+
'sphinx.ext.napoleon',
|
|
20
|
+
#'jupyter_sphinx',
|
|
21
|
+
#'nbsphinx',
|
|
22
|
+
"myst_nb",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
templates_path = ['_templates']
|
|
26
|
+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'conf.py', 'data_model.rst']
|
|
27
|
+
|
|
28
|
+
napoleon_use_ivar = True
|
|
29
|
+
|
|
30
|
+
autodoc_default_options = {
|
|
31
|
+
'show-inheritance': True,
|
|
32
|
+
}
|
|
33
|
+
autodoc_class_signature = 'separated'
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# -- Options for HTML output -------------------------------------------------
|
|
37
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
38
|
+
|
|
39
|
+
#html_theme = 'python_docs_theme'
|
|
40
|
+
html_theme = 'sphinx_rtd_theme'
|
|
41
|
+
#html_theme = 'alabaster'
|
|
42
|
+
html_static_path = ['_static']
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
import jupytext
|
|
46
|
+
|
|
47
|
+
#nbsphinx_custom_formats = {
|
|
48
|
+
# '.py': lambda s: jupytext.reads(s, '.py'),
|
|
49
|
+
#}
|
|
50
|
+
nb_custom_formats = {
|
|
51
|
+
".py": ["jupytext.reads", {"fmt": "py"}]
|
|
52
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.. _containers_and_ci:
|
|
2
|
+
|
|
3
|
+
Containers & continuous integration
|
|
4
|
+
===================================
|
|
5
|
+
|
|
6
|
+
For containerization and continuous integration, Docker and GitHub Actions are used.
|
|
7
|
+
|
|
8
|
+
ordec-base Docker image
|
|
9
|
+
-----------------------
|
|
10
|
+
|
|
11
|
+
The custom base image `ordec-base <https://github.com/tub-msc/ordec/pkgs/container/ordec-base>`_ is used for building and testing ORDeC in the subsequent stages. It contains all (or most) dependencies, including a custom Ngspice build. In the future, PDKs and OpenVAF will also be included in the base image.
|
|
12
|
+
|
|
13
|
+
This base image prevents having to recompile the fixed environment too often. Additionally, it is somwhat optimized for size (e.g., build dependencies of ngspice are not in final image).
|
|
14
|
+
|
|
15
|
+
This image is automatically built through *.github/workflows/base.yaml* using *base.Dockerfile*. It can of course also be built manually using *base.Dockerfile*.
|
|
16
|
+
|
|
17
|
+
ordec Docker image
|
|
18
|
+
------------------
|
|
19
|
+
|
|
20
|
+
The `ordec <https://github.com/tub-msc/ordec/pkgs/container/ordec>`_ image is built on top of ordec-base. Its default run command starts the web interface on port 8100. This image makes it possible to install + run ORDeC through a single docker command, as is described in :ref:`getting_started` and the readme file.
|
|
21
|
+
|
|
22
|
+
This image is automatically built through *.github/workflows/build.yaml* using *Dockerfile*. It can also be built manually using this *Dockerfile*.
|
|
23
|
+
|
|
24
|
+
Automated pytest runs
|
|
25
|
+
---------------------
|
|
26
|
+
|
|
27
|
+
Pytest is run automatically through *.github/workflows/tests.yaml*. Here, ordec-base is used as container in which the tests are run.
|
|
28
|
+
|
|
29
|
+
There are some slight mismatches between this GitHub action and the ordec-base image (maybe this can be addressed in the future):
|
|
30
|
+
|
|
31
|
+
- While ordec-base uses the *app* user, GitHub actions seem to only work properly as the *root* user inside of a container.
|
|
32
|
+
- The user venv */home/app/venv*, where parts of the dependencies are installed, is reused by root.
|
|
33
|
+
- The directory */home/app/ordec*, where ORDeC is "supposed to go" in the logic of ordec-base, is ignored here.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Design Decisions
|
|
2
|
+
================
|
|
3
|
+
|
|
4
|
+
We collect some past and future design decisions here.
|
|
5
|
+
|
|
6
|
+
- ORDeC is organized as a **monorepo**. Inside it, things should be as modular as possible.
|
|
7
|
+
- Use ORDB for internal data as much as possible. Avoid YAML and flat string keys.
|
|
8
|
+
- Support common exchange formats like Verilog, Spice netlists, DEF/LEF and GDS.
|
|
9
|
+
- Design tasks should be pure functions.
|
|
10
|
+
- The native design entry format (ORD/Python) is separate from the native exchange format (serialized ORDB). Foreign exchange formats can be used for both purposes, design entry and exchange.
|
|
11
|
+
- Do not generate code for the user. Eliminate the need for boilerplate and overly verbose code.
|
|
12
|
+
- The ORD or Python design input should act as single source of truth.
|
|
13
|
+
- Try to minimize external dependencies, especially if they are large and at risk of becoming unmaintained.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
IPython integration
|
|
2
|
+
-------------------
|
|
3
|
+
|
|
4
|
+
*IPython.display.SVG* leads to problems, in my case with font rendering. This is a known problem (see `IPython issue #1866`_ and `IPython issue #700`_). The underlying problem is that the provided data is directly embedded into Jupyter's DOM. One solution seems to be to mess around with the XML (proposed in `IPython issue #700`_).
|
|
5
|
+
|
|
6
|
+
The working solution is to use a *\<img\>* tag and embed the SVG as Base64 data url. This is now done by through the **\_repr_html\_** method of selected View classes.
|
|
7
|
+
|
|
8
|
+
An earlier, more explicit approach was to write::
|
|
9
|
+
|
|
10
|
+
IPython.display.Image(url=svg2url(render_schematic(lib.Inverter().schematic)))
|
|
11
|
+
|
|
12
|
+
.. _`IPython issue #700`: https://github.com/ipython/ipython/issues/700
|
|
13
|
+
.. _`IPython issue #1866`: https://github.com/ipython/ipython/issues/1866/
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
Ngspice pipe mode
|
|
2
|
+
=================
|
|
3
|
+
|
|
4
|
+
sim2 currently uses Ngspice in pipe mode (:code:`ngspice -p`). Unfortunately, Ngspice has slightly different I/O behavior depending on whether it is built with libreadline, libedit or neither.
|
|
5
|
+
|
|
6
|
+
Behavior with neither libreadline nor libedit::
|
|
7
|
+
|
|
8
|
+
$ echo -e "echo hello\necho world\nquit" | /home/app/ngspice/install_min/bin/ngspice -p
|
|
9
|
+
ngspice 1 -> hello
|
|
10
|
+
ngspice 2 -> world
|
|
11
|
+
ngspice 3 -> ngspice-44.2 done
|
|
12
|
+
|
|
13
|
+
Behavior with libreadline::
|
|
14
|
+
|
|
15
|
+
$ echo -e "echo hello\necho world\nquit" | /home/app/ngspice/install_readline/bin/ngspice -p
|
|
16
|
+
ngspice 1 -> echo hello
|
|
17
|
+
hello
|
|
18
|
+
ngspice 2 -> echo world
|
|
19
|
+
world
|
|
20
|
+
ngspice 3 -> quit
|
|
21
|
+
ngspice-44.2 done
|
|
22
|
+
|
|
23
|
+
Behavior with libedit::
|
|
24
|
+
|
|
25
|
+
$ echo -e "echo hello\necho world\nquit" | /home/app/ngspice/install_editline/bin/ngspice -p
|
|
26
|
+
hello
|
|
27
|
+
world
|
|
28
|
+
ngspice-44.2 done
|
|
29
|
+
|
|
30
|
+
These differences are addressed in ordec/sim2/ngspice.py.
|
|
31
|
+
|
|
32
|
+
TODO: Add automated testing for this in container, such as::
|
|
33
|
+
|
|
34
|
+
PATH=/home/app/ngspice/install_min/bin:$PATH_ORIG pytest tests/test_sim2.py
|
|
35
|
+
PATH=/home/app/ngspice/install_readline/bin:$PATH_ORIG pytest tests/test_sim2.py
|
|
36
|
+
PATH=/home/app/ngspice/install_editline/bin:$PATH_ORIG pytest tests/test_sim2.py
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
Todos
|
|
2
|
+
=====
|
|
3
|
+
|
|
4
|
+
ORDB
|
|
5
|
+
----
|
|
6
|
+
|
|
7
|
+
- Add tree() method to Cursor that descends using NPath
|
|
8
|
+
- Implement subgraph directory index + Cursor.iterdir()
|
|
9
|
+
- Attr has outgrown dataclass, so do it manually.
|
|
10
|
+
- Add test for legacy and new @generate
|
|
11
|
+
- (Add test for cursormethod)
|
|
12
|
+
- Invert Cursor-Node relationship, this should make the types more natural. Also, this makes cursormethod the default.
|
|
13
|
+
- External references:
|
|
14
|
+
|
|
15
|
+
- new Attr subclass for subgraph reference?
|
|
16
|
+
- add some kind of index to detect DanglingExternalRefs either on adding the ExternalRef or when updating the subgraph reference Attr.
|
|
17
|
+
- do we need any other indices for external references?
|
|
18
|
+
|
|
19
|
+
- LocalRef type checking (refs_ntype)
|
|
20
|
+
- Cursor deletion:
|
|
21
|
+
|
|
22
|
+
- delete path + node + "dependent" nodes?
|
|
23
|
+
- Stuff that gets added together (MultiInserter) should also be deleted together?
|
|
24
|
+
- complex example: PolyVec2R
|
|
25
|
+
|
|
26
|
+
- Test indices
|
|
27
|
+
|
|
28
|
+
- in some limited testcases with updates and removals that affect indices
|
|
29
|
+
- flag in SubgraphUpdater to track index changes (?)
|
|
30
|
+
- check whether rebuilding subgraph from node list leds to identical index
|
|
31
|
+
|
|
32
|
+
- Type checking for Subgraph
|
|
33
|
+
|
|
34
|
+
- currently we must check isinstance(s, Subgraph) and isinstance(s.node, MyHead)
|
|
35
|
+
- we could add a metaclass to Subgraph and override its issubclass handler
|
|
36
|
+
|
|
37
|
+
- Branching and merging of Subgraphs
|
|
38
|
+
- SimHierarchy: do not duplicates the nets of Schematics and Symbols
|
|
39
|
+
- Profiling
|
|
40
|
+
|
|
41
|
+
SVG Renderer
|
|
42
|
+
------------
|
|
43
|
+
|
|
44
|
+
- understand how to properly compute the scaling factor for text instead of just guessing a value (0.045).
|
|
45
|
+
- in the medium term, make the symbols more compact overall and put params outside symbol. then, we can also drop the condensed font hack.
|
|
46
|
+
- can we deliver the font to the browser so that the user does not need to have inconsolate installed and the svg does not need to embed the font (some sort of browser font inheritance from the html page to the svg context)?
|
|
47
|
+
- firefox and cairosvg render fonts slightly differently (baseline). figure out whether an alternative dominant-baseline setting could fix this.
|
|
48
|
+
|
|
49
|
+
base.Dockerfile
|
|
50
|
+
---------------
|
|
51
|
+
|
|
52
|
+
Big dependencies (look into these to shrink base image further):
|
|
53
|
+
|
|
54
|
+
- scipy
|
|
55
|
+
- numpy
|
|
56
|
+
- ace-builds
|
|
57
|
+
- npm
|