Download Low-Cost On-Board Software Development Toolkit Integration of
Transcript
CHAPTER 6. INTERFACES DESIGN
20
The tool may also be started independently from SEE, by loading it in an interpreter
compliant to the restrictions mentioned above.
6.2.2 Graphical user interface
The GUI of the RTA tool is structured in the elements listed below:
A text area in which the results of the temporal analyses of HRT-HOOD designs are
shown.
A menu bar, allowing to perform four operations:
– Load a HRT-HOOD design from a CASEML file.
– Start the response time analysis of a HRT-HOOD design.
– Display help.
– Exit the RTA tool.
This interface is created by the Tcl script hood-rta.tcl. Also, the procedures implementing the functionalities listed above are declared in this module.
6.3 Internal interfaces
6.3.1 hood-rta
This package does not provide an external interface. It is directly loaded in a Tcl interpreter, as described in Section 6.2.1.
6.3.2 HOOD2TSF
As explained above in this document, the namespace HOOD2TSF exports four procedures
and two error variables. Their interfaces are detailed here.
Procedure HOOD2TSF::LoadFile { caseml_file } :
caseml_file: string containing the name of the CASEML file to be loaded.
Procedure HOOD2TSF::Convert :
file: name of the TSF file to be created.
Procedure HOOD2TSF::AnalyzeUpdatedTSF { fname } :
fname: base name of the TSF file to be analyzed.
Procedure HOOD2TSF::UpdateTree :
This procedure has no parameters.
Variable HOOD2TSF::Error :
Value “1” means that an error occurred.
Value “0” means that there were no errors.