Formality® Tool Invocation Commands: Version O-2018.06, June 2018
Formality® Tool Invocation Commands: Version O-2018.06, June 2018
Disclaimer
SYNOPSYS, INC., AND ITS LICENSORS MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE.
Trademarks
Syno ps ys and c ertain Syno ps ys pro duc t names are trademarks o f Syno ps ys , as s et fo rth at
http://www.s yno ps ys .c o m/Co mpany/Pages /Trademarks .as px.
All o ther pro duc t o r c o mpany names may be trademarks o f their res pec tive o wners .
Third-Part y Links
Any links to third-party webs ites inc luded in this do c ument are fo r yo ur c o nvenienc e o nly. Syno ps ys do es no t endo rs e and
is no t res po ns ible fo r s uc h webs ites and their prac tic es , inc luding privac y prac tic es , availability, and c o ntent.
Syno ps ys , Inc .
690 E. Middlefield Ro ad
Mo untain View, CA 94043
www.s yno ps ys .c o m
1. Redis tributio ns o f s o urc e c o de mus t retain the abo ve c o pyright no tic e, this lis t o f c o nditio ns and the fo llo wing
dis c laimer.
2. Redis tributio ns in binary fo rm mus t repro duc e the abo ve c o pyright no tic e, this lis t o f c o nditio ns and the fo llo wing
dis c laimer in the do c umentatio n and/o r o ther materials pro vided with the dis tributio n.
3. All advertis ing materials mentio ning features o r us e o f this s o ftware mus t dis play the fo llo wing ac kno wledgement:
This pro duc t inc ludes s o ftware develo ped by the Univers ity o f Califo rnia, Berkeley and its c o ntributo rs .
4. Neither the name o f the Univers ity no r the names o f its c o ntributo rs may be us ed to endo rs e o r pro mo te pro duc ts
derived fro m this s o ftware witho ut s pec ific prio r written permis s io n.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
2
Formality® Tool Invocation Commands Version O- 2018.06
1. The autho rs are no t res po ns ible fo r the c o ns equenc es o f us e o f this s o ftware, no matter ho w awful, even if they
aris e fro m flaws in it.
2. The o rigin o f this s o ftware mus t no t be mis repres ented, either by explic it c laim o r by o mis s io n. Sinc e few us ers
ever read s o urc es , c redits mus t appear in the do c umentatio n.
3. Altered vers io ns mus t be plainly marked as s uc h, and mus t no t be mis repres ented as being the o riginal s o ftware.
Sinc e few us ers ever read s o urc es , c redits mus t appear in the do c umentatio n.
4. This no tic e may no t be remo ved o r altered.
Contents 3
Formality® Tool Invocation Commands Version O- 2018.06
Cont ent s
fm_shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
...........
formality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7. . . . . . . . . . .
fm_shell 4
Formality® Tool Invocation Commands Version O- 2018.06
fm_shell
Runs the Formality shell.
SYNTAX
fm_shell
[ -root path_name ]
[ -work_path path_name ]
[ -32 | -32bit ]
[ -64 | -64bit ]
[ -session session_file_name ]
[ -x command_string ]
[ -file file_name ]
[ -name_suffix suffix ]
[ -overwrite ]
[ -no_init ]
[ -version ]
ARGUMENTS
-root path_name
-work_path path_name
Specifies a Formality work directory path. All the temporary files and directories that the tool creates,
such as formality.log, fm_shell_command.log, FM_WORK/, or formality_svf/, are stored in the specified
location. Ensure that the specified location is readable and writable.
-32 | -32bit
-64 | -64bit
Invokes the 64-bit executable of the Formality command shell. This is the default.
-session session_file_name
Specifies a saved Formality session file to restore before displaying the fm_shell prompt. The session is
restored after loading the setup files but before executing the command string specified by the -x
fm_shell 5
Formality® Tool Invocation Commands Version O- 2018.06
-x command_string
Specifies a command string to execute. The command string can be a string of one or more fm_shell
commands separated by semicolons. These commands are executed before displaying the fm_shell
prompt and before executing the script specified by using the -file option. If the last statement in the
command string is quit, the Formality shell command prompt is not displayed and the tool exits after
executing the command_string.
-file file_name
Executes a file of fm_shell commands specified by the file_name argument before displaying the initial
fm_shell prompt. If the last statement in the file is quit, the Formality shell command prompt is not
displayed and the tool exits after executing the commands in the file.
-name_suffix suffix
Appends the suffix specified by the suffix argument to the names of Formality supplemental log files,
formality.log and fm_shell_command.log. The suffix is also appended to the name of the temporary
work directory, FM_WORK, and to the name of the automated setup file directory, formality_svf, that
Formality creates.
-overwrite
Specifies that the log files and the temporary work directory can be overwritten. Use this option with the
-name_suffix suffix option.
-no_init
-version
Displays the version number and build date information, and then exits.
DESCRIPTION
The fm_shell command interprets and executes Formality shell commands. The command interpreter is
based on Tcl.
The fm_shell executes commands until you terminate the session using the quit or exit commands. From
the Formality shell, you can also terminate the fm_shell session by pressing Ctrl+D.
To cancel, or interrupt, the command currently executing in fm_shell, press Ctrl+C. The time it takes for a
command to process an interrupt depends upon the type of command. If you press Ctrl+C three times
before a command responds to the interrupt, the Formality shell exits and returns you to the UNIX shell.
For more information, see Formality User's Guide and Reference Manual.
fm_shell 6
Formality® Tool Invocation Commands Version O- 2018.06
SEE ALSO
formality(1)
formality 7
Formality® Tool Invocation Commands Version O- 2018.06
formality
Runs the Formality Graphical User Interface (GUI).
SYNTAX
formality
[-root path_name]
[-work_path path_name]
[-32 | -32bit]
[-64 | -64bit]
[-session session_file_name]
[ -x command_string ]
[-file file_name]
[-name_suffix suffix]
[-overwrite]
[-no_init]
[-version]
Dat a Types
path_name string
session_file_name string
file_name string
suffix string
ARGUMENTS
-root path_name
-work_path path_name
Specifies a Formality work directory path. All the temporary files and directories that the tool creates,
such as formality.log, fm_shell_command.log, FM_WORK/, or formality_svf/, are stored in the specified
location. Ensure that the specified location is readable and writable.
-32 | -32bit
-64 | -64bit
formality 8
Formality® Tool Invocation Commands Version O- 2018.06
Specifies that the 64-bit executable should be used. This is the default value.
-session session_file_name
Specifies a saved Formality session file to load before dissplaying the initial fm_shell prompt. The
session is restored after loading the setup files but before executing the command string specified by
the -x option or the script specified by the -file option.
-x command_string
Specifies a command string to execute. The command string can be a string of one or more fm_shell
commands separated by semicolons. The tool executes these commands before displaying the
fm_shell prompt and before executing the script specified by the -file option. If the last statement in
the command string is quit, the tool does not display the Formality shell command prompt and
exits after executing the command string.
-file file_name
Specifies a file containing fm_shell commands to execute before displaying the fm_shell prompt. If
the last statement in the file is quit, the tool exits after executing the commands in the file, and does
not display the Formality shell command prompt.
-name_suffix suffix
Appends the suffix specified by the suffix argument to names of Formality supplemental log files,
formality.log and fm_shell_command.log. The tool also appends the suffix to the name of the
temporary work directory FM_WORK, and to the name of the automated setup file directory,
formality_svf, that it creates.
-overwrite
Specifies that the log files and the temporary work directory can be overwritten. Use this option with the
-name_suffix suffix option.
-no_init
-version
Displays the version number, build date information, and then exits.
DESCRIPTION
This command provides a graphical user interface (GUI) to the Formality shell.
It interprets and executes Formality shell commands. The Formality command interpreter is based on Tcl.
Formality executes commands until you terminate it using the quit or exit commands. From the
invocation shell, you can also terminate the Formality session by pressing Ctrl+D.
To cancel or interrupt the command currently executing in Formality, press Ctrl+C in the invocation shell or
click the Stop button. The time it takes for a command to process an interrupt depends upon the type of
formality 9
Formality® Tool Invocation Commands Version O- 2018.06
command. If you press Ctrl+C three times before a command responds to the interrupt, Formality exits
and returns you to the UNIX shell.
For more information, see Formality User's Guide and Reference Manual.
SEE ALSO
fm_shell(1)
formality 10