MAGIC Magic Mailing List
 
 

From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu)
Date: Fri Jun 15 2001 - 11:13:31 EDT

  • Next message: Cecil Aswell: "Re: Extract error"

    Dear Cecil,
    
       I haven't really got to the bottom of the magic extract error you
    described, but at least I can flag a warning, ignore the situation
    and continue on with the extract, and it seems to work okay and
    produce a valid extraction.
       I am updating the magic source database, but you can make the
    fix yourself as follows:
    
    subdirectory extract, file ExtBasic.c, routine ExtSortTerminals(), line 528, add:
    
                    else if( p2->pt.p_x == p1->pt.p_x && p2->pt.p_y == p1->pt.p_y )
                    {
                        TxPrintf("Extract error:  Duplicate tile position, ignoring\n");
                        continue;
                    }
    
       The magic extractor apparently does not expect to see two tile positions
    with the same coordinates, which suggests that it was in error when it
    created the structures.  However, as it appears to be an extraordinarily rare
    case, I will just treat the symptom and not the disease.  It might, however,
    be instructive to know how you changed the layout that prevented the extract
    from hanging, as you mentioned.
    
       This error occurs on your layout for all versions of magic, as far as I
    can tell, including the current development version, 7.1.
    
    							Regards,
    							Tim
    
    
    >    I don't know if you are interested in bug reports on 6.5.1 but here
    > is a weird one I ran across.
    >
    >    I have a geometry that causes Magic to hang up in the process of extracting
    > a circuit from the layout.  It consists of a series of nmos devices
    > with a common gate. The top three devices are shorted together.
    >
    >    If I use the extract command magic goes off into never-never land, chasing
    > around in a loop somewhere.  However, if I rotate the geometry by
    > 90, 180 or 270 it does what it is supposed to do.
    >
    >    Ever heard of anything like this?
    >
    >    Regards,
    >    Cecil Aswell
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo