najaeda 0.1.25__cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.2.0__cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.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_nl.so CHANGED
Binary file
najaeda/libnaja_python.so 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 = get_snl_term_for_ids(self.pathIDs, self.termIDs).getName()
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.get_lsb()}]"
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
- anonymous Assign instances.
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.25
3
+ Version: 0.2.0
4
4
  Summary: Naja EDA Python package
5
5
  Author-Email: Naja Authors <contact@keplertech.io>
6
6
  License: Apache License 2.0
@@ -1,12 +1,17 @@
1
- najaeda/libnaja_python.so,sha256=fL6o89LfNP7AyEcuFyu3Pcz3OK7xxaQJC2PaOS8cKGQ,1886289
2
- najaeda/libnaja_nl.so,sha256=ppiLakXGKrfsKI2pKr6xVn3jlX2V0FvpD2uOkJzfeTA,1646840
3
- najaeda/naja.so,sha256=bi6RX1eq6dP26MOC7F5EcH4LqR4BZxFWo7fXYzJCTeQ,206521
1
+ najaeda-0.2.0.dist-info/WHEEL,sha256=A3mvWTV2IcEc7qLoVrqpNTZ0QD1zGDiFoYw9zZpB5kA,158
2
+ najaeda-0.2.0.dist-info/METADATA,sha256=641yOlolPMHaHlGtIdpSZj-Z_UMRIPQIQaMGqdoFlns,3383
3
+ najaeda-0.2.0.dist-info/RECORD,,
4
+ najaeda-0.2.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
5
+ najaeda-0.2.0.dist-info/licenses/AUTHORS,sha256=7NYEGDAX_1QZvCCHfq8YVXC5ZbwH_pbNI8DcSmm70GU,377
6
+ najaeda/libnaja_python.so,sha256=b3t3mDqpLr8Rc6camUXwVKq8J3YYWksxB0sFBTo_9p0,1886289
7
+ najaeda/libnaja_nl.so,sha256=1hb7dG4c3T9nu-tne4xKQBP7aBysGi8XBULYgGO4WLc,1646856
8
+ najaeda/naja.so,sha256=4swun4SgsWPkXSMfLwYdLL2dl_aND1P6TmB9ToCRSMI,206521
4
9
  najaeda/pandas_stats.py,sha256=yOb4ka965U7rN4D6AwvSGmRyeT_O7Ed-5cmT8BFbfeo,1070
5
10
  najaeda/stats.py,sha256=SJ9rca0Z6ldNAFOjU7DPO2hfx1zq-9Bec0Rx_oLasJo,16217
6
11
  najaeda/libnaja_bne.so,sha256=ejZf2Zl2AXQagN41HIj8x-3oeoyEffcPTPR0YeY40ng,272577
7
12
  najaeda/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
13
  najaeda/libnaja_opt.so,sha256=OaKUGukDZekGp-yF__ZWbBpF1cnvvtEFzbaRMegzp8M,348713
9
- najaeda/netlist.py,sha256=2h7Tbl3IsCqGDdylWiVX5u-E3yoWAVi6kNb7sS7JqtA,55809
14
+ najaeda/netlist.py,sha256=by21s-ZgGPYunPDHDmnuAA8E_Z9ZRD5tbyck5NrwoxI,55865
10
15
  najaeda/net_visitor.py,sha256=P_esjibYb-wBDuF-AyF7es9sJYw1Ha8RhTPu-qKe7G4,1940
11
16
  najaeda/libnaja_dnl.so,sha256=zkSbBWj0qCH6wE2gueif9tKoj6xrN7p9Gk01pHUkGBE,276041
12
17
  najaeda/instance_visitor.py,sha256=JMsPSQaWNiDjxS05rxg83a0PIsrOIuTi9G35hkwdibs,1530
@@ -30,11 +35,6 @@ najaeda/docs/source/api.rst,sha256=47VCPyF4Py_1cklZ3q9fmOMhqqI17rxwU_VUJETfCwY,1
30
35
  najaeda/docs/source/term.rst,sha256=QKWT6u1xjEjusvcZYknKQ-M83ibohO5y1EYTQnnXqak,690
31
36
  najaeda/docs/source/instance.rst,sha256=7B2IBB0p32Tb4qvOCE77OlrQaYpFADvmTlq1q8eyVqw,458
32
37
  najaeda/docs/source/conf.py,sha256=XqCFo29gZCbaoPe1xEan9ZonYyQW5NZnWHGEWrB7p8Q,2021
33
- najaeda-0.1.25.dist-info/WHEEL,sha256=A3mvWTV2IcEc7qLoVrqpNTZ0QD1zGDiFoYw9zZpB5kA,158
34
- najaeda-0.1.25.dist-info/METADATA,sha256=gX37lYtMJ59BpS-CtFKG2bq5UCCubzjLNxC8-Xp6Ipk,3384
35
- najaeda-0.1.25.dist-info/RECORD,,
36
- najaeda-0.1.25.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
37
- najaeda-0.1.25.dist-info/licenses/AUTHORS,sha256=7NYEGDAX_1QZvCCHfq8YVXC5ZbwH_pbNI8DcSmm70GU,377
38
38
  najaeda.libs/libtbbmalloc-8bd2c113.so.2.15,sha256=t7EmHeYI7vtRrpUMImjQuzDv3a1gs8-lcUxotcVs3mA,198281
39
39
  najaeda.libs/libcapnp-1-d562dcbf.1.0.so,sha256=oATbFuRyIBdV6dWAaarYlY3DDt3Wvyp1nC5FvgRIyzw,1152985
40
40
  najaeda.libs/libtbb-58378cc2.so.12.15,sha256=yxzhDOGKoZHEHYUULdSu-uH9-Hr1Wh8JygBizKBxc_U,404105