Error generated when invalid pipeline stage is defined in the Processor

Error generated when invalid pipeline stage is defined in the Processor

The value entered for the parameter "Pipeline_Stages" must match with the number of pipeline stages declared in the Pipeline_Stage. If this does not match then the following error will be generated,


"VisualSim.kernel.util.IllegalActionException: Pipeline Script Length (4) does not match the parameter,
Number_of_Pipeline_Stages (5), suggest modifying to match.
  in .Processor_Invalid_Pipeline_Stages_Parameter.Processor
at VisualSim.actor.arch.Processor.firstPass(Unknown Source)
at VisualSim.actor.arch.Processor.fire(Unknown Source)
at VisualSim.simulators.de.kernel.DEDirector.fireVisualSim(Unknown Source)
at VisualSim.simulators.de.kernel.DEDirector.fire(Unknown Source)
at VisualSim.actor.CompositeActor.fire(Unknown Source)
at VisualSim.actor.Manager.iterate(Unknown Source)
at VisualSim.actor.Manager.execute(Unknown Source)
at VisualSim.actor.Manager.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
at VisualSim.kernel.util.VisualSimThread.run(Unknown Source) "


Solution: Make sure the parameter Pipeline_Stage and the number of stages declared must match.