Error generated when an invalid data type value is entered for number of clock cycle in Interuction_Set block.

Error generated when an invalid data type value is entered for number of clock cycle in Interuction_Set block.

The number of clock cycle needed to execute a particular instruction must be mentioned in the Instruction_Set. This value must be an Integer value. If or value or value of any other data type is mentioned, then the following error will be generated.


"VisualSim.kernel.util.IllegalActionException: 
Instruction Mnemonic, Index (ADD, 0) not found for Execution Unit (INT_1)
Check Instruction_Set for match.
  in .Instruction_Set_Invalid_Number_of_Cycle.Processor
at VisualSim.actor.arch.Processor.scheduleExecutionUnit(Unknown Source)
at VisualSim.actor.arch.Processor.processorEvent(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 value is mentioned in Integer datatype.