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: Using UPCASE with "substring vl-cell-name" #400

Closed
veripoolbot opened this issue Oct 18, 2011 · 1 comment
Closed

Question: Using UPCASE with "substring vl-cell-name" #400

veripoolbot opened this issue Oct 18, 2011 · 1 comment
Labels

Comments

@veripoolbot
Copy link
Collaborator

@veripoolbot veripoolbot commented Oct 18, 2011


Author Name: Sandip Das
Original Redmine Message: 594 from https://www.veripool.org


In this example below, i want to convert the instance name ( which is a mix of uppercase and lowercase ) to all UPPERCASE in the signal name.
how do i use upcase in conjunction with "substring vl-cell-name 2" ?

/* InstModule AUTO_TEMPLATE (
      .a(@"(substring vl-cell-name 2)"_in[]),
      .b(@"(substring vl-cell-name 2)"_out[])
      );*/

InstModule u_UnitA (/*AUTOINST*/
    // Inouts
    .a    (UNITA_in[bitsa:0]),     // Templated
    .b    (UNITA_out[bitsb:0]));     // Templated

@veripoolbot

This comment has been minimized.

Copy link
Collaborator Author

@veripoolbot veripoolbot commented Oct 18, 2011


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2011-10-18T11:05:26Z


@"(upcase (substring vl-cell-name 2))"

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.