亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? technology.java

?? The ElectricTM VLSI Design System is an open-source Electronic Design Automation (EDA) system that c
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
/* -*- tab-width: 4 -*- * * Electric(tm) VLSI Design System * * File: Technology.java * * Copyright (c) 2003 Sun Microsystems and Static Free Software * * Electric(tm) is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Electric(tm) is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Electric(tm); see the file COPYING.  If not, write to * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, Mass 02111-1307, USA. */package com.sun.electric.technology;import com.sun.electric.Main;import com.sun.electric.database.EObjectInputStream;import com.sun.electric.database.EObjectOutputStream;import com.sun.electric.database.ImmutableArcInst;import com.sun.electric.database.ImmutableNodeInst;import com.sun.electric.database.geometry.DBMath;import com.sun.electric.database.geometry.EPoint;import com.sun.electric.database.geometry.ERectangle;import com.sun.electric.database.geometry.Orientation;import com.sun.electric.database.geometry.Poly;import com.sun.electric.database.hierarchy.Cell;import com.sun.electric.database.hierarchy.EDatabase;import com.sun.electric.database.hierarchy.Library;import com.sun.electric.database.id.ArcProtoId;import com.sun.electric.database.id.IdManager;import com.sun.electric.database.id.PrimitiveNodeId;import com.sun.electric.database.id.TechId;import com.sun.electric.database.prototype.NodeProto;import com.sun.electric.database.prototype.PortCharacteristic;import com.sun.electric.database.prototype.PortProto;import com.sun.electric.database.text.ImmutableArrayList;import com.sun.electric.database.text.Pref;import com.sun.electric.database.text.Setting;import com.sun.electric.database.text.TextUtils;import com.sun.electric.database.text.Version;import com.sun.electric.database.topology.ArcInst;import com.sun.electric.database.topology.Connection;import com.sun.electric.database.topology.Geometric;import com.sun.electric.database.topology.NodeInst;import com.sun.electric.database.topology.PortInst;import com.sun.electric.database.variable.TextDescriptor;import com.sun.electric.database.variable.UserInterface;import com.sun.electric.database.variable.VarContext;import com.sun.electric.database.variable.Variable;import com.sun.electric.technology.technologies.Artwork;import com.sun.electric.technology.technologies.EFIDO;import com.sun.electric.technology.technologies.FPGA;import com.sun.electric.technology.technologies.GEM;import com.sun.electric.technology.technologies.Generic;import com.sun.electric.technology.technologies.Schematics;import com.sun.electric.technology.xml.XmlParam;import com.sun.electric.tool.Job;import com.sun.electric.tool.erc.ERC;import com.sun.electric.tool.user.ActivityLogger;import com.sun.electric.tool.user.User;import java.awt.Color;import java.awt.geom.AffineTransform;import java.awt.geom.Point2D;import java.io.IOException;import java.io.InvalidObjectException;import java.io.NotSerializableException;import java.io.PrintWriter;import java.io.Serializable;import java.net.URL;import java.util.ArrayList;import java.util.Collection;import java.util.Collections;import java.util.Comparator;import java.util.HashMap;import java.util.HashSet;import java.util.Iterator;import java.util.LinkedHashMap;import java.util.List;import java.util.Map;import java.util.NoSuchElementException;import java.util.TreeMap;import javax.swing.SwingUtilities;/** * Technology is the base class for all of the specific technologies in Electric. * * It is organized into two main areas: nodes and arcs. * Both nodes and arcs are composed of Layers. *<P> * Subclasses of Technology usually start by defining the Layers (such as Metal-1, Metal-2, etc.) * Then the ArcProto objects are created, built entirely from Layers. * Next PrimitiveNode objects are created, and they have Layers as well as connectivity to the ArcProtos. * The Technology concludes with miscellaneous data assignments of technology-wide information. * <P> * Here are the nodes in a sample CMOS technology. * Note that there are two types of transistors and diffusion contacts, one for Well and one for Substrate. * Each layer that can exist as a wire must have a pin node (in this case, metal, polysilicon, and two flavors of diffusion. * Note that there are pure-layer nodes at the bottom which allow arbitrary geometry to be constructed. * <CENTER><IMG SRC="doc-files/Technology-1.gif"></CENTER> * <P> * The Schematic technology has some unusual features. * <CENTER><IMG SRC="doc-files/Technology-2.gif"></CENTER> * <P> * Conceptually, a Technology has 3 types of information: * <UL><LI><I>Geometry</I>.  Each node and arc can be described in terms of polygons on differnt Layers. * The ArcLayer and NodeLayer subclasses help define those polygons. * <LI><I>Connectivity</I>.  The very structure of the nodes and arcs establisheds a set of rules of connectivity. * Examples include the list of allowable arc types that may connect to each port, and the use of port "network numbers" * to identify those that are connected internally. * <LI><I>Behavior</I>.  Behavioral information takes many forms, but they can all find a place here. * For example, each layer, node, and arc has a "function" that describes its general behavior. * Some information applies to the technology as a whole, for example SPICE model cards. * Other examples include Design Rules and technology characteristics. * </UL> * @author Steven M. Rubin */public class Technology implements Comparable<Technology>, Serializable{	/** true to allow outlines to have "breaks" with multiple pieces in them */	public static final boolean HANDLEBROKENOUTLINES = true;	/** true to handle duplicate points in an outline as a "break" */	public static final boolean DUPLICATEPOINTSAREBROKENOUTLINES = false;        // Change in TechSettings takes effect only after restart    private final boolean IMMUTABLE_TECHS = false;	private static final boolean LAZY_TECHNOLOGIES = false;    /** Jelib writes base sizes since this Electric Version */    public static final Version DISK_VERSION_1 = Version.parseVersion("8.05g");    /** Jelib writes oversize over standard primitive since this Electric Version */    public static final Version DISK_VERSION_2 = Version.parseVersion("8.05o");	public static final Technology[] NULL_ARRAY = {};	public static final ImmutableArrayList<Technology> EMPTY_LIST = new ImmutableArrayList<Technology>(NULL_ARRAY);	/** key of Variable for saving scalable transistor contact information. */	public static final Variable.Key TRANS_CONTACT = Variable.newKey("MOCMOS_transcontacts");	// strings used in the Component Menu	public static final String SPECIALMENUCELL   = "Cell";	public static final String SPECIALMENUMISC   = "Misc.";	public static final String SPECIALMENUPURE   = "Pure";	public static final String SPECIALMENUSPICE  = "Spice";	public static final String SPECIALMENUEXPORT = "Export";	public static final String SPECIALMENUTEXT   = "Text";	public static final String SPECIALMENUHIGH   = "High";	public static final String SPECIALMENUPORT   = "Port";    public static class Distance implements Serializable {        public double k;        public double lambdaValue;        public final List<DistanceRule> terms = new ArrayList<DistanceRule>();        public void assign(Distance d) {            k = d.k;            lambdaValue = d.lambdaValue;            for (DistanceRule term: d.terms)                terms.add(term.clone());        }        public Distance clone() {            Distance d = new Distance();            d.assign(this);            return d;        }        public double getLambda(DistanceContext context) {            double value = lambdaValue;            for (DistanceRule term: terms)                value += term.getLambda(context);            return value;        }        public void addLambda(double value) {            lambdaValue += value;        }        public void addRule(String ruleName, double k) {            DistanceRule term = new DistanceRule();            term.ruleName = ruleName;            term.k = k;            terms.add(term);        }        public boolean isEmpty() { return lambdaValue == 0 && terms.isEmpty(); }    }    public static interface DistanceContext {        public double getRule(String ruleName);    }    public static DistanceContext EMPTY_CONTEXT = new DistanceContext() {        public double getRule(String ruleName) {            throw new UnsupportedOperationException();        }    };    public static class DistanceRule implements Serializable, Cloneable {        public String ruleName;        public double k;        public DistanceRule clone() {            try {                return (DistanceRule)super.clone();            } catch (CloneNotSupportedException e) {                throw new AssertionError();            }        }        private double getLambda(DistanceContext context) {            return context.getRule(ruleName)*k;        }    }   /**	 * Defines a single layer of a ArcProto.	 * A ArcProto has a list of these ArcLayer objects, one for	 * each layer in a typical ArcInst.	 * Each ArcProto is composed of a number of ArcLayer descriptors.	 * A descriptor converts a specific ArcInst into a polygon that describe this particular layer.	 */	protected static class ArcLayer	{		private final Layer layer;		private final Poly.Type style;        private final Distance xmlExtend;        private int gridExtend;		/**		 * Constructs an <CODE>ArcLayer</CODE> with the specified description.		 * @param layer the Layer of this ArcLayer.         * @param arcLayerWidth the width of this ArcLayer in standard ArcInst.		 * @param style the Poly.Style of this ArcLayer.		 */        public ArcLayer(Layer layer, double arcLayerWidth, Poly.Type style) {            this(layer, style, arcLayerWidth*0.5);            gridExtend = (int)DBMath.lambdaToGrid(arcLayerWidth*0.5);        }		/**		 * Constructs an <CODE>ArcLayer</CODE> with the specified description.		 * @param layer the Layer of this ArcLayer.		 * @param style the Poly.Style of this ArcLayer.         * @param ruleNames rule names to make an expression for for extend of this ArcLayer		 */        public ArcLayer(Layer layer, Poly.Type style, String ... ruleNames) {            this(layer, style, 0, ruleNames);        }		/**		 * Constructs an <CODE>ArcLayer</CODE> with the specified description.		 * @param layer the Layer of this ArcLayer.		 * @param style the Poly.Style of this ArcLayer.         * @param lambdaExtend lambda fraction of extend         * @param ruleNames rule names to make an expression for for extend of this ArcLayer		 */        public ArcLayer(Layer layer, Poly.Type style, double lambdaExtend, String ... ruleNames) {            this(layer, style, new Distance());            if (ruleNames.length > 0)                xmlExtend.addRule(ruleNames[0], 0.5);            for (int i = 1; i < ruleNames.length; i++)                xmlExtend.addRule(ruleNames[i], 1);            xmlExtend.addLambda(DBMath.round(lambdaExtend));        }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产色产综合色产在线视频| 欧美影视一区在线| 国产精品综合久久| 99精品国产热久久91蜜凸| 欧美精品粉嫩高潮一区二区| 久久美女艺术照精彩视频福利播放| 亚洲色图另类专区| 久久99久久久欧美国产| 色婷婷综合视频在线观看| 久久久久国产精品麻豆ai换脸| 亚洲午夜精品久久久久久久久| 成人午夜激情在线| 欧美本精品男人aⅴ天堂| 亚洲国产欧美在线| 99久久久国产精品免费蜜臀| 欧美精品一区视频| 日韩经典中文字幕一区| 色噜噜偷拍精品综合在线| 久久久久久免费毛片精品| 婷婷久久综合九色国产成人| 91黄色免费观看| 国产精品久久网站| 国产91对白在线观看九色| 欧美成人激情免费网| 天堂影院一区二区| 欧美亚洲尤物久久| 依依成人精品视频| 成人影视亚洲图片在线| 久久亚洲一级片| 久久成人免费网| 日韩欧美成人一区| 美女精品自拍一二三四| 欧美精品在线一区二区| 亚洲国产一区在线观看| 在线观看日韩一区| 亚洲影视在线播放| 欧美主播一区二区三区美女| 一区二区在线观看视频| 在线精品观看国产| 亚洲18色成人| 在线不卡的av| 麻豆精品久久精品色综合| 日韩三级精品电影久久久 | 日本中文在线一区| 91福利国产成人精品照片| 亚洲欧美日韩国产成人精品影院| 91视频在线观看| 一区二区三区欧美| 在线成人小视频| 久久不见久久见免费视频1| 久久蜜桃av一区精品变态类天堂| 国产福利一区在线观看| 中国色在线观看另类| 97久久超碰精品国产| 亚洲乱码国产乱码精品精小说 | 国产亚洲精品超碰| 不卡av在线免费观看| 亚洲精品国产品国语在线app| 在线观看免费视频综合| 日本强好片久久久久久aaa| 日韩精品一区二区三区蜜臀 | 精品久久久久香蕉网| 丁香亚洲综合激情啪啪综合| 亚洲人成在线观看一区二区| 欧美精品久久久久久久多人混战 | 亚洲最色的网站| 91精品国产aⅴ一区二区| 国产精品一二三四五| 亚洲欧洲综合另类在线| 欧美一区二区网站| 国产91精品久久久久久久网曝门| 亚洲精品国产第一综合99久久| 欧美视频一区二区三区四区| 韩国三级在线一区| 日本v片在线高清不卡在线观看| 日韩小视频在线观看专区| 丁香亚洲综合激情啪啪综合| 香蕉加勒比综合久久| 久久丝袜美腿综合| 欧美日韩中文精品| 国产成人精品影院| 午夜精品久久久久影视| 国产精品午夜电影| 7777精品伊人久久久大香线蕉的 | 成人精品视频一区二区三区尤物| 亚洲午夜在线电影| 久久久夜色精品亚洲| 欧美日韩一级片在线观看| 国产69精品久久777的优势| 日韩制服丝袜先锋影音| 国产精品对白交换视频| 精品国产乱码久久久久久浪潮| 色综合亚洲欧洲| 国产aⅴ综合色| 精品一区二区三区av| 亚洲成人动漫精品| 亚洲欧洲av另类| 久久九九久精品国产免费直播| 欧美久久一二三四区| 一本大道久久a久久综合婷婷| 国产中文字幕精品| 免费成人小视频| 性做久久久久久久免费看| 亚洲精品免费在线观看| 国产精品免费丝袜| 久久精品欧美一区二区三区麻豆 | 日本道在线观看一区二区| 国产成人精品亚洲日本在线桃色| 男男成人高潮片免费网站| 性欧美大战久久久久久久久| 久久精品国产亚洲一区二区三区| 亚洲123区在线观看| 一区二区三区电影在线播| 亚洲四区在线观看| 亚洲男人天堂av网| 亚洲欧美偷拍卡通变态| 国产精品久久久久久妇女6080| 国产丝袜在线精品| 亚洲国产精品成人久久综合一区| 久久欧美中文字幕| 国产日韩欧美综合在线| 久久婷婷综合激情| 久久久一区二区| 国产精品美女久久福利网站| 国产精品国产三级国产| 国产精品国产精品国产专区不蜜| 中文字幕在线不卡视频| 亚洲精品美腿丝袜| 亚洲国产精品视频| 日韩高清不卡一区二区三区| 日韩av网站在线观看| 美女诱惑一区二区| 国产精品一级二级三级| 9色porny自拍视频一区二区| 91网址在线看| 欧美日韩视频在线第一区| 欧美一区二区性放荡片| 久久精品水蜜桃av综合天堂| 中文字幕不卡的av| 亚洲精品成a人| 亚洲丰满少妇videoshd| 免费观看日韩av| 国产成人免费视频一区| 色婷婷av一区二区三区gif| 欧美日韩精品一区二区三区蜜桃 | 欧美国产日韩一二三区| 亚洲视频 欧洲视频| 日韩专区中文字幕一区二区| 国产在线麻豆精品观看| 91麻豆福利精品推荐| 欧美日韩国产高清一区| 久久综合久久99| 亚洲精品国产无套在线观| 男男成人高潮片免费网站| 国产99精品国产| 欧美日韩国产一区| 久久蜜桃一区二区| 亚洲va天堂va国产va久| 国产成人免费高清| 欧美电影一区二区| 最新高清无码专区| 久久99最新地址| 91国在线观看| 国产片一区二区| 日韩**一区毛片| 91在线精品一区二区三区| 欧美一级欧美三级| 亚洲裸体xxx| 风流少妇一区二区| 8v天堂国产在线一区二区| 日韩中文字幕区一区有砖一区 | 日韩精品一区二区三区视频| 亚洲男人的天堂网| 国产一区二区三区精品视频| 欧美性色aⅴ视频一区日韩精品| 日韩一级免费一区| 亚洲黄色免费电影| 高清日韩电视剧大全免费| 欧美一区二区日韩| 亚洲一区二区三区不卡国产欧美| 国产白丝网站精品污在线入口| 欧美日韩中文字幕精品| 亚洲女子a中天字幕| 福利电影一区二区| 久久午夜免费电影| 日韩av网站在线观看| 欧美性猛片aaaaaaa做受| 亚洲欧洲一区二区在线播放| 国产精品一线二线三线| 91精品国产欧美一区二区成人| 中文字幕免费观看一区| 国产一区三区三区| 日韩你懂的在线观看| 亚洲国产精品视频| 欧美影院午夜播放| 亚洲一区日韩精品中文字幕| 91麻豆免费视频| 亚洲精品成人悠悠色影视| 色婷婷精品大视频在线蜜桃视频| 最新日韩在线视频|