Error generated when Architecture Setup block missing in Memory Controller block

Error generated when Architecture Setup block missing in Memory Controller block

Architecture name in the Memory Controller block must match with the ArchitectureSetup name.If this doesn't match, then the following error will be generated.

"VisualSim.kernel.util.IllegalActionException: 
Problem performing RegEx JIF Script Line (26): if (!port_token.A_First_Word) false, expression plus 19, else plus 1.
Error_Number        :  VM_006
Possible_Solution   :  Check spelling, questionable value, or Listen to Block; Virtual_Machine (Right-Mouse click) execution.
Description         :  CException Reported: VisualSim.kernel.util.IllegalActionException: No method found matching {A_Destination = string, A_Hop = string, A_Instruction = string, A_Source = string, BLOCK = string, DELTA = double, DS_NAME = string, ID = int, INDEX = int, TIME = double}.A_First_Word()
  in .Memory_Controller_ArchitectureName_Missing.Memory_Controller2.Read_Data_from_Memory
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 ArchitectureSetup block is instantiated and the name of the block is updated in the memory controller block.