• 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 SKILL
  3. How to export netlist for lib cell

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 143
  • Views 17108
  • 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

How to export netlist for lib cell

saurabh96
saurabh96 over 4 years ago

Hello Guys,

Can anyone explain ..how we can export a netlist for a cell in virtuoso 6.18..

I have made a lib and cell string box with browse button..i want that when user selects any cell from lib..it automatically exports the netlist of that cell selected.

How can we do that?

Thanks in advance.

  • Cancel
  • saurabh96
    saurabh96 over 4 years ago in reply to Andrew Beckett

    Hello Andrew,

    Thanks for quick reply/suggestions.

    yes..am newbie to scripting/programming languages..and am working on it.

    after correction its running fine and creating si.env file but the netlist file that is creating is null.am not sure what the issue here?

    below changes i have implemented-

    lib_view_Label=hiCreateLabel(
    ?name 'lib_view_Label
    ?labelText "Cell View*"
    ?justification 'left
    )
    lib_view_Entry=hiCreateStringField(
    ?name 'lib_view_Entry
    ?callback list("CCSRunNetlisterCellCB(hiGetCurrentForm())")
    ?enabled nil
    )

    cellLabel=hiCreateLabel(
    ?name 'cellLabel ?labelText "Top Cell*"
    ?justification 'left
    )
    Topcell=hiCreateStringField(
    ?name 'Topcell ?callback "(ddsUpdateSyncWithForm)"

    )

    procedure(CCSRunNetlisterCB(form)
    let( op runDirPath singleFile mvFile )

    runDirPath=strcat(runDir "/" form->Topcell->value)
    simInitEnvWithArgs(runDirPath form->lib_view_Entry->value form->Topcell->value viewName simulatorName nil)

    op=outfile(strcat(runDirPath "/si.env") "a")
    fprintf(op "incFILE=\"\" \n")
    fprintf(op "setEQUIV=\"\" \n")
    close(op)

    netlist()

    mvFile=sprintf(nil "mv -f ./%s/netlist ./%s/%s.cdl" runDirPath runDirPath form->Topcell->value)
    singleFile=sprintf(nil "cat ./%s/%s.cdl >> ./%s/netlist.cdl" runDirPath form->Topcell->value runDir)
    system(mvFile)
    system(singleFile)
    printf("Netlisting the cell:%L from Library:%L in the path:%L\n" form->Topcell->value form->lib_view_Entry->value runDirPath)

    CCSRunNetlister(form->lib_view_Entry->value form->Topcell->value "schematic" "CDL" "auCdl")
    simplifyFilename(strcat(runDirPath "/" cell_top ".cdl")
    )
    )

    • 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