The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Other CAD Tools >> Entry Tools >> 'Check and Save' all cells in Cadence
https://designers-guide.org/forum/YaBB.pl?num=1237991137

Message started by Paul Geraedts on Mar 25th, 2009, 7:25am

Title: 'Check and Save' all cells in Cadence
Post by Paul Geraedts on Mar 25th, 2009, 7:25am


Hi,

Does anybody know a way to instantly 'check and save' all cells (both layout and schematics) top-down from the top-level of a design?

I mean to get instantly rid of the messages that some cells have not been saved (when initiating simulations).

Thanks,

Paul

Title: Re: 'Check and Save' all cells in Cadence
Post by Andrew Beckett on Mar 30th, 2009, 9:23am

Check->Hierarchy in the schematic editor.

Layouts do not need to be "checked".

Andrew.

Title: Re: 'Check and Save' all cells in Cadence
Post by bernd on Apr 16th, 2009, 9:18am


NAME

  DBcheckAndSaveLibSchematics

SYNOPSIS

*   DBcheckAndSaveLibSchematics( t_libName )

DESCRIPTION

  This function performs a check and save including connectivity extraction
  on all schematic views of the specified library.  

ARGUMENTS

  t_libName - The library name.

RETURN VALUE

  t/nil

EXAMPLE

*   DBcheckAndSaveLibSchematics( "myLib" )
*   => t/nil

SOURCE

procedure( DBcheckAndSaveLibSchematics( t_libName "t" )
   let( ( d_libId d_cvId t_viewName t_solderOnCrossover t_floatingIO
          l_cellList l_cellViewList )

d_libId          = ddGetObj( t_libName )
t_viewName       = "schematic"
t_solderOnCrossover  = envGetVal( "schematic" "srcSolderOnCrossover" )
t_floatingIO         = envGetVal( "schematic" "srcFloatingIO" )

envSetVal( "schematic" "srcSolderOnCrossover" 'cyclic "ignored" )
envSetVal( "schematic" "srcFloatingIO" 'cyclic "ignored" )

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

foreach( d_cell l_cellList
   l_cellViewList = setof(
           d_view
           d_cell~>views
           rexMatchp( t_viewName d_view~>name )
           )
   foreach( d_cellView l_cellViewList
   d_cvId = dbOpenCellViewByType(
           t_libName
           d_cell~>name
           d_cellView~>name
           nil
           "a"
           )
   printf(
       "-- DBcheckAndSaveLibSchematics -- Checking and saving %s/%s/%s\n"
       t_libName d_cell~>name d_cellView~>name
       )
   schCheck( d_cvId  )
   dbSave( d_cvId )
   dbClose( d_cvId )
   ) ;; close foreach
) ;; close foreach

envSetVal( "schematic" "srcSolderOnCrossover" 'cyclic t_solderOnCrossover )
envSetVal( "schematic" "srcFloatingIO" 'cyclic t_floatingIO )

) ;;close let
) ;; close procedure

*

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.