Error generated when an unsupported data type value is entered to number of banks in CycleAccurate DRAM

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 (27) Result: 1.4992503748126E-9  Expr: Rd_State_Arr            = newArray (Number_of_Banks, false)
Error_Number        :  VM_001
Possible_Solution   :  Exception Reported: VisualSim.kernel.util.IllegalActionException: No function found matching newArray(double, boolean)
Description         :  Suggest checking memory, variables, arguments of functions are valid.
  in .CA_DRAM_invalid_parameter_Num_Bank.CA_DRAM.HW_DRAM
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 the value entered is of the valid data type.