MAGIC Magic Mailing List
 
 

From: Graham Petley (graham.petley AT vlsitechnology DOT org)
Date: Wed Dec 17 2003 - 06:50:22 EST

  • Next message: Graham Petley: "Problem outputting labels that are over contacts"

    Hi all,
       I would like to run Magic batch jobs, but I can't find out
    how to load a command file to Magic, nor how to suppress the
    graphics windows. My workaround at the moment is to write my
    command script to the file .magic, so that running Magic
    executes my command script. But this could be dangerous and I
    would prefer to run the script from a file name of my choosing.
    Can anyone advise?
       When the job runs, the screen is full of dancing windows
    which I would prefer to suppress. Is this possible?
       On old (and maybe new) Mentor Graphics systems, both batch
    jobs and window suppression could be done by input redirection.
    For magic, the syntax for my example would be:
    
    magic -Tvsc200 <<!
    ;cif read fred.cif
    ;load fred
    ;drc catchup
    ;save
    ;exit
    !
    
    Mentor users were always running jobs like this, so it's a
    strong feature to have.
    
    I couldn't find documentation about the command exit used
    above. I discovered it by trial and error. For scripting, it is
    needed in order to avoid having to answer pop-up windows
    generated by the use of quit. Am I missing this doc, or is it
    one of the undocumented features of Magic?
    
    Best regards, Merry Xmas etc, Graham
    
    =====
    Graham Petley
    ASIC Specialist and Consulting Engineer
    Metzstrasse 14, 81667 Munich, Germany
    Phone +49-89-6349-7630   Mobile +49-177-282-5072
    http://www.vlsitechnology.org/
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo