Merge branch 'development' of
[Mograsim.git] / net.mograsim.machine / src / net / mograsim / machine / mi / parameters / ParameterClassification.java
index f98def9..3b3f1a2 100644 (file)
@@ -10,7 +10,7 @@ public interface ParameterClassification
         */
        public default boolean conforms(MicroInstructionParameter param)
        {
-               return param.getType().equals(getExpectedType()) && param.getValue().width() == getExpectedBits();
+               return param.getType().equals(getExpectedType()) && param.getValue().length() == getExpectedBits();
        }
        
        /**