⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iotool.java

📁 The ElectricTM VLSI Design System is an open-source Electronic Design Automation (EDA) system that c
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
	/**	 * Method to set whether GDS Input ignores text.	 * Text can clutter the display, so some users don't want to read it.	 * @param on true if GDS Input ignores text.	 */	public static void setGDSInIncludesText(boolean on) { cacheGDSInIncludesText.setBoolean(on); }	/**	 * Method to tell whether GDS Input ignores text, by default.	 * Text can clutter the display, so some users don't want to read it.	 * @return true if GDS Input ignores text, by default.	 */	public static boolean isFactoryGDSInIncludesText() { return cacheGDSInIncludesText.getBooleanFactoryValue(); }	private static Pref cacheGDSInExpandsCells = Pref.makeBooleanPref("GDSInExpandsCells", IOTool.tool.prefs, false);	/**	 * Method to tell whether GDS Input expands cells.	 * The default is "false".	 * @return true if GDS Input expands cells.	 */	public static boolean isGDSInExpandsCells() { return cacheGDSInExpandsCells.getBoolean(); }	/**	 * Method to set whether GDS Input expands cells.	 * @param on true if GDS Input expands cells.	 */	public static void setGDSInExpandsCells(boolean on) { cacheGDSInExpandsCells.setBoolean(on); }	/**	 * Method to tell whether GDS Input expands cells, by default.	 * @return true if GDS Input expands cells, by default.	 */	public static boolean isFactoryGDSInExpandsCells() { return cacheGDSInExpandsCells.getBooleanFactoryValue(); }	private static Pref cacheGDSInInstantiatesArrays = Pref.makeBooleanPref("GDSInInstantiatesArrays", IOTool.tool.prefs, true);	/**	 * Method to tell whether GDS Input instantiates arrays.	 * The default is "true".	 * When false, only the edges of arrays are instantiated, not those entries in the center.	 * @return true if GDS Input instantiates arrays.	 */	public static boolean isGDSInInstantiatesArrays() { return cacheGDSInInstantiatesArrays.getBoolean(); }	/**	 * Method to set whether GDS Input instantiates arrays.	 * When false, only the edges of arrays are instantiated, not those entries in the center.	 * @param on true if GDS Input instantiates arrays.	 */	public static void setGDSInInstantiatesArrays(boolean on) { cacheGDSInInstantiatesArrays.setBoolean(on); }	/**	 * Method to tell whether GDS Input instantiates arrays, by default.	 * When false, only the edges of arrays are instantiated, not those entries in the center.	 * @return true if GDS Input instantiates arrays, by default.	 */	public static boolean isFactoryGDSInInstantiatesArrays() { return cacheGDSInInstantiatesArrays.getBooleanFactoryValue(); }	private static Pref cacheGDSInIgnoresUnknownLayers = Pref.makeBooleanPref("GDSInIgnoresUnknownLayers", IOTool.tool.prefs, false);	/**	 * Method to tell whether GDS Input ignores unknown layers	 * The default is "false".	 * Unknown layers are replaced with "DRC exclusion" nodes if not ignored.	 * @return true if GDS Input ignores unknown layers	 */	public static boolean isGDSInIgnoresUnknownLayers() { return cacheGDSInIgnoresUnknownLayers.getBoolean(); }	/**	 * Method to set whether GDS Input ignores unknown layers	 * Unknown layers are replaced with "DRC exclusion" nodes if not ignored.	 * @param on true if GDS Input ignores unknown layers	 */	public static void setGDSInIgnoresUnknownLayers(boolean on) { cacheGDSInIgnoresUnknownLayers.setBoolean(on); }	/**	 * Method to tell whether GDS Input ignores unknown layers, by default.	 * Unknown layers are replaced with "DRC exclusion" nodes if not ignored.	 * @return true if GDS Input ignores unknown layers, by default.	 */	public static boolean isFactoryGDSInIgnoresUnknownLayers() { return cacheGDSInIgnoresUnknownLayers.getBooleanFactoryValue(); }	private static Pref cacheGDSConvertNCCExportsConnectedByParentPins = Pref.makeBooleanPref("GDSConvertNCCEconnectedByParentPins", IOTool.tool.prefs, false);	/**	 * True to convert pin names to name:name for pins that are specified in the	 * NCC annotation, "exportsConnectedByParent".  This allows external LVS tools to	 * perform the analogous operation of virtual connection of networks.	 * For example, 'exportsConnectedByParent vdd /vdd_[0-9]+/' will rename all	 * pins that match the assertion to vdd:vdd.	 */	public static boolean getGDSConvertNCCExportsConnectedByParentPins() { return cacheGDSConvertNCCExportsConnectedByParentPins.getBoolean(); }	/**	 * True to convert pin names to name:name for pins that are specified in the	 * NCC annotation, "exportsConnectedByParent".  This allows external LVS tools to	 * perform the analogous operation of virtual connection of networks.	 * For example, 'exportsConnectedByParent vdd /vdd_[0-9]+/' will rename all	 * pins that match the assertion to vdd:vdd.	 */	public static void setGDSConvertNCCExportsConnectedByParentPins(boolean b) { cacheGDSConvertNCCExportsConnectedByParentPins.setBoolean(b); }	/**	 * True to convert pin names to name:name for pins that are specified in the	 * NCC annotation, "exportsConnectedByParent" (by default).  This allows external LVS tools to	 * perform the analogous operation of virtual connection of networks.	 * For example, 'exportsConnectedByParent vdd /vdd_[0-9]+/' will rename all	 * pins that match the assertion to vdd:vdd.	 */	public static boolean getFactoryGDSConvertNCCExportsConnectedByParentPins() { return cacheGDSConvertNCCExportsConnectedByParentPins.getBooleanFactoryValue(); }	private static Pref cacheGDSInSimplifyCells = Pref.makeBooleanPref("GDSInSimplifyCells", IOTool.tool.prefs, false);	/**	 * Method to tell whether GDS Input simplifies contact vias.	 * The default is "false".	 * @return true if GDS Input simplifies contact vias.	 */	public static boolean isGDSInSimplifyCells() { return cacheGDSInSimplifyCells.getBoolean(); }	/**	 * Method to set whether GDS Input simplifies contact vias.	 * @param on true if GDS Input simplifies contact vias.	 */	public static void setGDSInSimplifyCells(boolean on) { cacheGDSInSimplifyCells.setBoolean(on); }	/**	 * Method to tell whether GDS Input simplifies contact vias, by default.	 * @return true if GDS Input simplifies contact vias, by default.	 */	public static boolean isFactoryGDSInSimplifyCells() { return cacheGDSInSimplifyCells.getBooleanFactoryValue(); }	private static Pref cacheGDSColapseVddGndPinNames = Pref.makeBooleanPref("cacheGDSColapseVddGndPinNames", IOTool.tool.prefs, false);	/**	 * Method to tell whether Vdd_* and Gnd_* export pins must be colapsed. This is for extraction in Fire/Ice.	 * @return true if GDS Input colapses vdd/gnd names.	 */	public static boolean isGDSColapseVddGndPinNames() { return cacheGDSColapseVddGndPinNames.getBoolean(); }	/**	 * Method to set whether Vdd_* and Gnd_* export pins must be colapsed. This is for extraction in Fire/Ice.	 * @param on true if GDS Input colapses vdd/gnd names.	 */	public static void setGDSColapseVddGndPinNames(boolean on) { cacheGDSColapseVddGndPinNames.setBoolean(on); }	/**	 * Method to tell whether Vdd_* and Gnd_* export pins must be colapsed, by default. This is for extraction in Fire/Ice.	 * @return true if GDS Input colapses vdd/gnd names, by default.	 */	public static boolean isFactoryGDSColapseVddGndPinNames() { return cacheGDSColapseVddGndPinNames.getBooleanFactoryValue(); }	private static Pref cacheGDSArraySimplification = Pref.makeIntPref("cacheGDSArraySimplification", IOTool.tool.prefs, 0);	/**	 * Method to tell how GDS input should simplify array references (AREFs).	 * Choices are: 0=none (default), 1=merge each AREF, 2=merge all AREFs in a cell	 * @return how GDS input should simplify array references (AREFs).	 */	public static int getGDSArraySimplification() { return cacheGDSArraySimplification.getInt(); }	/**	 * Method to set how GDS input should simplify array references (AREFs).	 * Choices are: 0=none (default), 1=merge each AREF, 2=merge all AREFs in a cell	 * @param on how GDS input should simplify array references (AREFs).	 */	public static void setGDSArraySimplification(int on) { cacheGDSArraySimplification.setInt(on); }	/**	 * Method to tell how GDS input should simplify array references (AREFs), by default.	 * Choices are: 0=none (default), 1=merge each AREF, 2=merge all AREFs in a cell	 * @return how GDS input should simplify array references (AREFs), by default.	 */	public static int getFactoryGDSArraySimplification() { return cacheGDSArraySimplification.getIntFactoryValue(); }	/****************************** POSTSCRIPT OUTPUT PREFERENCES ******************************/	private static Pref cachePrintEncapsulated = Pref.makeBooleanPref("PostScriptEncapsulated", IOTool.tool.prefs, false);	/**	 * Method to tell whether PostScript Output is Encapsulated.	 * Encapsulated PostScript can be inserted into other documents.	 * The default is "false".	 * @return true if PostScript Output is Encapsulated.	 */	public static boolean isPrintEncapsulated() { return cachePrintEncapsulated.getBoolean(); }	/**	 * Method to set whether PostScript Output is Encapsulated.	 * Encapsulated PostScript can be inserted into other documents.	 * @param on true if PostScript Output is Encapsulated.	 */	public static void setPrintEncapsulated(boolean on) { cachePrintEncapsulated.setBoolean(on); }	/**	 * Method to tell whether PostScript Output is Encapsulated by default.	 * Encapsulated PostScript can be inserted into other documents.	 * @return true if PostScript Output is Encapsulated by default.	 */	public static boolean isFactoryPrintEncapsulated() { return cachePrintEncapsulated.getBooleanFactoryValue(); }	private static Pref cachePrintResolution = Pref.makeIntPref("PrintResolution", IOTool.tool.prefs, 300);	/**	 * Method to tell the default printing resolution.	 * Java printing assumes 72 DPI, this is an override.	 * The factory default is "300".	 * @return the default printing resolution.	 */	public static int getPrintResolution() { return cachePrintResolution.getInt(); }	/**	 * Method to set the default printing resolution.	 * Java printing assumes 72 DPI, this is an override.	 * @param r the default printing resolution.	 */	public static void setPrintResolution(int r) { cachePrintResolution.setInt(r); }	/**	 * Method to tell the factory default printing resolution.	 * Java printing assumes 72 DPI, this is an override.	 * @return the factory default printing resolution.	 */	public static int getFactoryPrintResolution() { return cachePrintResolution.getIntFactoryValue(); }	private static Pref cachePrintForPlotter = Pref.makeBooleanPref("PostScriptForPlotter", IOTool.tool.prefs, false);	/**	 * Method to tell whether PostScript Output is for a plotter.	 * Plotters have width, but no height, since they are continuous feed.	 * The default is "false".	 * @return true if PostScript Output is for a plotter.	 */	public static boolean isPrintForPlotter() { return cachePrintForPlotter.getBoolean(); }	/**	 * Method to set whether PostScript Output is for a plotter.	 * Plotters have width, but no height, since they are continuous feed.	 * @param on true if PostScript Output is for a plotter.	 */	public static void setPrintForPlotter(boolean on) { cachePrintForPlotter.setBoolean(on); }	/**	 * Method to tell whether PostScript Output is for a plotter, by default.	 * Plotters have width, but no height, since they are continuous feed.	 * @return true if PostScript Output is for a plotter, by default.	 */	public static boolean isFactoryPrintForPlotter() { return cachePrintForPlotter.getBooleanFactoryValue(); }	private static Pref cachePrintWidth = Pref.makeDoublePref("PostScriptWidth", IOTool.tool.prefs, 8.5);	/**	 * Method to tell the width of PostScript Output.	 * The width is in inches.	 * The default is "8.5".	 * @return the width of PostScript Output.	 */	public static double getPrintWidth() { return cachePrintWidth.getDouble(); }	/**	 * Method to set the width of PostScript Output.	 * The width is in inches.	 * @param wid the width of PostScript Output.	 */	public static void setPrintWidth(double wid) { cachePrintWidth.setDouble(wid); }	/**	 * Method to tell the width of PostScript Output, by default.	 * The width is in inches.	 * @return the width of PostScript Output, by default.	 */	public static double getFactoryPrintWidth() { return cachePrintWidth.getDoubleFactoryValue(); }	private static Pref cachePrintHeight = Pref.makeDoublePref("PostScriptHeight", IOTool.tool.prefs, 11);	/**	 * Method to tell the height of PostScript Output.	 * The height is in inches, and only applies if printing (not plotting).	 * The default is "11".	 * @return the height of PostScript Output.	 */	public static double getPrintHeight() { return cachePrintHeight.getDouble(); }	/**	 * Method to set the height of PostScript Output.	 * The height is in inches, and only applies if printing (not plotting).	 * @param hei the height of PostScript Output.	 */	public static void setPrintHeight(double hei) { cachePrintHeight.setDouble(hei); }	/**	 * Method to tell the height of PostScript Output, by default.	 * The height is in inches, and only applies if printing (not plotting).	 * @return the height of PostScript Output, by default.	 */	public static double getFactoryPrintHeight() { return cachePrintHeight.getDoubleFactoryValue(); }	private static Pref cachePrintMargin = Pref.makeDoublePref("PostScriptMargin", IOTool.tool.prefs, 0.75);	/**	 * Method to tell the margin of PostScript Output.	 * The margin is in inches and insets from all sides.	 * The default is "0.75".	 * @return the margin of PostScript Output.	 */	public static double getPrintMargin() { return cachePrintMargin.getDouble(); }	/**	 * Method to set the margin of PostScript Output.	 * The margin is in inches and insets from all sides.	 * @param mar the margin of PostScript Output.	 */	public static void setPrintMargin(double mar) { cachePrintMargin.setDouble(mar); }	/**	 * Method to tell the margin of PostScript Output, by default.	 * The margin is in inches and insets from all sides.	 * @return the margin of PostScript Output, by default.	 */	public static double getFactoryPrintMargin() { return cachePrintMargin.getDoubleFactoryValue(); }	private static Pref cachePrintRotation = Pref.makeIntPref("PostScriptRotation", IOTool.tool.prefs, 0);	/**	 * Method to tell the rotation of PostScript Output.	 * The plot can be normal or rotated 90 degrees to better fit the paper.	 * @return the rotation of PostScript Output:	 * 0=no rotation (the default);	 * 1=rotate 90 degrees;	 * 2=rotate automatically to fit best.	 */	public static int getPrintRotation() { return cachePrintRotation.getInt(); }	/**

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -