~ubuntu-branches/ubuntu/jaunty/electric/jaunty

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/io/output/IRSIM.java

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2009-01-08 02:05:08 UTC
  • mfrom: (1.1.2 upstream) (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090108020508-0h3li7zt9mu5gf0i
Tags: 8.08-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
            TransistorSize dim = ni.getTransistorSize(info.getContext());
178
178
            if (dim != null && (dim.getDoubleLength() == 0 || dim.getDoubleWidth() == 0))
179
179
            {
180
 
                if (ni.isFET())
 
180
                if (ni.getFunction().isFET())
181
181
                {
182
182
                        double len = dim.getDoubleLength();
183
183
                        double wid = dim.getDoubleWidth();
184
184
                        if (len == 0) len = 2;
185
185
                        if (wid == 0) wid = 2;
186
 
                        dim = new TransistorSize(new Double(wid), new Double(len), dim.getActiveLength());
 
186
                        dim = new TransistorSize(new Double(wid), new Double(len), dim.getActiveLength(), true);
187
187
                    System.out.println("Warning, cannot evaluate size of transistor " + ni +
188
188
                        " in cell " + info.getCell() + ", using default sizes");
189
189
                } else dim = null;