Next: , Previous: , Up: Creating a Multinode Model   [Contents][Index]


4.2.3 Defining Instruction Class Sets

An instruction class set is a container of instruction classes and a node class. The instruction class set defines an assembler instruction set for nodes belonging to the node class and specifies associated model behavior.

A name and event handler function specify an instruction class set. By default, the name of such event handler function is the name of an instruction class set.

The event handler function typically processes the initialization of an instruction class set, loading assembler programs into nodes of a node class represented by the instruction class set on creating the model instance, and transferring control to the nodes and returning control from them during model execution.

The initialization of an instruction class set typically includes adding instruction classes to it, setting the maximum number of node states, and creating nodes belonging to the node class.