najaeda 0.2.11__cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.2.12__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_python.so CHANGED
Binary file
najaeda/naja.so CHANGED
Binary file
najaeda/netlist.py CHANGED
@@ -1878,7 +1878,35 @@ def get_max_fanout() -> list:
1878
1878
  if u is not None:
1879
1879
  top = naja.NLUniverse.get().getTopDesign()
1880
1880
  if top is not None:
1881
- return naja.NLUniverse.get().getMaxFanout()
1881
+ max_fanout = naja.NLUniverse.get().getMaxFanout()
1882
+ result = []
1883
+ index = 0
1884
+ result.append(max_fanout[0])
1885
+ fanouts = []
1886
+ for entry in max_fanout[1]:
1887
+ fanout = []
1888
+ driver = entry[0]
1889
+ component = driver.getComponent()
1890
+ path = driver.getPath().getPathIDs()
1891
+ if isinstance(component, naja.SNLInstTerm):
1892
+ path.append(component.getInstance().getID())
1893
+ component = component.getBitTerm()
1894
+ print(component)
1895
+ print(path)
1896
+ fanout.append(Term(path, component))
1897
+ readers = []
1898
+ for item in entry[1]:
1899
+ component = item.getComponent()
1900
+ path = item.getPath().getPathIDs()
1901
+ if isinstance(component, naja.SNLInstTerm):
1902
+ path.append(component.getInstance().getID())
1903
+ component = component.getBitTerm()
1904
+ readers.append(Term(path, component))
1905
+ fanout.append(readers)
1906
+ fanouts.append(fanout)
1907
+ index += 1
1908
+ result.append(fanouts)
1909
+ return result
1882
1910
  return [0]
1883
1911
 
1884
1912
 
@@ -1892,5 +1920,25 @@ def get_max_logic_level() -> list:
1892
1920
  if u is not None:
1893
1921
  top = naja.NLUniverse.get().getTopDesign()
1894
1922
  if top is not None:
1895
- return naja.NLUniverse.get().getMaxLogicLevel()
1923
+ max_logic_level = naja.NLUniverse.get().getMaxLogicLevel()
1924
+ result = []
1925
+ index = 0
1926
+ for entry in max_logic_level:
1927
+ if index == 0:
1928
+ result.append(max_logic_level[0])
1929
+ else:
1930
+ paths = []
1931
+ for path in entry:
1932
+ llpath = []
1933
+ for item in path:
1934
+ component = item.getComponent()
1935
+ pathIDs = item.getPath().getPathIDs()
1936
+ if isinstance(component, naja.SNLInstTerm):
1937
+ pathIDs.append(component.getInstance().getID())
1938
+ component = component.getBitTerm()
1939
+ llpath.append(Term(pathIDs, component))
1940
+ paths.append(llpath)
1941
+ result.append(paths)
1942
+ index += 1
1943
+ return result
1896
1944
  return [0]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: najaeda
3
- Version: 0.2.11
3
+ Version: 0.2.12
4
4
  Summary: Naja EDA Python package
5
5
  Author-Email: Naja Authors <contact@keplertech.io>
6
6
  License: Apache License 2.0
@@ -1,19 +1,14 @@
1
- najaeda-0.2.11.dist-info/WHEEL,sha256=NJowaPAzIIiP2JSq0Xt-lDr6HH8lLn-98HlcnLFvGSo,158
2
- najaeda-0.2.11.dist-info/METADATA,sha256=ZsUuSVVSJ8dJzc6WxNuIn-tdwcrH9C3uIFC0ZkMOpQQ,3656
3
- najaeda-0.2.11.dist-info/RECORD,,
4
- najaeda-0.2.11.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
5
- najaeda-0.2.11.dist-info/licenses/AUTHORS,sha256=7NYEGDAX_1QZvCCHfq8YVXC5ZbwH_pbNI8DcSmm70GU,377
6
- najaeda/libnaja_python.so,sha256=9v2vTTeSltvNgWVratWZIJDy_Z97U2x23Bq8_-QRfSo,1954817
1
+ najaeda/libnaja_python.so,sha256=xamYAHmCkCa-m1JJMyVHpbH0lknHYlE4u4j1emOO_2Q,1954873
7
2
  najaeda/_version.py,sha256=c-4hT20dyE-3BcdzOqR0vd92E7ydR5u2c-VmCc6oU8A,332
8
3
  najaeda/libnaja_nl.so,sha256=OsVNt5Xg3ZiLX9_LYibN2oT486Q673338vzsBeIo8RQ,1646968
9
- najaeda/naja.so,sha256=vkPgSWOcfHbmW8tw_GJmN9xSdMWQK1EnwAh4ZNMIGmQ,206561
4
+ najaeda/naja.so,sha256=JRMlSLC_1LSMEEivzEZThFaG8v2qND2HcJnIumtv5Ts,206561
10
5
  najaeda/pandas_stats.py,sha256=yOb4ka965U7rN4D6AwvSGmRyeT_O7Ed-5cmT8BFbfeo,1070
11
6
  najaeda/stats.py,sha256=g1F1CEBNVvGgzINOI7sK83123cCbclLDmyUjuep3-EU,16107
12
7
  najaeda/libnaja_metrics.so,sha256=OiBunO0ZP4r1Gpr9a9nxn9DVgIURtWOhK42M2S2lQ_s,276505
13
8
  najaeda/libnaja_bne.so,sha256=ejZf2Zl2AXQagN41HIj8x-3oeoyEffcPTPR0YeY40ng,272577
14
9
  najaeda/__init__.py,sha256=6QrOzlqTfd558FH9Zm6ve54IzkHaDJ8ZO8hTCaEwsL8,218
15
10
  najaeda/libnaja_opt.so,sha256=oFT5aS0zO_0UJMBCqEtOnVJeQgDytasPBBtfrGsBZbA,348713
16
- najaeda/netlist.py,sha256=ul6AMYWKDuAOmo_1P0z8KBiClfcQdhff_XBlYeTnmGk,64921
11
+ najaeda/netlist.py,sha256=f36j5CT2pEV9qqQwJmkAe-1vU8n8Smied4XTuEFkcok,67034
17
12
  najaeda/net_visitor.py,sha256=P_esjibYb-wBDuF-AyF7es9sJYw1Ha8RhTPu-qKe7G4,1940
18
13
  najaeda/libnaja_dnl.so,sha256=nQYOVvmV2dZ2qYkVhp7zhAZ3Ny8X8ay_xsujYV8L6YM,276985
19
14
  najaeda/instance_visitor.py,sha256=JMsPSQaWNiDjxS05rxg83a0PIsrOIuTi9G35hkwdibs,1530
@@ -37,6 +32,11 @@ najaeda/docs/source/api.rst,sha256=47VCPyF4Py_1cklZ3q9fmOMhqqI17rxwU_VUJETfCwY,1
37
32
  najaeda/docs/source/term.rst,sha256=QKWT6u1xjEjusvcZYknKQ-M83ibohO5y1EYTQnnXqak,690
38
33
  najaeda/docs/source/instance.rst,sha256=-a7QjaR6URnpMPw2L6vUJ7IOqKLAtWd78LI0Br52iKM,1010
39
34
  najaeda/docs/source/conf.py,sha256=XqCFo29gZCbaoPe1xEan9ZonYyQW5NZnWHGEWrB7p8Q,2021
35
+ najaeda-0.2.12.dist-info/WHEEL,sha256=NJowaPAzIIiP2JSq0Xt-lDr6HH8lLn-98HlcnLFvGSo,158
36
+ najaeda-0.2.12.dist-info/METADATA,sha256=hSlx5YMwg6ZliqOfS5k6qHjF9kx0i_m6g6z-ulC5TAc,3656
37
+ najaeda-0.2.12.dist-info/RECORD,,
38
+ najaeda-0.2.12.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
39
+ najaeda-0.2.12.dist-info/licenses/AUTHORS,sha256=7NYEGDAX_1QZvCCHfq8YVXC5ZbwH_pbNI8DcSmm70GU,377
40
40
  najaeda.libs/libtbbmalloc-8bd2c113.so.2.15,sha256=t7EmHeYI7vtRrpUMImjQuzDv3a1gs8-lcUxotcVs3mA,198281
41
41
  najaeda.libs/libcapnp-1-d562dcbf.1.0.so,sha256=oATbFuRyIBdV6dWAaarYlY3DDt3Wvyp1nC5FvgRIyzw,1152985
42
42
  najaeda.libs/libtbb-58378cc2.so.12.15,sha256=yxzhDOGKoZHEHYUULdSu-uH9-Hr1Wh8JygBizKBxc_U,404105