Existing researches
Presence of editors FSM testifies to a urgency of a theme of finite state automations (finite state machine) in such products as AHDL and Riviera. The Most widespread among description languages of the equipment are languages VHDL and Verilog. However direct implementation of controlling automatic devices in these languages is labour-intensive process. Therefore the special tools have been included in structure of many foreign CAD, allowing to simplify development of controlling automatic devices. So FSM unit is included in structure of CAD Active-HDL of Aldec corporation. This unit possesses a multifunctional graphic interface, for the description of controlling automatic devices. However FSM unit possesses number of disadvantages. In particular, the form of record of the controlling automatic device demands knowledge of language HDL. Systems of designing of controlling automatic devices and in other CAD are In a similar way organized.
Also FSM models at code generation do not consider hardware expenses at generation result code as it will be necessary that it is made by resources of synthesis, but the generated code does not consider many features of implementation of structure of the automatic device, therefore resources of synthesis often produce not the most optimal configuration result devices.
Comparative results of parameters of the synthesized devices at the identical initial columns-schemes, realized by resources FSM A-HDL (finite state machine) and by means of the structural description result circuits, show the certain decrease of number of used units FPGA at implementation by the second way.
Results of synthesis (for COTTON VELVET Lattice ispGDX2 Part LX256V):
Table 1 – Result of synthesis in FSM editor |
Table 2 – Result of synthesis by a trivial method |
DFF
IBUF
OBUF
AND2
INV |
8 uses
2 uses
3 uses
16 uses
12 uses |
|
DFF
IBUF
OBUF
AND2
INV |
6 uses
2 uses
3 uses
12 uses
11 uses |
|
Disadvantage of FSM-editor A-HDL – generation of a program code in behavioural style that does impossible to predict result of synthesis. The structural description of the circuit received as a result of trivial implementation, enables predictions of results even before synthesis – at a stage of generation of a program code that enables to generate a code for a chip or numbers of valves FPGA of the set dimension. [4]
As to UML editors for finite state automations one of such developments is executed graphics language on the basis of SWITCH-technologies and UML-notations – UniMod which describes behaviour of the object by means of graphs of transitions of structural automatic devices with the notation, and columns of transitions are under construction by means of the notation of the diagram of states UML.
Package UniMod provides development and execution of the automaton-oriented programs. It allows to create and edit UML-diagrams of classes and states which correspond to the circuit of links and the graph of transitions, and supports two types of implementation — on the basis of interpretation and compilation. In the first case there is a possibility:
To transform diagrams to format XML;
To execute the received XML-description by means of the interpreter created on the basis of a set of developed base classes. These classes realize, for example, such functions as event processing, saving of a current state, recording.
In the second case of the diagram it will directly be transformed to a code in the target programming language which subsequently is compiled and started.
Designing of programs with usage of package UniMod assumes the following approach: the logic of the application is described by the structural finite state automation set in the form of a set specified above diagrams, constructed with usage of the UML-notation. Sources of events and objects of handle are set by a code in the target programming language. [1].
One of UML the editors allowing partially to realize a task in view, is Poseidon. It is convenient the interface and generates comprehensible result code, but its disadvantage that data program product has the paid license and the closed program code that does impossible its modification in a necessary direction.
To one more UML the editor is UMLet constructed a development team on the basis of platform Eclipse, development covers all UML, that is rather inconvenient for the given discussed theme. |