📄 technologytab.java
字号:
"If you cancel the operation, the foundry will not be changed.", "Do you want to resize the database?"}; Object [] options = {"Yes", "No", "Cancel"}; int val = JOptionPane.showOptionDialog(TopLevel.getCurrentJFrame(), messages, "Resize primitive Nodes and Arcs", JOptionPane.DEFAULT_OPTION, JOptionPane.WARNING_MESSAGE, null, options, options[0]); if (val != 2) { setString(tech.getPrefFoundrySetting(), foundry.getName()); } } return changed; } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; techMOCMOSRules = new javax.swing.ButtonGroup(); technology = new javax.swing.JPanel(); defaultsPanel = new javax.swing.JPanel(); defaultTechLabel = new javax.swing.JLabel(); defaultTechPulldown = new javax.swing.JComboBox(); jLabel59 = new javax.swing.JLabel(); technologyPopup = new javax.swing.JComboBox(); technologyProcess = new javax.swing.JCheckBox(); mosisPanel = new javax.swing.JPanel(); techMetalLabel = new javax.swing.JLabel(); techMetalLayers = new javax.swing.JComboBox(); techMOCMOSSCMOSRules = new javax.swing.JRadioButton(); techMOCMOSSubmicronRules = new javax.swing.JRadioButton(); techMOCMOSDeepRules = new javax.swing.JRadioButton(); techMOCMOSSecondPoly = new javax.swing.JCheckBox(); techMOCMOSDisallowStackedVias = new javax.swing.JCheckBox(); techMOCMOSAlternateContactRules = new javax.swing.JCheckBox(); techMOCMOSAnalog = new javax.swing.JCheckBox(); cmos90Panel = new javax.swing.JPanel(); tsmc180Panel = new javax.swing.JPanel(); setTitle("Edit Options"); setName(""); // NOI18N addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { closeDialog(evt); } }); getContentPane().setLayout(new java.awt.GridBagLayout()); technology.setLayout(new java.awt.GridBagLayout()); defaultsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Defaults")); defaultsPanel.setLayout(new java.awt.GridBagLayout()); defaultTechLabel.setText("Startup technology:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(4, 4, 2, 4); defaultsPanel.add(defaultTechLabel, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 0; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(4, 4, 2, 4); defaultsPanel.add(defaultTechPulldown, gridBagConstraints); jLabel59.setText("Layout technology to use for Schematics:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(2, 4, 2, 4); defaultsPanel.add(jLabel59, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(2, 4, 2, 4); defaultsPanel.add(technologyPopup, gridBagConstraints); technologyProcess.setText("PWell process in Layout Technology"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 7; gridBagConstraints.gridwidth = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(1, 4, 4, 4); defaultsPanel.add(technologyProcess, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; technology.add(defaultsPanel, gridBagConstraints); mosisPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("mocmos Technology")); mosisPanel.setLayout(new java.awt.GridBagLayout()); techMetalLabel.setText("Metal layers:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4); mosisPanel.add(techMetalLabel, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.weightx = 1.0; gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4); mosisPanel.add(techMetalLayers, gridBagConstraints); techMOCMOSRules.add(techMOCMOSSCMOSRules); techMOCMOSSCMOSRules.setText("SCMOS rules (4 metal or less)"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(4, 4, 1, 4); mosisPanel.add(techMOCMOSSCMOSRules, gridBagConstraints); techMOCMOSRules.add(techMOCMOSSubmicronRules); techMOCMOSSubmicronRules.setText("Submicron rules"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(1, 4, 1, 4); mosisPanel.add(techMOCMOSSubmicronRules, gridBagConstraints); techMOCMOSRules.add(techMOCMOSDeepRules); techMOCMOSDeepRules.setText("Deep rules (5 metal or more)"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(1, 4, 4, 4); mosisPanel.add(techMOCMOSDeepRules, gridBagConstraints); techMOCMOSSecondPoly.setText("Second Polysilicon Layer"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; gridBagConstraints.gridwidth = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(4, 4, 1, 4); mosisPanel.add(techMOCMOSSecondPoly, gridBagConstraints); techMOCMOSDisallowStackedVias.setText("Disallow stacked vias"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 5; gridBagConstraints.gridwidth = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(1, 4, 1, 4); mosisPanel.add(techMOCMOSDisallowStackedVias, gridBagConstraints); techMOCMOSAlternateContactRules.setText("Alternate Active and Poly contact rules"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 6; gridBagConstraints.gridwidth = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(1, 4, 1, 4); mosisPanel.add(techMOCMOSAlternateContactRules, gridBagConstraints); techMOCMOSAnalog.setText("Analog"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 7; gridBagConstraints.gridwidth = 3; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(1, 4, 4, 4); mosisPanel.add(techMOCMOSAnalog, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridheight = 2; technology.add(mosisPanel, gridBagConstraints); cmos90Panel.setBorder(javax.swing.BorderFactory.createTitledBorder("")); cmos90Panel.setLayout(new java.awt.GridBagLayout()); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; technology.add(cmos90Panel, gridBagConstraints); tsmc180Panel.setBorder(javax.swing.BorderFactory.createTitledBorder("")); tsmc180Panel.setLayout(new java.awt.GridBagLayout()); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; technology.add(tsmc180Panel, gridBagConstraints); getContentPane().add(technology, new java.awt.GridBagConstraints()); pack(); }// </editor-fold>//GEN-END:initComponents /** Closes the dialog */ private void closeDialog(java.awt.event.WindowEvent evt)//GEN-FIRST:event_closeDialog { setVisible(false); dispose(); }//GEN-LAST:event_closeDialog // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JPanel cmos90Panel; private javax.swing.JLabel defaultTechLabel; private javax.swing.JComboBox defaultTechPulldown; private javax.swing.JPanel defaultsPanel; private javax.swing.JLabel jLabel59; private javax.swing.JPanel mosisPanel; private javax.swing.JCheckBox techMOCMOSAlternateContactRules; private javax.swing.JCheckBox techMOCMOSAnalog; private javax.swing.JRadioButton techMOCMOSDeepRules; private javax.swing.JCheckBox techMOCMOSDisallowStackedVias; private javax.swing.ButtonGroup techMOCMOSRules; private javax.swing.JRadioButton techMOCMOSSCMOSRules; private javax.swing.JCheckBox techMOCMOSSecondPoly; private javax.swing.JRadioButton techMOCMOSSubmicronRules; private javax.swing.JLabel techMetalLabel; private javax.swing.JComboBox techMetalLayers; private javax.swing.JPanel technology; private javax.swing.JComboBox technologyPopup; private javax.swing.JCheckBox technologyProcess; private javax.swing.JPanel tsmc180Panel; // End of variables declaration//GEN-END:variables}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -