librelane 2.4.2__py3-none-any.whl → 2.4.3__py3-none-any.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 librelane might be problematic. Click here for more details.
- librelane/flows/cli.py +24 -11
- librelane/scripts/odbpy/defutil.py +9 -3
- {librelane-2.4.2.dist-info → librelane-2.4.3.dist-info}/METADATA +1 -1
- {librelane-2.4.2.dist-info → librelane-2.4.3.dist-info}/RECORD +6 -6
- {librelane-2.4.2.dist-info → librelane-2.4.3.dist-info}/WHEEL +0 -0
- {librelane-2.4.2.dist-info → librelane-2.4.3.dist-info}/entry_points.txt +0 -0
librelane/flows/cli.py
CHANGED
|
@@ -35,7 +35,7 @@ from cloup.typing import Decorator
|
|
|
35
35
|
|
|
36
36
|
from .flow import Flow
|
|
37
37
|
from ..common import set_tpe, cli, get_opdks_rev, _get_process_limit
|
|
38
|
-
from ..logging import set_log_level, verbose, err, options, LogLevels
|
|
38
|
+
from ..logging import set_log_level, verbose, info, err, options, LogLevels
|
|
39
39
|
from ..state import State, InvalidState
|
|
40
40
|
|
|
41
41
|
|
|
@@ -446,16 +446,29 @@ def cloup_flow_opts(
|
|
|
446
446
|
err(f"Could not resolve the PDK '{pdk}'.")
|
|
447
447
|
exit(1)
|
|
448
448
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
"
|
|
455
|
-
)
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
449
|
+
if pdk_family == "ihp-sg13g2":
|
|
450
|
+
err(
|
|
451
|
+
"The IHP Open PDK is only supported in the development version of LibreLane, specifically 3.0.0.dev28 or higher."
|
|
452
|
+
)
|
|
453
|
+
info(
|
|
454
|
+
"If you're using Nix, switch to the 'dev' branch. If you're using the Python package, run \"python3 -m pip install 'librelane>=3.0.0.dev28'\"."
|
|
455
|
+
)
|
|
456
|
+
exit(1)
|
|
457
|
+
|
|
458
|
+
try:
|
|
459
|
+
version = ciel.fetch(
|
|
460
|
+
ciel_home,
|
|
461
|
+
pdk_family,
|
|
462
|
+
opdks_rev,
|
|
463
|
+
data_source=StaticWebDataSource(
|
|
464
|
+
"https://fossi-foundation.github.io/ciel-releases"
|
|
465
|
+
),
|
|
466
|
+
include_libraries=include_libraries,
|
|
467
|
+
)
|
|
468
|
+
pdk_root = version.get_dir(ciel_home)
|
|
469
|
+
except ValueError as e:
|
|
470
|
+
err(f"Failed to download PDK: {e}")
|
|
471
|
+
exit(1)
|
|
459
472
|
|
|
460
473
|
return f(*args, pdk_root=pdk_root, pdk=pdk, scl=scl, **kwargs)
|
|
461
474
|
|
|
@@ -248,13 +248,19 @@ def relocate_pins(db, input_lefs, template_def, permissive, copy_def_power=False
|
|
|
248
248
|
pin_name = bterm.getName()
|
|
249
249
|
pin_net_name = bterm.getNet().getName()
|
|
250
250
|
pin_net = output_block.findNet(pin_net_name)
|
|
251
|
+
new_net_created = False
|
|
251
252
|
if pin_net is None:
|
|
252
253
|
pin_net = odb.dbNet.create(output_block, pin_net_name, True)
|
|
253
254
|
pin_net.setSpecial()
|
|
254
255
|
pin_net.setSigType(bterm.getSigType())
|
|
255
|
-
|
|
256
|
-
pin_bterm.
|
|
257
|
-
|
|
256
|
+
new_net_created = True
|
|
257
|
+
pin_bterm = output_block.findBTerm(pin_name)
|
|
258
|
+
if pin_bterm is None:
|
|
259
|
+
pin_bterm = odb.dbBTerm.create(pin_net, pin_name)
|
|
260
|
+
pin_bterm.setSigType(bterm.getSigType())
|
|
261
|
+
output_bterms.append(pin_bterm)
|
|
262
|
+
elif new_net_created:
|
|
263
|
+
pin_bterm.connect(pin_net)
|
|
258
264
|
|
|
259
265
|
grid_errors = False
|
|
260
266
|
for output_bterm in output_bterms:
|
|
@@ -42,7 +42,7 @@ librelane/examples/spm-user_project_wrapper/user_project_wrapper.v,sha256=zc6GC5
|
|
|
42
42
|
librelane/flows/__init__.py,sha256=ghtmUG-taVpHJ3CKJRYZGn3dU0r93araT1EIGlBEsxg,896
|
|
43
43
|
librelane/flows/builtins.py,sha256=tR14Qc1ZUey2w-Ar4DWOvxuP7LGPtMecCJq8WgcYJpk,773
|
|
44
44
|
librelane/flows/classic.py,sha256=fI-LNhrvi7lzfsHRyJv_yjgFbpbWBVxN-9QpsgDxpTQ,10940
|
|
45
|
-
librelane/flows/cli.py,sha256=
|
|
45
|
+
librelane/flows/cli.py,sha256=4cJT7l9Nl-RJMMqWrS6W5QpbomM5aPYBToXdyZjwF4I,17443
|
|
46
46
|
librelane/flows/flow.py,sha256=V3NMKH0C8XHcfWiRwus36kQ3TqxOpnimGDCe0iLIo5A,37199
|
|
47
47
|
librelane/flows/misc.py,sha256=32Om3isexesfKKiJZCajNmINc-xdv7eVx_tgoh9SR6U,2015
|
|
48
48
|
librelane/flows/optimizing.py,sha256=OwZz6WGmXpliwO8vtmhjKHD-kzDyNv-zoCECZIigXsI,6076
|
|
@@ -83,7 +83,7 @@ librelane/scripts/odbpy/apply_def_template.py,sha256=Tn6y65biu0bAQ6XilYxq5jn3a_K
|
|
|
83
83
|
librelane/scripts/odbpy/cell_frequency.py,sha256=NfGgM8wxIvjM1C_GHUghZPOh8gpdasLOWR4qBdHHLFE,3105
|
|
84
84
|
librelane/scripts/odbpy/check_antenna_properties.py,sha256=dMD-RcoA7plcAu9IIqa2e-8XCO0EMcKG-6P39D3Gpic,3942
|
|
85
85
|
librelane/scripts/odbpy/contextualize.py,sha256=G8EEgmK6ISikXD2-Pw-RTs1JxLWPnuppwL7oPfAsb84,4020
|
|
86
|
-
librelane/scripts/odbpy/defutil.py,sha256=
|
|
86
|
+
librelane/scripts/odbpy/defutil.py,sha256=gBANy_XTeLeXRBMGdCy2vI5y44qMB6E_Fy0VeyW6rUg,18104
|
|
87
87
|
librelane/scripts/odbpy/diodes.py,sha256=ZS_1niaTcwvaTTNjJcth4Qepcwxa6aV6E9WM_KiMtTI,11811
|
|
88
88
|
librelane/scripts/odbpy/disconnected_pins.py,sha256=hS_Iletg7N6K6yN_ccvWxZ3nWNZp4ecUJM-oY0kkEfA,11139
|
|
89
89
|
librelane/scripts/odbpy/eco_buffer.py,sha256=QOL2J0UJQiVvuGFbpdyAj-RRsPfEL-rT_qro3Rp0KeE,6256
|
|
@@ -164,7 +164,7 @@ librelane/steps/step.py,sha256=oV67Vdw7apNaHovvLguNwX4EylWEvzqkciV6Edocc_M,55802
|
|
|
164
164
|
librelane/steps/tclstep.py,sha256=0PMWJ6C3dKnlQf9mA9rZntgxUBCiByE9csHcEcM1iq0,10027
|
|
165
165
|
librelane/steps/verilator.py,sha256=MWx2TpLqYyea9_jSeLG9c2S5ujvYERQZRFNaMhfHxZE,7916
|
|
166
166
|
librelane/steps/yosys.py,sha256=GX6rTiQG-ZhDxfB9SxrPQ9Sab3WC84p0OUtqiL1Nubk,12533
|
|
167
|
-
librelane-2.4.
|
|
168
|
-
librelane-2.4.
|
|
169
|
-
librelane-2.4.
|
|
170
|
-
librelane-2.4.
|
|
167
|
+
librelane-2.4.3.dist-info/METADATA,sha256=3edrDxxPFG1cmPqpgoMQtQAPf7ZFN-DWBVMka_wvSAU,6557
|
|
168
|
+
librelane-2.4.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
169
|
+
librelane-2.4.3.dist-info/entry_points.txt,sha256=0eZs2NOH-w-W_GVRCs-ualst26XplkPpJkOnGWMaFw0,306
|
|
170
|
+
librelane-2.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|