Bus_Width_Byte parameter must be an integer value. If any other data type is entered, then the following error will be generated. In this case the error is caused due to the parameter containing a double value is used.
"VisualSim.kernel.util.IllegalActionException: Block: .Memory_Controller_invalid_Bus_Width.Load_Balancer.Master_2 Calculator operation NOT found, : 0
RHS: 16.0
at VisualSim.actor.util.VirtualFunctions.functionCalculator(Unknown Source)
at VisualSim.actor.util.VirtualFunctions.calcExpr(Unknown Source)
at VisualSim.actor.lib.Virtual_Machine.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.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 to use a valid data type for the parameter.
Related Articles
Error Generated when a Parameter is used on the LHS in a computation
Since parameters are constants, these will have their value updated during simulation runtime. Thus using a parameter on the LHS in any computation causes the following error "VisualSim.kernel.util.IllegalActionException: ...
Error generated when an invalid datatype provided for the block parameter
When an invalid value (of non-native data type) is provided for the block parameter of Queue or Server block, then the following error will be generated. "VisualSim.kernel.util.IllegalActionException: Block: ...
Error generated when an invalid DRAM type is set in the Memory Controller block.
Valid DRAM types are the following. SDR, DDR, DDR2, LPDDR, LPDDR2_NV, LPDDR2_S2, LPDDR2_S4, DDR3, If any other type is specified, then the following error will be generated. "VisualSim.kernel.util.IllegalActionException: ...
Error generated when Invalid database RegEx is used.
Below mentioned is one of the common regEx expressions used wrong. The function getRows( ) must have all the arguments in string datatype. If any one of the argument is not a string, this causes error E.g.temp = getRows("Database",1,"Row") where an ...
Error generated when an invalid regEx expression is used.
An error will be generated when an invalid regEx function si used, the error highlights the invalid regEx function. the following is one of the examples. "VisualSim.kernel.util.IllegalActionException: Problem performing RegEx Script Line (2) Result: ...