siliconcompiler 0.26.1__cp39-cp39-win_amd64.whl → 0.26.2__cp39-cp39-win_amd64.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.
@@ -1,5 +1,5 @@
1
1
  # Version number following semver standard.
2
- version = '0.26.1'
2
+ version = '0.26.2'
3
3
 
4
4
  # Default server address for remote runs, if unspecified.
5
5
  default_server = 'https://server.siliconcompiler.com'
siliconcompiler/core.py CHANGED
@@ -2059,7 +2059,7 @@ class Chip:
2059
2059
  '''
2060
2060
  Recursively changes a library in ['option', 'library'] from a previous
2061
2061
  value to a new value. If the library is not present then nothing is
2062
- changed.
2062
+ changed. If the new library is None, the original library will be removed.
2063
2063
 
2064
2064
  Args:
2065
2065
  org_library (str): Name of old library
@@ -2081,8 +2081,13 @@ class Chip:
2081
2081
  r_index = Schema.GLOBAL_KEY
2082
2082
 
2083
2083
  val = self.get(*key, step=r_step, index=r_index)
2084
- self.set(*key, list(map(lambda x: x.replace(org_library, new_library), val)),
2085
- step=r_step, index=r_index)
2084
+ if new_library is None:
2085
+ self.set(*key, [v for v in val if v != org_library],
2086
+ step=r_step, index=r_index)
2087
+ else:
2088
+ self.set(*key,
2089
+ list(map(lambda x: x.replace(org_library, new_library), val)),
2090
+ step=r_step, index=r_index)
2086
2091
  else:
2087
2092
  for val, r_step, r_index in self.schema._getvals(*key):
2088
2093
  if r_step is None:
@@ -2090,8 +2095,13 @@ class Chip:
2090
2095
  if r_index is None:
2091
2096
  r_index = Schema.GLOBAL_KEY
2092
2097
 
2093
- self.set(*key, list(map(lambda x: x.replace(org_library, new_library), val)),
2094
- step=r_step, index=r_index)
2098
+ if new_library is None:
2099
+ self.set(*key, [v for v in val if v != org_library],
2100
+ step=r_step, index=r_index)
2101
+ else:
2102
+ self.set(*key,
2103
+ list(map(lambda x: x.replace(org_library, new_library), val)),
2104
+ step=r_step, index=r_index)
2095
2105
 
2096
2106
  swap('option', 'library')
2097
2107
  for lib in all_libraries:
@@ -59,7 +59,7 @@ def get_flowgraph_nodes(chip, step, index):
59
59
  if value is not None:
60
60
  if key == 'inputnode':
61
61
  value = ", ".join([f'{step}{index}' for step, index in value])
62
- nodes[key] = value
62
+ nodes[key] = str(value)
63
63
  return nodes
64
64
 
65
65
 
@@ -11,7 +11,7 @@ try:
11
11
  except ImportError:
12
12
  from siliconcompiler.schema.utils import trim
13
13
 
14
- SCHEMA_VERSION = '0.44.2'
14
+ SCHEMA_VERSION = '0.44.3'
15
15
 
16
16
  #############################################################################
17
17
  # PARAM DEFINITION
@@ -1273,12 +1273,21 @@ def schema_datasheet(cfg, name='default', mode='default'):
1273
1273
 
1274
1274
  scparam(cfg, ['datasheet', 'package', name, 'netname', name],
1275
1275
  sctype='str',
1276
- shorthelp="Datasheet: package pin netname",
1276
+ shorthelp="Datasheet: package pin net name",
1277
1277
  switch="-datasheet_package_netname 'name name <str>'",
1278
1278
  example=[
1279
1279
  "cli: -datasheet_package_netname 'abcd B1 VDD'",
1280
1280
  "api: chip.set('datasheet', 'package', 'abcd', 'netname', 'B1', 'VDD')"],
1281
- schelp="""Datsheet: Net name connected to package pin.""")
1281
+ schelp="""Datsheet: Device net connected to the pin.""")
1282
+
1283
+ scparam(cfg, ['datasheet', 'package', name, 'portname', name],
1284
+ sctype='str',
1285
+ shorthelp="Datasheet: package pin port name",
1286
+ switch="-datasheet_package_portname 'name name <str>'",
1287
+ example=[
1288
+ "cli: -datasheet_package_portname 'abcd B1 VDD'",
1289
+ "api: chip.set('datasheet', 'package', 'abcd', 'portname', 'B1', 'VDD')"],
1290
+ schelp="""Datsheet: Device port connected to the pin.""")
1282
1291
 
1283
1292
  ######################
1284
1293
  # Pin Specifications
@@ -68,9 +68,10 @@ if { [sc_cfg_tool_task_exists file padring] && \
68
68
  ###########################
69
69
  # Generate pad ring
70
70
  ###########################
71
- set padring_file [lindex [sc_cfg_tool_task_get {file} padring] 0]
72
- puts "Sourcing padring configuration: ${padring_file}"
73
- source $padring_file
71
+ foreach padring_file [sc_cfg_tool_task_get {file} padring] {
72
+ puts "Sourcing padring configuration: ${padring_file}"
73
+ source $padring_file
74
+ }
74
75
 
75
76
  if { [sc_design_has_unplaced_pads] } {
76
77
  foreach inst [[ord::get_db_block] getInsts] {
@@ -34,7 +34,7 @@ proc sc_global_placement_density {} {
34
34
 
35
35
  # Final selection
36
36
  set or_uniform_zero_adjusted_density \
37
- [expr { $or_uniform_density + $or_adjust_density_adder }]
37
+ [expr { min($or_uniform_density + $or_adjust_density_adder, 1.0) }]
38
38
 
39
39
  if { $selected_density < $or_uniform_density } {
40
40
  utl::warn FLW 1 "Using computed density of ([format %0.3f $or_uniform_zero_adjusted_density])\
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: siliconcompiler
3
- Version: 0.26.1
3
+ Version: 0.26.2
4
4
  Summary: A compiler framework that automates translation from source code to silicon.
5
5
  Home-page: https://siliconcompiler.com
6
6
  Author: Andreas Olofsson
@@ -13,46 +13,46 @@ Project-URL: Forum, https://github.com/siliconcompiler/siliconcompiler/discussio
13
13
  Requires-Python: >=3.8
14
14
  Description-Content-Type: text/markdown
15
15
  License-File: LICENSE
16
- Requires-Dist: aiohttp ==3.9.5
17
- Requires-Dist: requests ==2.32.3
18
- Requires-Dist: PyYAML ==6.0.1
19
- Requires-Dist: pandas >=1.1.5
20
- Requires-Dist: Jinja2 >=2.11.3
21
- Requires-Dist: graphviz ==0.20.3
22
- Requires-Dist: distro ==1.9.0
23
- Requires-Dist: packaging <24,>=21.3
24
- Requires-Dist: psutil >=5.8.0
25
- Requires-Dist: Pillow ==10.4.0
26
- Requires-Dist: GitPython ==3.1.43
27
- Requires-Dist: lambdapdk >=0.1.25
28
- Requires-Dist: PyGithub ==2.3.0
29
- Requires-Dist: urllib3 >=1.26.0
30
- Requires-Dist: fasteners ==0.19
31
- Requires-Dist: fastjsonschema ==2.20.0
32
- Requires-Dist: docker ==7.1.0
33
- Requires-Dist: streamlit ==1.36.0
34
- Requires-Dist: streamlit-agraph ==0.0.45
35
- Requires-Dist: streamlit-tree-select ==0.0.5
36
- Requires-Dist: streamlit-javascript ==0.1.5
37
- Requires-Dist: importlib-metadata ; python_version < "3.10"
16
+ Requires-Dist: aiohttp==3.10.3
17
+ Requires-Dist: requests==2.32.3
18
+ Requires-Dist: PyYAML==6.0.2
19
+ Requires-Dist: pandas>=1.1.5
20
+ Requires-Dist: Jinja2>=2.11.3
21
+ Requires-Dist: graphviz==0.20.3
22
+ Requires-Dist: distro==1.9.0
23
+ Requires-Dist: packaging<24,>=21.3
24
+ Requires-Dist: psutil>=5.8.0
25
+ Requires-Dist: Pillow==10.4.0
26
+ Requires-Dist: GitPython==3.1.43
27
+ Requires-Dist: lambdapdk>=0.1.25
28
+ Requires-Dist: PyGithub==2.3.0
29
+ Requires-Dist: urllib3>=1.26.0
30
+ Requires-Dist: fasteners==0.19
31
+ Requires-Dist: fastjsonschema==2.20.0
32
+ Requires-Dist: docker==7.1.0
33
+ Requires-Dist: streamlit==1.37.1
34
+ Requires-Dist: streamlit-agraph==0.0.45
35
+ Requires-Dist: streamlit-tree-select==0.0.5
36
+ Requires-Dist: streamlit-javascript==0.1.5
37
+ Requires-Dist: importlib-metadata; python_version < "3.10"
38
38
  Provides-Extra: docs
39
- Requires-Dist: Sphinx ==7.4.7 ; extra == 'docs'
40
- Requires-Dist: pip-licenses ==4.5.1 ; extra == 'docs'
41
- Requires-Dist: pydata-sphinx-theme ==0.15.4 ; extra == 'docs'
42
- Requires-Dist: sc-leflib >=0.2.0 ; extra == 'docs'
39
+ Requires-Dist: Sphinx==8.0.2; extra == "docs"
40
+ Requires-Dist: pip-licenses==5.0.0; extra == "docs"
41
+ Requires-Dist: pydata-sphinx-theme==0.15.4; extra == "docs"
42
+ Requires-Dist: sc-leflib>=0.2.0; extra == "docs"
43
43
  Provides-Extra: examples
44
- Requires-Dist: migen ==0.9.2 ; extra == 'examples'
45
- Requires-Dist: lambdalib ==0.2.6 ; extra == 'examples'
44
+ Requires-Dist: migen==0.9.2; extra == "examples"
45
+ Requires-Dist: lambdalib==0.2.9; extra == "examples"
46
46
  Provides-Extra: test
47
- Requires-Dist: pytest ==8.3.1 ; extra == 'test'
48
- Requires-Dist: pytest-xdist ==3.6.1 ; extra == 'test'
49
- Requires-Dist: pytest-timeout ==2.3.1 ; extra == 'test'
50
- Requires-Dist: pytest-asyncio ==0.23.8 ; extra == 'test'
51
- Requires-Dist: pytest-cov ==5.0.0 ; extra == 'test'
52
- Requires-Dist: PyVirtualDisplay ==3.0 ; extra == 'test'
53
- Requires-Dist: flake8 ==7.1.0 ; extra == 'test'
54
- Requires-Dist: tclint ==0.3.2 ; extra == 'test'
55
- Requires-Dist: codespell ==2.3.0 ; extra == 'test'
47
+ Requires-Dist: pytest==8.3.2; extra == "test"
48
+ Requires-Dist: pytest-xdist==3.6.1; extra == "test"
49
+ Requires-Dist: pytest-timeout==2.3.1; extra == "test"
50
+ Requires-Dist: pytest-asyncio==0.23.8; extra == "test"
51
+ Requires-Dist: pytest-cov==5.0.0; extra == "test"
52
+ Requires-Dist: PyVirtualDisplay==3.0; extra == "test"
53
+ Requires-Dist: flake8==7.1.1; extra == "test"
54
+ Requires-Dist: tclint==0.3.2; extra == "test"
55
+ Requires-Dist: codespell==2.3.0; extra == "test"
56
56
 
57
57
  ![SiliconCompiler](https://raw.githubusercontent.com/siliconcompiler/siliconcompiler/main/docs/_images/sc_logo_with_text.png)
58
58
 
@@ -1,8 +1,8 @@
1
1
  siliconcompiler/__init__.py,sha256=5T-mWDc05v0FEdwg2btphrAb_W7XaXUmKrRSxuSMNUQ,535
2
2
  siliconcompiler/__main__.py,sha256=x5bzv4spw66iQOldUM-iCWw2j5NxXkkkC_Wd2hGAAgo,182
3
3
  siliconcompiler/_common.py,sha256=27VU0PqZkD6-qz20brjzj-Z8cpDt0oyE6ZA6wARZvrk,1283
4
- siliconcompiler/_metadata.py,sha256=h8nOD2KxE0kNl0PmgJiDQa4HLE-2KvdUA7wFxYe9WvU,1300
5
- siliconcompiler/core.py,sha256=ztyuat3kodYLhNszqSmhDPcKwDX4viLXrApjrkwV2dc,128350
4
+ siliconcompiler/_metadata.py,sha256=5iZ0pjqLzkXPlr1gUJdCplJcnKsEV2H2WFx6X6P9-e4,1300
5
+ siliconcompiler/core.py,sha256=fnA9eJ7BAuPLuugRglbmjSM38OXIWzrYJDmaEeEjC8U,128904
6
6
  siliconcompiler/flowgraph.py,sha256=aQh0VO7LVwGNJbWZcBIgzGRv_pDH72_ilMQtK906Rqk,22502
7
7
  siliconcompiler/issue.py,sha256=jrQnDKY9G-k-KF61XkhPyLSDmOSBoWA2GHRxB4auKNA,11223
8
8
  siliconcompiler/package.py,sha256=Z2FqMRq8mtvmF6d_hyDOZN8DOZ8gu7zABDMWOfUGu-M,14463
@@ -67,7 +67,7 @@ siliconcompiler/remote/server_schema/responses/get_results.json,sha256=86jz_z3o8
67
67
  siliconcompiler/remote/server_schema/responses/remote_run.json,sha256=qOX3lAsm--aMqUNq3jCnspoyl4y-sv9xH64TeCMCKrg,500
68
68
  siliconcompiler/report/__init__.py,sha256=jdPkZx3csEPoWA_fJcdr5mSu5WOhrrGgcc1iot9fR1A,408
69
69
  siliconcompiler/report/html_report.py,sha256=82THDLkGhvOmnwgHnjgm958CfGdagCBdmJlSpyKn0FM,2672
70
- siliconcompiler/report/report.py,sha256=GjBkzYKRVjslIWEnWTNiyReXK2rSIkHe7leg8UBmqwo,13932
70
+ siliconcompiler/report/report.py,sha256=8kMGjsRoqELFtGjujfUFhmyrhjKYwA1EEznI8k5ivlk,13937
71
71
  siliconcompiler/report/streamlit_report.py,sha256=GUwHgeMVOuETz8ZvYsEYv-uIDcV8KdLQX4xKJFS2a0M,4179
72
72
  siliconcompiler/report/streamlit_viewer.py,sha256=WbwcEf2t1gQihUnxnefwlAXKThwcNd4iQmeC8uDRY5c,41965
73
73
  siliconcompiler/report/summary_image.py,sha256=r8GbFJgD0ZLfYFFl8nmUhsh87wWP7evCljWWHx7_L8U,3687
@@ -80,7 +80,7 @@ siliconcompiler/scheduler/send_messages.py,sha256=ZVO6923-EJWUMlDOOpLEhaSrsKtP-d
80
80
  siliconcompiler/scheduler/slurm.py,sha256=IaglZSvrHOqEDT46ZcJ19gXpJxiMm7AAO7EvVdrauZc,7305
81
81
  siliconcompiler/scheduler/validation/email_credentials.json,sha256=rJHUmTS0YyQVCeZpJI1D4WgxsXRHigZTJ6xToITziuo,1800
82
82
  siliconcompiler/schema/__init__.py,sha256=5MfwK7me_exH7qjcInSUSesM0kiGIx8FXQDj4Br2QAQ,127
83
- siliconcompiler/schema/schema_cfg.py,sha256=LfvboErSQngjN-6RPJjAizcojmwMtou7NLaeHgIXQ40,183093
83
+ siliconcompiler/schema/schema_cfg.py,sha256=BXN-79sgYwA-pQLc7PlYwlQIA92jmvWNQWsGYC-pAV8,183570
84
84
  siliconcompiler/schema/schema_obj.py,sha256=R3rrGNgoyNakMmQ2HDW9XJwfar3WMKVyqWrClr38jR8,74403
85
85
  siliconcompiler/schema/utils.py,sha256=KKWtwOkXcDjaxs2f4yIuE6JCFZaapGjdLG4dQLYmH08,4111
86
86
  siliconcompiler/sphinx_ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -177,11 +177,11 @@ siliconcompiler/tools/openroad/scripts/sc_apr.tcl,sha256=5EkGsBOId_oJxGh0lWmKwLo
177
177
  siliconcompiler/tools/openroad/scripts/sc_cts.tcl,sha256=e6zEyNQYmecrtmdcsfY4oVKcb_3faez5tWG-B7E_ZNk,1858
178
178
  siliconcompiler/tools/openroad/scripts/sc_dfm.tcl,sha256=kGYuqJ1XN1YVmrOcuZaBuRVbSradTzEEVG-uzaGomG4,610
179
179
  siliconcompiler/tools/openroad/scripts/sc_export.tcl,sha256=I76JByDu2O21SVDwyYEkF0T6beJ7927M6wAhHfGJZKg,2932
180
- siliconcompiler/tools/openroad/scripts/sc_floorplan.tcl,sha256=xVMzZXXHK3HIa96CotfH9xCle2YfxZuokz9k-8dCow4,12595
180
+ siliconcompiler/tools/openroad/scripts/sc_floorplan.tcl,sha256=PfaaeSs76jN3s_oBZImywIWivsOOKoDpnGYNnCedyQA,12599
181
181
  siliconcompiler/tools/openroad/scripts/sc_metrics.tcl,sha256=F7E8BnLnmboJ6NgVnf10oTsSKC6Xz7GkB8x4svwAqKU,5342
182
182
  siliconcompiler/tools/openroad/scripts/sc_physyn.tcl,sha256=33eOYL9NDPjKYP32PfeubowpXJSFOeoF54-5N11y9t0,123
183
183
  siliconcompiler/tools/openroad/scripts/sc_place.tcl,sha256=CCptIPLLsOfjIBpZI-Ci31nwVVttDunr4fxCDaEB6rI,2021
184
- siliconcompiler/tools/openroad/scripts/sc_procs.tcl,sha256=AS5VVeDj7TYs3zfAGgStyc2TwPlJr17xtwT9vWi_Z_Y,11273
184
+ siliconcompiler/tools/openroad/scripts/sc_procs.tcl,sha256=8ocDhvL6_pJ3YjIAYcBJR7crBhmzeJnplDE_RvQfGKk,11283
185
185
  siliconcompiler/tools/openroad/scripts/sc_rcx.tcl,sha256=cywjFaYnEM3wz5APNcvaqTdZ_0DkcncOuqaTBtBOEDc,1602
186
186
  siliconcompiler/tools/openroad/scripts/sc_rcx_bench.tcl,sha256=tm1_H4vqr9E5p04F0RhJWLTIBOgRnkoKRzQMGNciKxA,702
187
187
  siliconcompiler/tools/openroad/scripts/sc_rcx_extract.tcl,sha256=3R1GVf7veivFzOKPmrwwc4Zg-fVEJbwtncHtCZDx7Dc,501
@@ -200,7 +200,7 @@ siliconcompiler/tools/slang/__init__.py,sha256=BMJjbTWCumTBbshaTc5Wgjcl3kxPiPjwc
200
200
  siliconcompiler/tools/slang/lint.py,sha256=eNe82gmZgCMvLEKQJHagyP1yNWRQ23agBE3n709-Lz4,3080
201
201
  siliconcompiler/tools/surelog/parse.py,sha256=i7mU6xIWrSfuTb9ov1ZSJKipyyhvlGFFmKf8y--Qrns,6208
202
202
  siliconcompiler/tools/surelog/surelog.py,sha256=PlkIjrFGq1t8U2gxFSKPouDmcnS6LE1oTZDrXtVJh7M,5034
203
- siliconcompiler/tools/surelog/bin/surelog.exe,sha256=VI94VJEO7otEVa76cIARSe11K-t6nQ6m4RRKld8pAf4,6422016
203
+ siliconcompiler/tools/surelog/bin/surelog.exe,sha256=E9dQKPPpKWlfUo1Z41k1DXf7rjQHo6NrVe6tPc1GtJQ,6422528
204
204
  siliconcompiler/tools/surelog/templates/output.v,sha256=NE9iQW-IEx0wanJSpbZQjRt-Qq2oIx78JOzlsBcd0Is,213
205
205
  siliconcompiler/tools/sv2v/convert.py,sha256=PG1cYSUil2sZDGh8Eb0dCvsTMnW7o2nUewv2LA23DCw,1837
206
206
  siliconcompiler/tools/sv2v/sv2v.py,sha256=AuMHqm109GJhz6oqvDyyrO9ICGI8FiDXKzBsdMFvDa0,1078
@@ -244,9 +244,9 @@ siliconcompiler/tools/yosys/templates/abc.const,sha256=2Ea7eZz2eHzar3RLf_l2Nb9dn
244
244
  siliconcompiler/utils/__init__.py,sha256=b3mhPeBb8HIqU-8w23h2IMLSxuDrXm53e5iSeqZrkDI,13168
245
245
  siliconcompiler/utils/asic.py,sha256=knq-raDWs1FKtfqkUbLOecdSwXezlmqb8gk9QPZWdqY,5144
246
246
  siliconcompiler/utils/showtools.py,sha256=kNaw97U6tV_MwLvWb1dme_k9E6dQVqnTT6y2zzMcXJk,1158
247
- siliconcompiler-0.26.1.dist-info/LICENSE,sha256=UJh7mqgsPZN3gg37jhwYnrtCUs1m19vkIA6Px7jAOPY,10956
248
- siliconcompiler-0.26.1.dist-info/METADATA,sha256=VaHaMcQ8HWCLl0IiJuz7EuqEtyR36XtkvuxLBTNgcD0,9663
249
- siliconcompiler-0.26.1.dist-info/WHEEL,sha256=DmZ7B4aiAganfWOCUyjXG_z2uvUu-tkD3rVXMivgyOM,99
250
- siliconcompiler-0.26.1.dist-info/entry_points.txt,sha256=M3cpZxvqanXhVU9CuLTRDzBdDKmKz-t0p4DT57TyysU,451
251
- siliconcompiler-0.26.1.dist-info/top_level.txt,sha256=H8TOYhnEUZAV1RJTa8JRtjLIebwHzkQUhA2wkNU2O6M,16
252
- siliconcompiler-0.26.1.dist-info/RECORD,,
247
+ siliconcompiler-0.26.2.dist-info/LICENSE,sha256=UJh7mqgsPZN3gg37jhwYnrtCUs1m19vkIA6Px7jAOPY,10956
248
+ siliconcompiler-0.26.2.dist-info/METADATA,sha256=zoV0fR6QfnbD-XCUjw5X6Zh4NcDFihCz8wJtARm2Fpk,9612
249
+ siliconcompiler-0.26.2.dist-info/WHEEL,sha256=4qHc_4HH-JGeVqXiOhLz9XdiROeRsdeB9MhbJiO4SkE,99
250
+ siliconcompiler-0.26.2.dist-info/entry_points.txt,sha256=M3cpZxvqanXhVU9CuLTRDzBdDKmKz-t0p4DT57TyysU,451
251
+ siliconcompiler-0.26.2.dist-info/top_level.txt,sha256=H8TOYhnEUZAV1RJTa8JRtjLIebwHzkQUhA2wkNU2O6M,16
252
+ siliconcompiler-0.26.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (72.1.0)
2
+ Generator: setuptools (72.2.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-win_amd64
5
5