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.
Related Articles
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. ...
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: ...
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: ...
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: ...