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.
Related Articles
Error generated when Instruction_Set doesn't have begin and end delimiter.
Each instruction for a particular instruction set must be written withing Begin and End delimiter. E.g. usage is begin INT_1 ; ADD 20 ; end INT_1 ; If this is not found, then the following error will be generated. ...
Error generated when the Processor block can't find the Instruction_Set block.
An Instruction_Set block is needed for a processor block. If processor block couldn't access the Instruction_Set block then the following error will bee generated. "VisualSim.kernel.util.IllegalActionException: Processor_Instruction_Set reference ...
Error generated when an unsupported data type value is entered to number of banks in CycleAccurate DRAM
In Cycle accurate DRAM the, parameter for Number of bank must be an integer value. If any other data type is entered, then the following error will be generated. "VisualSim.kernel.util.IllegalActionException: Problem performing RegEx Script Line ...
Error generated when an invalid number of cache units defined in the Processor block.
the value entered for the parameter Cache_Execution_Units must match with the number of Cache execution units declared. E.g. If there are 3 cache execution units, whereas the value for the parameter Cache_Execution_Units must be set to 2 If the ...
Error generated when an invalid DRAM type is entered in the CycleAccurate DRAM block.
The type of the DRAM must be one of the following, SDR, DDR, DDR2, LPDDR, LPDDR2_NV, LPDDR2_S2, LPDDR2_S4, DDR3. If any other type is chosen then the following error will be generated. "VisualSim.kernel.util.IllegalActionException: ...