Quantcast
Channel: Cadence Community
Viewing all articles
Browse latest Browse all 3331

Back annotation of a read only schematic

$
0
0
I am trying to create a back annotation script that parses through an file and back annotates the schematic which is in Read only mode.I am using geCreateHilighSet and geAddHilighLabel to create temporary back annotations in the read only schematic .The problem is that temporary back annotations works fine if we have a single hierarchy.However if we have multiple hierarchies the back annotation are not retained when we come back to the top level.I use "dePush" to go that hiearchy and "schHireturnToTop" to return to the top hierarchy.As soon as we return to the top hierarchy the updats in the lower hierarchies are gone.

So what is the way to retain the back annotations in multiple hierarchy instances.(I have already searched for answers in cadence IC skill forum/Google CAD groups ,but with little success)

The Format of the back annotation file which is given as input  is as follows

>> M1 V=1 K=2 S=3 ( Single Hierarchy) -> Retained
>> IO/B2/M2 V=1 K=2 S=3 (Multiple Hiearchy) -> Not Retained


Skill File Snippets

===========================================

;Temporary back annotation in the read only schematic

 cv1 = geGetEditCellView()
                                HighLightC = geCreateHilightSet( cv1 list("hilite" "drawing") )
                                ge = geAddHilightLabel( HighLightC list(XC YC) nth(j LineList) "centerLeft" "R0" "roman" 0.025 nil )
                                HighLightC~>enable = t




==============================================
; procedure that goes to an Hierarchial instance 

 foreach( pat newList1
                                patSofar = strcat(patSofar pat "(schematic)/" )
                                ReturnVar = ReturnVar + 1
                                )
                        fspec->hierarchy = patSofar
                        dePush(fspec WindowID "read" )
                        cv1 = geGetEditCellView()
                        printf("the Current Cell view is %s\n" cv1->cellName )
                        SchCreateNote(cv1 LastElement)
                        schHiReturnToTop(WindowID)


=================================================


Regards,
Hari.

Viewing all articles
Browse latest Browse all 3331

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>