예제 #1
0
        public bool RouteLines(System.IO.StreamWriter file)
        {
            file.WriteLine("________Step_" + step.ToString() + "________");

            trace.PropagateAll();
            trace.CheckOnePoint();
            trace.MergeNodes(true, file);//35step

            //if (step > 40)
            //if (step % 2 == 0)
            {
                trace.PrintMap(Layers.metal1Trace, file);
                trace.PrintMap(Layers.siliconTrace, file);
                trace.PrintMap(Layers.metal2Trace, file);
                trace.PrintNumb(step, file);
                trace.PrintNumbM2(step, file);
            }

            step++;

            return(trace.IsEnd());
        }