MAGIC Magic Mailing List
 
 

From: erik peterson (erik AT yanntek DOT com)
Date: Tue Aug 07 2001 - 11:42:03 EDT

  • Next message: R. Timothy Edwards: "GDS import"

    Spaceborne Calin wrote:
    > 
    > Hello
    > I try to import a gds file in magic.
    > The problem is that i only see one subcell at the time
    > o seeing the entire layout seems imposible. Is there a
    > way to see all layout ? (i tried the "calma flaten"
    > command and then "calma write file" but the "file" is
    > empty).
    > 
    > Please help
    > 
    > Bye
    > 
    > ___________________________________________________________
    > Do You Yahoo!? -- Vos albums photos en ligne,
    > Yahoo! Photos : http://fr.photos.yahoo.com
    
    
      i think it depends on what tool made the calma in the first 
    place.  when i read in gds, i do this:
    
    	1. cif istyle <cifinput stylename>
    	2. calma read <filename>
    	3. write force
    	4. load <topcell>
    
      make sure you do this in a directory that doesnt have .mag
    files in it already, because youll nuke cells if you dont watch 
    out.  do this in a empty directory.  also, we use 'space' for 
    extraction (LVS) and backannotation.  it also has a few goodies
    to inspect gds files, and they are very useful for looking at 
    a gds file that was created by someone else.  if you get 'space'
    you can use 'cga' to convert gds to ascii. 
    
    http://cas.et.tudelft.nl/~space/
    
    this gives you the structure (instances/references), layers used, 
    and geometries..  for instance heres an example:
    
      i want to know what layers are used in a gds file:
    
    erik AT solusek% cga CHIP_804_REL164 DOT gds | grep LAYER | sort -k 2 |
    uniq          
    cga: warning: last record is not ENDLIB
    cga: warning: no padding found
    cga: -- program finished --
    LAYER 1
    LAYER 11
    LAYER 12
    LAYER 13
    LAYER 15
    LAYER 17
    LAYER 18
    LAYER 19
    LAYER 2
    LAYER 23
    LAYER 25
    LAYER 26
    LAYER 27
    LAYER 31
    LAYER 32
    LAYER 34
    LAYER 35
    LAYER 36
    LAYER 52
    LAYER 53
    LAYER 63
    erik AT solusek%                         DOT ..mimir/tape/decompressed
    8:28:15am 270 0
    
      anyhow, you can use the 'space' tools to inspect and make sure you 
    dont have broken or malformed gds files.  'dblist' can show you the 
    hierarchy, and 'dali' is a GUI gds viewer.  we mainly use magic, but 
    i use 'dali' to check my techfiles and do a few DRC's magic cant do.
    and best of everything: if youre a school, its free!  (we bought our 
    copy, but still: we use these tools every day to deal with wacky gds
    files from caden$e.  anyhow, if you still have problems, tell us 
    what made the calma, and what techfile you are using.. i can help more
    in detail then.  salut :)
     -erik
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo