check and save all symbol views in a library

Discussion in 'Cadence' started by SS, Oct 20, 2006.

  1. SS

    SS Guest

    I need a SKILL script to check ans save all symbols in a library.


    Sriram
     
    SS, Oct 20, 2006
    #1
  2. From my archives, you can easily modify it for your needs by
    substitute the t_viewname to "symbol".

    Bernd


    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;
    ;; Function : BFcheckAndSaveLibSchematics
    ;;
    ;; Synopsis : BFcheckAndSaveLibSchematics( t_libraryName )
    ;;
    ;; Return Value : BFcheckAndSaveLibSchematics => dd_Id
    ;;
    ;; Modification : -
    ;;
    ;; Description : SKILL equivalent to 'Schematic Check & Save'
    ;; for a complete library.
    ;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    procedure( BFcheckAndSaveLibSchematics( libName "t" )
    let( ( d_libId d_cvId t_viewName )

    d_libId = ddGetObj( libName )
    t_viewName = "schematic"

    l_cellList = setof(
    d_cell d_libId~>cells member( t_viewName d_cell~>views~>name )
    )

    foreach( d_cell l_cellList

    d_cvId = dbOpenCellViewByType(
    libName
    d_cell~>name
    t_viewName
    nil
    "a"
    )

    schCheck( d_cvId )
    dbSave( d_cvId )
    dbClose( d_cvId )
    ) ;; close foreach d_cell

    ) ;;close let

    ) ;; close BFcheckAndSaveLibSchematics
     
    Bernd Fischer, Oct 23, 2006
    #2
  3. SS

    SS Guest

    Thanks Bernd,
    Sriram

     
    SS, Oct 24, 2006
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.