najaeda 0.1.25__cp313-cp313-macosx_11_0_arm64.whl → 0.2.1__cp313-cp313-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/libnaja_dnl.dylib +0 -0
- najaeda/libnaja_nl.dylib +0 -0
- najaeda/libnaja_opt.dylib +0 -0
- najaeda/libnaja_python.dylib +0 -0
- najaeda/naja.so +0 -0
- najaeda/netlist.py +8 -6
- {najaeda-0.1.25.dist-info → najaeda-0.2.1.dist-info}/METADATA +3 -2
- {najaeda-0.1.25.dist-info → najaeda-0.2.1.dist-info}/RECORD +11 -11
- {najaeda-0.1.25.dist-info → najaeda-0.2.1.dist-info}/WHEEL +0 -0
- {najaeda-0.1.25.dist-info → najaeda-0.2.1.dist-info}/licenses/AUTHORS +0 -0
- {najaeda-0.1.25.dist-info → najaeda-0.2.1.dist-info}/licenses/LICENSE +0 -0
najaeda/libnaja_dnl.dylib
CHANGED
|
Binary file
|
najaeda/libnaja_nl.dylib
CHANGED
|
Binary file
|
najaeda/libnaja_opt.dylib
CHANGED
|
Binary file
|
najaeda/libnaja_python.dylib
CHANGED
|
Binary file
|
najaeda/naja.so
CHANGED
|
Binary file
|
najaeda/netlist.py
CHANGED
|
@@ -475,16 +475,18 @@ class Term:
|
|
|
475
475
|
def __str__(self):
|
|
476
476
|
term_str = ""
|
|
477
477
|
path = get_snl_path_from_id_list(self.pathIDs)
|
|
478
|
+
snl_term = get_snl_term_for_ids(self.pathIDs, self.termIDs)
|
|
479
|
+
snl_term_str = snl_term.getName()
|
|
480
|
+
if snl_term.isUnnamed():
|
|
481
|
+
snl_term_str = "<unnamed>"
|
|
478
482
|
if path.size() == 0:
|
|
479
|
-
term_str =
|
|
483
|
+
term_str = snl_term_str
|
|
480
484
|
else:
|
|
481
|
-
term_str =
|
|
482
|
-
f"{path}/{get_snl_term_for_ids(self.pathIDs, self.termIDs).getName()}"
|
|
483
|
-
)
|
|
485
|
+
term_str = f"{path}/{snl_term_str}"
|
|
484
486
|
if self.is_bus():
|
|
485
487
|
term_str += f"[{self.get_msb()}:{self.get_lsb()}]"
|
|
486
488
|
elif self.is_bus_bit():
|
|
487
|
-
term_str += f"[{self.
|
|
489
|
+
term_str += f"[{self.get_msb()}]"
|
|
488
490
|
return term_str
|
|
489
491
|
|
|
490
492
|
def __repr__(self) -> str:
|
|
@@ -885,7 +887,7 @@ class Instance:
|
|
|
885
887
|
the wire a to the output of the assign and b to the input.
|
|
886
888
|
|
|
887
889
|
:return: True if this is an assign. Assigns are represented with
|
|
888
|
-
|
|
890
|
+
unnamed Assign instances.
|
|
889
891
|
:rtype: bool
|
|
890
892
|
"""
|
|
891
893
|
return self.__get_snl_model().isAssign()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: najaeda
|
|
3
|
-
Version: 0.1
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Naja EDA Python package
|
|
5
5
|
Author-Email: Naja Authors <contact@keplertech.io>
|
|
6
6
|
License: Apache License 2.0
|
|
@@ -56,7 +56,8 @@ processes with minimal overhead.
|
|
|
56
56
|
|
|
57
57
|
najaeda is the Python counterpart of the `Naja C++ project <https://github.com/najaeda/naja>`_.
|
|
58
58
|
|
|
59
|
-
If you
|
|
59
|
+
If you find this project useful, please consider [starring it on GitHub](https://github.com/najaeda/naja) to show your support.
|
|
60
|
+
|
|
60
61
|
Feel free to reach out to us anytime at `contact@keplertech.io <mailto:contact@keplertech.io>`_.
|
|
61
62
|
|
|
62
63
|
Installation
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
najaeda
|
|
2
|
-
najaeda
|
|
3
|
-
najaeda-0.1.25.dist-info/METADATA,sha256=gX37lYtMJ59BpS-CtFKG2bq5UCCubzjLNxC8-Xp6Ipk,3384
|
|
4
|
-
najaeda-0.1.25.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
|
-
najaeda-0.1.25.dist-info/licenses/AUTHORS,sha256=7NYEGDAX_1QZvCCHfq8YVXC5ZbwH_pbNI8DcSmm70GU,377
|
|
6
|
-
najaeda/netlist.py,sha256=2h7Tbl3IsCqGDdylWiVX5u-E3yoWAVi6kNb7sS7JqtA,55809
|
|
7
|
-
najaeda/libnaja_nl.dylib,sha256=5995NHdDOsc66W_7HN6dbyvBCqqY3l1u97f8CI4X7mo,738240
|
|
1
|
+
najaeda/netlist.py,sha256=by21s-ZgGPYunPDHDmnuAA8E_Z9ZRD5tbyck5NrwoxI,55865
|
|
2
|
+
najaeda/libnaja_nl.dylib,sha256=idyGQyIWdlumfe4onWoTpNYGekRsyxZOHOr44TmzgLA,755312
|
|
8
3
|
najaeda/pandas_stats.py,sha256=yOb4ka965U7rN4D6AwvSGmRyeT_O7Ed-5cmT8BFbfeo,1070
|
|
9
4
|
najaeda/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
najaeda/naja.so,sha256=
|
|
5
|
+
najaeda/naja.so,sha256=W-tAQVEMUy5kbfV92IRMJejUXsXaPchyDf826LkSpvk,99440
|
|
11
6
|
najaeda/net_visitor.py,sha256=P_esjibYb-wBDuF-AyF7es9sJYw1Ha8RhTPu-qKe7G4,1940
|
|
12
|
-
najaeda/libnaja_opt.dylib,sha256=
|
|
13
|
-
najaeda/libnaja_python.dylib,sha256=
|
|
7
|
+
najaeda/libnaja_opt.dylib,sha256=wIG2H5rnxbqGrwLSgklJjZ5wjOkx2Shhu2RsnYQwmuE,212720
|
|
8
|
+
najaeda/libnaja_python.dylib,sha256=H_PfDF6UbPXIqvphgDjhza-lGtQAtiTOfoUMwI60N_g,942400
|
|
14
9
|
najaeda/stats.py,sha256=SJ9rca0Z6ldNAFOjU7DPO2hfx1zq-9Bec0Rx_oLasJo,16217
|
|
15
10
|
najaeda/instance_visitor.py,sha256=JMsPSQaWNiDjxS05rxg83a0PIsrOIuTi9G35hkwdibs,1530
|
|
16
11
|
najaeda/libnaja_bne.dylib,sha256=pLbGUnDr5PSGXbA8wKD-pqEyQIWHbiCb1icPpxRYrWE,136416
|
|
17
|
-
najaeda/libnaja_dnl.dylib,sha256=
|
|
12
|
+
najaeda/libnaja_dnl.dylib,sha256=VD2Nl5M_XR1VEZO82Cy5I3MjXdXUXIr24b85p61awGY,145936
|
|
18
13
|
najaeda/native/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
14
|
najaeda/native/stats.py,sha256=t50hhE9pEFNtlssjES0A-K9TsO_2ZSUAb-e9L3Rt6yc,13063
|
|
20
15
|
najaeda/docs/requirements.txt,sha256=1XIBGTIplm2arC9HhDCfLuAjozGdVSXkqmOj8ybuT6U,121
|
|
@@ -39,3 +34,8 @@ najaeda/.dylibs/libkj-1.1.0.dylib,sha256=pB7dMks8b8ybJ6xKWqFR_hHjKsmpf7wzbcunZaS
|
|
|
39
34
|
najaeda/primitives/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
35
|
najaeda/primitives/yosys.py,sha256=g1L70AUJoPCkd9B-b9aW4Pzc1AeR9KyIHoXvneW_UEU,8584
|
|
41
36
|
najaeda/primitives/xilinx.py,sha256=Ka-jlu-OxixEZ_yR_niXLHtaUL8HxT1Bg9H9Kpnr4ns,26551
|
|
37
|
+
najaeda-0.2.1.dist-info/RECORD,,
|
|
38
|
+
najaeda-0.2.1.dist-info/WHEEL,sha256=sdwQg6rrnDLRqxihk859xR2X7r9Nv232JOiCZxJUBz4,114
|
|
39
|
+
najaeda-0.2.1.dist-info/METADATA,sha256=-B4Xx2ur4gYMP8u14YKgiloVBdLr-9362F6wiYNFW0g,3433
|
|
40
|
+
najaeda-0.2.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
41
|
+
najaeda-0.2.1.dist-info/licenses/AUTHORS,sha256=7NYEGDAX_1QZvCCHfq8YVXC5ZbwH_pbNI8DcSmm70GU,377
|
|
File without changes
|
|
File without changes
|
|
File without changes
|