You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fill template values that are already known from the protocol automatically.
Background
The only protocol we use right now already specifies several parameters.
These parameters have to be provided by the class implementing the layer via the port property.
However as a hw designer i currently still have to insert these values into the template myself every time. E.g. like this
Therefore i suggest we insert these values automatically before generating the code.
I'll call that automatic port protocol expansion.
Possible caveats
As a designer i can override a value by inserting it myself before it is inserted automatically.
But that also means one could override it accidentally and without notice.
To mitigate the risk we could later issue a warning in case the port protocol expansion does not find the expected template variables.
Fill template values that are already known from the protocol automatically.
Background
The only protocol we use right now already specifies several parameters.
These parameters have to be provided by the class implementing the layer via the
port
property.However as a hw designer i currently still have to insert these values into the template myself every time. E.g. like this
Therefore i suggest we insert these values automatically before generating the code.
I'll call that automatic port protocol expansion.
Possible caveats
As a designer i can override a value by inserting it myself before it is inserted automatically.
But that also means one could override it accidentally and without notice.
To mitigate the risk we could later issue a warning in case the port protocol expansion does not find the expected template variables.
Any thoughts on this from @SuperChange001 and @telefonjoker100 ?
The text was updated successfully, but these errors were encountered: