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

Question: AUTO_TEMPLATE on inputs only #1015

Closed
veripoolbot opened this issue Dec 23, 2015 · 1 comment
Closed

Question: AUTO_TEMPLATE on inputs only #1015

veripoolbot opened this issue Dec 23, 2015 · 1 comment
Labels

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Yoram Stern
Original Redmine Message: 1779 from https://www.veripool.org


Hi.

I instantiate a module with many input and outputs.
I want that all inputs will have their name preceded by smp_OrigInputName,
and I want all output to have their name preceded by pre_OrigOutputName.

Is there an easy way to do it?

Thanks.
Yoram

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2015-12-23T16:30:33Z


Something along these lines (untested):

/* xx AUTO_TEMPLATE (
.(.*) (@"(if (equal vl-dir \"output\") \"pre_\" \"smp_\"))"\1[]),
);
*/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant