Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to supplies API #816

Merged
merged 4 commits into from
Nov 5, 2023
Merged

Improvements to supplies API #816

merged 4 commits into from
Nov 5, 2023

Conversation

jerryz123
Copy link
Contributor

@jerryz123 jerryz123 commented Nov 3, 2023

  • Change vlsi.inputs.supplies.power/ground.pin to .pins. This generates CPFs with a create_global_connection from single net to multiple pins
  • Add power_straps_options.by_tracks.power_nets setting. This controls which supply nets power straps are generated for. The default uses all supplies, but this is not always desired
  • Add vlsi.input.supplies.power.voltage field. The existing system would always create the power_nets with the same vlsi.inputs.supplies.VDD voltage. This enables per-supply voltage setting.

Related PRs / Issues

Type of change:

  • Bug fix
  • New feature
  • Other enhancement

Impact:

  • Change to core Hammer
  • Change to a Hammer plugin
  • Other

Contributor Checklist:

  • Did you set master as the base branch?
  • Did you state the type-of-change/impact?
  • Did you delete any extraneous prints/debugging code?
  • (If applicable) Did you add documentation for the feature?
  • (If applicable) Did you update the poetry.lock file if you updated the requirements in pyproject.toml?
  • (If applicable) Did you add a unit test demonstrating the PR?
  • (If applicable) Did you run this through the e2e integration tests?
  • (If applicable) Did you update the submodules in e2e/ if this feature depends on updated plugins?

This enables generation of CPFs where a single supply net can be
global_connect'd to many pins
This setting, if set, allows precise control over which supplies in a
design the auto-strap generation should generate stripes for.
Previously, it would generate straps for all supplies
Allow per-supply voltage specification. If unset, defaults to
vlsi.inputs.supplies.VDD (old behavior)
@harrisonliew harrisonliew added this pull request to the merge queue Nov 5, 2023
Merged via the queue into master with commit 5166a65 Nov 5, 2023
3 checks passed
@harrisonliew harrisonliew deleted the supply_pins branch November 5, 2023 22:13
nayiri-k pushed a commit that referenced this pull request Nov 13, 2023
* Change supply.pin: str to supply.pins: List[str]

This enables generation of CPFs where a single supply net can be
global_connect'd to many pins

* Add power_straps.by_tracks.power_nets API

This setting, if set, allows precise control over which supplies in a
design the auto-strap generation should generate stripes for.
Previously, it would generate straps for all supplies

* Add supplies.voltage to override the vlsi.inputs.supplies.VDD

Allow per-supply voltage specification. If unset, defaults to
vlsi.inputs.supplies.VDD (old behavior)

* Change supply.pins to a Option[List[str]] | fix upf gen for supplies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants