The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 25th, 2024, 4:11pm
Pages: 1
Send Topic Print
'Check and Save' all cells in Cadence (Read 8197 times)
Paul Geraedts
Community Member
***
Offline

GIGO

Posts: 60
Enschede, Netherlands
'Check and Save' all cells in Cadence
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
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: 'Check and Save' all cells in Cadence
Reply #1 - Mar 30th, 2009, 9:23am
 
Check->Hierarchy in the schematic editor.

Layouts do not need to be "checked".

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: 'Check and Save' all cells in Cadence
Reply #2 - 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

* bernd
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.