issie
issie copied to clipboard
Allow sheets to use symbolic parameters
See extended discussion in #157
Design sheets would be a good way to implement more complex logic blocks - but for this to work they need parameters.
Something like the following:
- Every integer in a component creation dialog can optionally be bound to a defined set of allowed alphabetic word parameters, in addition to an integer.
- The list of allowed parameters is viewable and editable in a GUI popup form associated with any sheet and accessed via a menu item.
- When a custom component is instantiated the GUI to do this requires values given to all parameters: these are then stored in the custom component instance.
- A custom component's parameters can be instantiated as parameters in the sheet it is instantiated on - thus parameters can be passed through multiple levels of subsheets.
- To keep things simple initially, expressions of parameters (n+1) are not allowed.
- To allow configuration via parameters constants (most likely 1 bit wide) can be used to turn parameters into values in digital busses.
see also #131 which this could solve with addition of:
- parameters can enable or disable I/Os.