Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Syntax:

Unix:
     hwattr   -model model_name [-config config_file] [-errorfile error_file]
              -object obj_name [-name attr_name -value attr_value]...
              [-help [help_dir] | -syntax [help_dir] | -version]
              [-options] [-arg_input path_name] [-noheader]
              [-quiet] [-ask] [-unix] [-vms] [-os2]

VMS:
     hwattr   /model=model_name [/config=config_file] [/errorfile=error_file]
              /object=obj_name [/name=attr_name /value=attr_value]...
              [/help [=help_dir] | /syntax [=help_dir] | /version]
              [/options] [/arg_input=path_name] [/noheader]
              [/quiet] [/ask] [/unix] [/vms] [/os2]

OS/2:
     hwattr   /model:model_name [/config:config_file] [/errorfile:error_file]
              /object:obj_name [/name:attr_name /value:attr_value]...
              [/help [:help_dir] | /syntax [:help_dir] | /version]
              [/options] [/arg_input:path_name] [/noheader]
              [/quiet] [/ask] [/unix] [/vms] [/os2]

Program Description:
     hwattr allows the user to attach simulation attributes to a hardware
module.

Options:
     model <model_name>        Specifies a model name
     config <file_name>        Specifies a configuration file
                                   (default: /cadre/tsa/config_file)
     object <obj_name>         Specifies the name of the object to attach
                                   values to.
     name <attr_name>          Specifies the name of an attribute to attach
                                   to an object.  Legal values for attr_name
                                   include:
                                       module_class       (string)
                                       relative_speed     (double > 0)
     value <attr_value>       Specifies the value of an attribute to attach
                                  to an object.  The legal values for each
                                  name are described above.
     errorfile                Specifies the output file to send errors to
                                  (default: stderr)
     help [help_dir]          Shows the full help screen (this information)
                                  and quits.  The default directory
                                  of help files is /cadre/help.
     syntax [help_dir]        Shows the short help screen
                                  (syntax lines only) and quits.
     version                  Shows the program header with the version
                                  and quits.
     options                  Lists the command line options chosen, before
                                  executing the program.
     arg_input <path_name>    Indicates more command line options are
                                  in the file 'path_name'.
     noheader                 Suppresses the display of the program header
                                  before program execution.
     quiet                    Suppresses status messages during program
                                  execution.
     ask                      Prompts the user for required command line
                                  options that are not specified.
     unix                     Allows entry of options in Unix format
                                  (-example_option).
     vms                      Allows entry of options in VMS format
                                  (/example_option).
     os2                      Allows entry of options in OS/2 format
                                  (/example_option).
Examples (Unix format):

1)  Set the relative speed for hardware module klunker_8086 in mymod to .01:

    hwattr -mod mymod -obj klunker_8086 -nam relative_speed -val .01

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026