Package cl.alejo.jcsim.csim.dom

Examples of cl.alejo.jcsim.csim.dom.Pin


      addGatesAttachedToPin(gate, listGate, i);
    }
  }

  private static void addGatesAttachedToPin(Gate gate, List listGate, int i) {
    Pin pinFirst = gate.getPin(i);
    Pin pin = pinFirst;
    do {
      findGates(pin.getGate(), listGate);
      pin = (Pin) pin.next();
    } while (pin != pinFirst);
  }
View Full Code Here


    List gates = new ArrayList();

    for (Iterator iter = contacts.iterator(); iter.hasNext();) {
      ContactPin ctt = (ContactPin) iter.next();

      Pin pin = ctt.getGuidePin();

      if (pin != null)
        findGates(pin.getGate(), gates);
    }

    return gates;
  }
View Full Code Here

    // 0 : entrada
    // 1 : salida
    // 2 : clock
    _pin = new Pin[pinCount()];
    for (int i = 0; i < pinCount(); i++)
      _pin[i] = new Pin(this, circ, (byte) i);

    // El pin que controla el valor del pin de salida
    _pin[2] = new FFDataPin(this, circ, (byte) 2);
  }
View Full Code Here

    // Los parametros
    this._gateDescriptor = gatedesc;
    this._parameters = params;
    this._circuit = circ;
    _pin = new Pin[pinCount()];
    _pin[0] = new Pin(this, circ, (byte) 0);
  }
View Full Code Here

TOP

Related Classes of cl.alejo.jcsim.csim.dom.Pin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.