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

WIP: Making add PINT builtin parameter from a string #1167

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

luojing1211
Copy link
Member

@luojing1211 luojing1211 commented Jan 5, 2022

This PR tries to make the add_param() function to be a function for adding PINT built-in parameters. The use cases would be

  1. Add a component. If the parameter's host component is not in the timing model
  2. Add a repeat parameter or indexed parameter to the existing components.
    Since add_param()'s function is changed, the old functionality is now called 'inti_param', which initializes a parameter object in the component. init_param() now becomes a lower-level function, is commonly used in the construction of a component and adding repeat or index/prefixed parameters.

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.

1 participant