najaeda 0.1.8__cp310-cp310-macosx_11_0_arm64.whl → 0.1.9__cp310-cp310-macosx_11_0_arm64.whl
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.
Potentially problematic release.
This version of najaeda might be problematic. Click here for more details.
- najaeda/docs/.readthedocs.yaml +2 -7
- najaeda/docs/source/api.rst +2 -2
- najaeda/docs/source/conf.py +21 -4
- najaeda/docs/source/equipotential.rst +0 -5
- najaeda/docs/source/examples.rst.in +66 -0
- najaeda/docs/source/index.rst +3 -1
- najaeda/docs/source/instance.rst +4 -8
- najaeda/docs/source/introduction.rst +53 -0
- najaeda/docs/source/net.rst +6 -6
- najaeda/docs/source/preprocessor.py +73 -0
- najaeda/docs/source/term.rst +6 -6
- najaeda/docs/source/visitors.rst +13 -0
- najaeda/instance_visitor.py +12 -20
- najaeda/libnaja_snl_python.dylib +0 -0
- najaeda/netlist.py +409 -91
- najaeda/stats.py +1 -1
- {najaeda-0.1.8.dist-info → najaeda-0.1.9.dist-info}/METADATA +3 -3
- najaeda-0.1.9.dist-info/RECORD +27 -0
- najaeda/docs/Makefile +0 -20
- najaeda/docs/make.bat +0 -35
- najaeda-0.1.8.dist-info/RECORD +0 -25
- {najaeda-0.1.8.dist-info → najaeda-0.1.9.dist-info}/WHEEL +0 -0
- {najaeda-0.1.8.dist-info → najaeda-0.1.9.dist-info}/licenses/AUTHORS +0 -0
- {najaeda-0.1.8.dist-info → najaeda-0.1.9.dist-info}/licenses/LICENSE +0 -0
najaeda/stats.py
CHANGED
|
@@ -286,7 +286,7 @@ def dump_stats(design, stats_file, designs_stats, dumped_models):
|
|
|
286
286
|
# primitives_figure.savefig('figures/flat_primitives_' + design.getName() + '.png')
|
|
287
287
|
|
|
288
288
|
|
|
289
|
-
def
|
|
289
|
+
def dump_design_stats(design, stats_file, with_pandas=False):
|
|
290
290
|
designs_stats = DesignsStats()
|
|
291
291
|
compute_design_stats(design, designs_stats)
|
|
292
292
|
dumped_models = set()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: najaeda
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: Naja EDA Python package
|
|
5
5
|
Author-Email: Naja Authors <contact@keplertech.io>
|
|
6
6
|
License: Apache License 2.0
|
|
@@ -119,7 +119,7 @@ also defining conditions for stopping or continuing exploration.
|
|
|
119
119
|
def print_instance(instance):
|
|
120
120
|
print(f"{instance}:{instance.get_model_name()}")
|
|
121
121
|
visitor_config = instance_visitor.VisitorConfig(callback=print_instance)
|
|
122
|
-
instance_visitor.
|
|
122
|
+
instance_visitor.visit(top, visitor_config)
|
|
123
123
|
|
|
124
124
|
Counting the Number of Leaves in a Netlist
|
|
125
125
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
@@ -143,7 +143,7 @@ This specific use case shows how to count the number of leaf instances in a netl
|
|
|
143
143
|
else:
|
|
144
144
|
leaves["count"] += 1
|
|
145
145
|
visitor_config = instance_visitor.VisitorConfig(callback=count_leaves, args=(leaves,))
|
|
146
|
-
instance_visitor.
|
|
146
|
+
instance_visitor.visit(top, visitor_config)
|
|
147
147
|
print(f"{top} leaves count")
|
|
148
148
|
print(f"nb_assigns={leaves['assigns']}")
|
|
149
149
|
print(f"nb constants={leaves['constants']}")
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
najaeda-0.1.9.dist-info/RECORD,,
|
|
2
|
+
najaeda-0.1.9.dist-info/WHEEL,sha256=rOJaAfyDeYqpyZcvF2uMKwvjCoDaR0tVOjIX1nCiRq8,114
|
|
3
|
+
najaeda-0.1.9.dist-info/METADATA,sha256=mLCLaVsZwtrgbmzHBHz5w9mjqDzjNev79QSgW4VD9I0,6854
|
|
4
|
+
najaeda-0.1.9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
|
+
najaeda-0.1.9.dist-info/licenses/AUTHORS,sha256=7NYEGDAX_1QZvCCHfq8YVXC5ZbwH_pbNI8DcSmm70GU,377
|
|
6
|
+
najaeda/netlist.py,sha256=SYVF3z_koUwaRczDTVeDsVo9fT1OMw77R-1U3cLahk0,44955
|
|
7
|
+
najaeda/libnaja_snl_python.dylib,sha256=poDVm41oO4Iz7JkvlW_2ZVa8poCzOV92BmJVupVpd0U,808208
|
|
8
|
+
najaeda/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
najaeda/libnaja_snl.dylib,sha256=AFqR64aX6KnzkX6lrLGCuscx2f5E07umNC_7E9cNrT0,574272
|
|
10
|
+
najaeda/snl.so,sha256=d9W9rNMzNl0T88DpH7thDuP3NK6nyVgJYXYKx3Uxm7I,97888
|
|
11
|
+
najaeda/stats.py,sha256=FoNdmu7bf-Iy1RW1WO-4Ue-i7O7CRqEDbGAuyhfVxf4,12879
|
|
12
|
+
najaeda/instance_visitor.py,sha256=JMsPSQaWNiDjxS05rxg83a0PIsrOIuTi9G35hkwdibs,1530
|
|
13
|
+
najaeda/docs/requirements.txt,sha256=1XIBGTIplm2arC9HhDCfLuAjozGdVSXkqmOj8ybuT6U,121
|
|
14
|
+
najaeda/docs/.readthedocs.yaml,sha256=nN_Psro-YdfPcIiueZkJcZepts68g23rqVThhKnmVRw,790
|
|
15
|
+
najaeda/docs/source/index.rst,sha256=otNU_o72UQp2jEiF4ymADbfU8OeZqQme0K_JQz4kfSU,394
|
|
16
|
+
najaeda/docs/source/instance.rst,sha256=7B2IBB0p32Tb4qvOCE77OlrQaYpFADvmTlq1q8eyVqw,458
|
|
17
|
+
najaeda/docs/source/conf.py,sha256=iSeerg2pJlZlhtwkJ9edRRYrLEdx3R1p7GWi78dHP1o,2019
|
|
18
|
+
najaeda/docs/source/preprocessor.py,sha256=TK4LsTdNbv2dxkKQaJ7cEyo9PU5v_56vlrFCJYIPKf8,2625
|
|
19
|
+
najaeda/docs/source/term.rst,sha256=QKWT6u1xjEjusvcZYknKQ-M83ibohO5y1EYTQnnXqak,690
|
|
20
|
+
najaeda/docs/source/net.rst,sha256=i6YEir8ZOldSY8-UmPxgVJ4Ot3y-Q6seRkBr2H-KmXc,732
|
|
21
|
+
najaeda/docs/source/visitors.rst,sha256=KScCr7BytrhFxWfZPyYWIrr3CEJuk5Tx-LjEuDnnBaA,227
|
|
22
|
+
najaeda/docs/source/examples.rst.in,sha256=4ZStOA3N5VHbKZgdn2kaEQZL7wPoJwODS2E1BO54uFY,2091
|
|
23
|
+
najaeda/docs/source/equipotential.rst,sha256=0MDi-4fPEsX7K_ezWj5DB3mCalnhqN-sicYbQKYQfNc,335
|
|
24
|
+
najaeda/docs/source/introduction.rst,sha256=kE4qxEJCgcAswiT3rIJS21oBYIMg1cyT_rKmOzQgvsI,2095
|
|
25
|
+
najaeda/docs/source/api.rst,sha256=47VCPyF4Py_1cklZ3q9fmOMhqqI17rxwU_VUJETfCwY,151
|
|
26
|
+
najaeda/primitives/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
|
+
najaeda/primitives/xilinx.py,sha256=fuu4KxEIuC0ueCK4C_gds6hzgtJsLE3tjDtOHtY9McM,25947
|
najaeda/docs/Makefile
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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 = source
|
|
9
|
-
BUILDDIR = build
|
|
10
|
-
|
|
11
|
-
# Put it first so that "make" without argument is like "make help".
|
|
12
|
-
help:
|
|
13
|
-
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
-
|
|
15
|
-
.PHONY: help Makefile
|
|
16
|
-
|
|
17
|
-
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
-
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
-
%: Makefile
|
|
20
|
-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
najaeda/docs/make.bat
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
@ECHO OFF
|
|
2
|
-
|
|
3
|
-
pushd %~dp0
|
|
4
|
-
|
|
5
|
-
REM Command file for Sphinx documentation
|
|
6
|
-
|
|
7
|
-
if "%SPHINXBUILD%" == "" (
|
|
8
|
-
set SPHINXBUILD=sphinx-build
|
|
9
|
-
)
|
|
10
|
-
set SOURCEDIR=source
|
|
11
|
-
set BUILDDIR=build
|
|
12
|
-
|
|
13
|
-
%SPHINXBUILD% >NUL 2>NUL
|
|
14
|
-
if errorlevel 9009 (
|
|
15
|
-
echo.
|
|
16
|
-
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
|
17
|
-
echo.installed, then set the SPHINXBUILD environment variable to point
|
|
18
|
-
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
|
19
|
-
echo.may add the Sphinx directory to PATH.
|
|
20
|
-
echo.
|
|
21
|
-
echo.If you don't have Sphinx installed, grab it from
|
|
22
|
-
echo.https://www.sphinx-doc.org/
|
|
23
|
-
exit /b 1
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
if "%1" == "" goto help
|
|
27
|
-
|
|
28
|
-
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
29
|
-
goto end
|
|
30
|
-
|
|
31
|
-
:help
|
|
32
|
-
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
33
|
-
|
|
34
|
-
:end
|
|
35
|
-
popd
|
najaeda-0.1.8.dist-info/RECORD
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
najaeda-0.1.8.dist-info/RECORD,,
|
|
2
|
-
najaeda-0.1.8.dist-info/WHEEL,sha256=rOJaAfyDeYqpyZcvF2uMKwvjCoDaR0tVOjIX1nCiRq8,114
|
|
3
|
-
najaeda-0.1.8.dist-info/METADATA,sha256=Gs7f1HbI7hS--g6TbdjGTvnIa85u8WDsmFnAHdslz2g,6880
|
|
4
|
-
najaeda-0.1.8.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
|
-
najaeda-0.1.8.dist-info/licenses/AUTHORS,sha256=7NYEGDAX_1QZvCCHfq8YVXC5ZbwH_pbNI8DcSmm70GU,377
|
|
6
|
-
najaeda/netlist.py,sha256=xcn-v5Vhjt1di8yDJV5T9SKpKIkyXKRnodBzP50RiCw,37044
|
|
7
|
-
najaeda/libnaja_snl_python.dylib,sha256=QPhv3dnV7usAOptZ1r3E2xXvQBF8Jd0OtljA0x69X84,808208
|
|
8
|
-
najaeda/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
najaeda/libnaja_snl.dylib,sha256=AFqR64aX6KnzkX6lrLGCuscx2f5E07umNC_7E9cNrT0,574272
|
|
10
|
-
najaeda/snl.so,sha256=d9W9rNMzNl0T88DpH7thDuP3NK6nyVgJYXYKx3Uxm7I,97888
|
|
11
|
-
najaeda/stats.py,sha256=9taIJ2ns8E8W_Cm9xThq9-S6Gr6TMPb7qLTJPfx4jFk,12891
|
|
12
|
-
najaeda/instance_visitor.py,sha256=2HnQ5y8-0tSOKd9nS4WYiypccQWLJgKfs84wp357Tls,1781
|
|
13
|
-
najaeda/docs/requirements.txt,sha256=1XIBGTIplm2arC9HhDCfLuAjozGdVSXkqmOj8ybuT6U,121
|
|
14
|
-
najaeda/docs/Makefile,sha256=4zv3TVkTACm6JBaKgTES3ZI9cETXgM6ULbZkXZP1as8,638
|
|
15
|
-
najaeda/docs/make.bat,sha256=L4I5T7uDUIjwGyMRJ-y9FoT61sxIyCuaYuJyLt8c-nA,804
|
|
16
|
-
najaeda/docs/.readthedocs.yaml,sha256=TL2hK9gR25hw-7_gMeywIqBikAP0mVPRB-O4wGfrdPU,900
|
|
17
|
-
najaeda/docs/source/index.rst,sha256=nYkctDLuoue7UMQi5gV-PARChvJDb_3P4e_9NTqzJtc,367
|
|
18
|
-
najaeda/docs/source/instance.rst,sha256=uqyHR7dN9po3sN_APC3C8vk7W2MT0ca49memgtFpzCk,517
|
|
19
|
-
najaeda/docs/source/conf.py,sha256=GIJ89oFBSXucgDBXLcyyWC-cU_lC3GvfswnmLxm9pVM,1387
|
|
20
|
-
najaeda/docs/source/term.rst,sha256=Xh4xis6lR_Oe26Qm3vCt7ziU3PR0cKBBGO8OmCHWt0M,341
|
|
21
|
-
najaeda/docs/source/net.rst,sha256=QNkCZp1bp8_h_fUcf4jwPF4DByZmMtiSb56gOki0wSI,331
|
|
22
|
-
najaeda/docs/source/equipotential.rst,sha256=1wG1sbwexs9JhxxSY2z9XucsLE0SfopVK7VIty0r3mw,431
|
|
23
|
-
najaeda/docs/source/api.rst,sha256=P_-1jiVrIajvFCqP1Wx2W1l6a4T2RHXlWG00rls1qF0,159
|
|
24
|
-
najaeda/primitives/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
|
-
najaeda/primitives/xilinx.py,sha256=fuu4KxEIuC0ueCK4C_gds6hzgtJsLE3tjDtOHtY9McM,25947
|
|
File without changes
|
|
File without changes
|
|
File without changes
|