• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Port order in symbol view and systemverilog view

Stats

  • Locked Locked
  • Replies 14
  • Subscribers 125
  • Views 5639
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Port order in symbol view and systemverilog view

SimhanAnalog
SimhanAnalog 11 months ago

When I check & save a systemverilog view it asks for option to create symbol view. When selected it creates a symbol view. But the port order in the symbol view gui doesnt match that of systemverilog. In symbol view gui it always sorts in alphabetical order.

example

module some_module

(

output [2:0] o_c,

output [1:0] o_a,

output [6:0] o_b,

input [3:0] i_xy,

input [2:0] i_ab,

input [5:0] i_gh

);

endmodule

The symbol order looks like below

_________________

|   i_ab             o_a   |

|   i_gh             o_b   |

|   i_xy             o_c   |

|________________|

But I want the symbol to look like the order that I have in systemverilog like below

_________________

|   i_xy             o_c   |

|   i_ab             o_a   |

|   i_gh             o_b   |

|________________|

  • Cancel
  • Andrew Beckett
    Andrew Beckett 11 months ago in reply to SimhanAnalog

    The issue is that the APIs needed are private (I know what happens within the code, since I can see that), so directly invoking the "Modify" mode is challenging because of that (and the fact that they are private means there's a risk of the APIs changing and code using them might break - which is why we don't advertise private APIs).

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SimhanAnalog
    SimhanAnalog 11 months ago in reply to Andrew Beckett

    ok. Thanks.
    To create/update symbol using standard approach from systemVerilog view we run
    schViewToView(Libname cell_name Libname cell_name "systemVerilog" "symbol" "_vmsSVVmsToPinList" "schPinListToSymbolGen")

    This gives the pupup with replace/modify/cancel options. Is there a command line argument or command to bypass this popup and select modify automatically? That should also work right?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett 11 months ago in reply to SimhanAnalog
    SimhanAnalog said:
    This gives the pupup with replace/modify/cancel options. Is there a command line argument or command to bypass this popup and select modify automatically? That should also work right?

    No. As I've now said three times, this needs private APIs and private info in internal data structures to directly call the modify mode.

    Also, the _vmsSVVmsToPinList function is also private and is specific to SystemVerilog - my code (as it stands) should work with all textual language view types, and retrieval of the appropriate mapping function also requires a private API. That's the rub (well, one of them).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SimhanAnalog
    SimhanAnalog 11 months ago in reply to Andrew Beckett

    ok. Makes sense. This is good enough for us.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
<

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information