This is how to extract the Spice netlist from the Magic design file.