taps.setVisibility(Settable.NONE);
error = new TypedIOPort(this, "error", true, false);
tapValues = new TypedIOPort(this, "tapValues", false, true);
stepSize = new Parameter(this, "stepSize");
stepSize.setExpression("0.01");
errorDelay = new Parameter(this, "errorDelay");
errorDelay.setExpression("1");
errorDelay.setTypeEquals(BaseType.INT);
// NOTE: This parameter is really just a renaming of the
// taps parameter of the base class. Setting it will just
// cause the base class to be set.
initialTaps = new Parameter(this, "initialTaps");
initialTaps.setTypeAtLeast(ArrayType.ARRAY_BOTTOM);
initialTaps.setExpression("{1.0, 0.0, 0.0, 0.0}");
// set type constraints.
error.setTypeSameAs(input);