USAGE: cavanator.py.py [<arguments>]
Arguments:
    -h
	Print a terse usage message, then quit.
    --help
	Print a verbose usage message, then quit.
    --help=names
	Print help for all the canonical names, then quit.
    --help=non-names
	Print help for all the arguments that are not for canonical names,
	then quit.
    --help=return_codes
	Print an explanation of the return code values, then quit.
    -v
	Print the cavanator's version number, then quit.
    --version
	Print the version number of all modules, then quit.
    --copyright
	Print out the copyright notice, then quit.
    --authors
	Print out the authors of the cavanator, then quit
    --input_names[=<prefix>] (default: "False")
	After processing all command line args, print out the names
	of the input files.  If "=<prefix>" is used, then the file
	names are modified slightly for use as the names of
	"golden" files, prefixed with <prefix>, which may be empty.
    --[!]verbose (default: "False")
	Print extra information to the console (stderr).  Setting
	this o True will set "--quite" to False
    --exec_dir=<modules_search_dir> (default: "/home/pjgilliam/cava-3b-6b/tools")
	The directory to search for generator and isa_part python modules.
    --[!]quite (default: "False")
	If this arg is used, then no messages are printed to the
	console (stderr or stdout).  Seting this to True will set
	"--verbose" to False.
    --[!]unknown_ok (default: "False")
	if "unknown_ok" is True, then unknown command line arguments do not cause
	errors.  This acts as a toggle so that unknown command line arguments
	between "--unknown_ok" and "--!unknown_ok" will not cause errors, but
	others will.
    --prefix=<fname-prefix> (default: "")
	Add this prefix to be beginning of each output files basename.
    --output_names[=<prefix>] (default: "False")
	Just like "--input_names[=<prefix>]" except that output file
	names are printed
    --log_file=<log_file> (default: "/dev/null")
	Gives the name log file.  If this arg is not used, then no
	log file is used.
    --clear=[all|isa_parts|generators|gen-all|isa-all|<m-name>|<c-name>] 
	This is used to clear default values as follows:
	    isa_parts - By default, the directory "%s" was run from is
	        searched for file name pairs of the form "<name>-in" and
	        "<name>.pl", which are taken as the name of a file that
	        pecifies part of the ISA and the module that parses it.
	        However, if this option is used, this search is not done.
	    generators - By default, the directory "%s" was run from is
	        searched for file names of the form "gen-<name>.pl", which
	        are taken as generator modules that will take data from the
	        isa parsers and process it, usually writing output files.
	        However, if this option is used, this search is not done.
	    isa-all - Default values for all isa input files are cleared.
	    gen-all - Default values for all generator I/O files are cleared.
	    <m-name> - The defaults for all filenames associated with module
	        <m-name> are cleared.
	    <c-name> - The default for the given canonical file name is cleared.
    --gen=<gen-module>... 
	Spedifies the name of a module that will process the data from the
	isa parser(s).  The file name of the module is <gen-module>.pl.
    --isa=<isa-module>... 
	Specifies the name of a module that will parse a file representing a
	part of the ISA.  The filename of the module is <isa-module>.py and by
	default, the input file name will be <isa-module>.in.  This arg may be
	repeated.
    --more_args=<fname> 
	Read more "command line arguments" from the file "<fname>".
    --lang=[perl|python|both] (default: "perl")
	Name of the language to use for the "logic_d" file(s):
	"perl", "python", or "both"
    --logic.in=<fname> (default: "logic.in")
	Name of the file containing the logic part of the ISA
	description.
    --logic_d=<template> (default: "")
	Template for the file name to which logic data will be written.
	<template> must contain a single "%s", which will be
	replaced by an appropriate language suffix.
    --ignore_pat=<opcode pattern> ... 
	Ignore opcodes that match the given <opcode pattern>.  My be used
	more than once.
    --semantics.in=<fname> (default: "semantics.in")
	Name of the file containing the semantics part of the ISA
	description.
    --semantics_d=<fname> (default: "")
	Name of the file to which semantic data will be written.
    --set=[definition,][md_info,][doc_info,][all] (default: "definition")
	Name of the data set(s) to write to "semantics_d" file:
	comma separated list of any of "definition", "md_info",
	 "doc_info" or "all".
    --syntax.in=<fname> (default: "syntax.in")
	Name of the file containing the syntax part of the ISA
	description.
    --syntax_d=<fname> (default: "")
	Name of the file (with "%s" for language suffix) to which
	syntax data will be written.
    --bfd_reloc=<type>=<bfd_name> (default: "{'24': '24', 'target': 'CAVA_LONG_BRANCH', '16': '16', 'far': 'CAVA_LONG_GOTO', '32': '32', 'global': 'CAVA_GLOBAL_ADDRESS', 'targ': 'CAVA_SHORT_BRANCH', 'near': 'CAVA_SHORT_GOTO', '64': '64', 'call': 'CAVA_CALL_TARGET'}")
	Spedify the "bfd" name for the given type of relocation.
    --cava-opc.c=<fname> (default: "../binutils/opcodes/cava-opc.c")
	Name of the file that will contain the "c" support for
	cava's opcodes.
    --elf64-cava.c=<fname> (default: "../binutils/bfd/elf64-cava.c")
	Name of the file that will contain the "c" 64bit elf support.
    --elf64-cava_c.in=<fname> (default: "../binutils/bfd/elf64-cava_c.in")
	Copy this file to the end of "elf_cava.h".
    --elf_cava.h=<fname> (default: "../binutils/include/elf_cava.h")
	Name of the header file that will contain the elf stuff.
    --fields.C=<fname> (default: "../micro/fields.C")
	Name of the file that will contain a description of the
	fields.
    --from_pc=<from_pc> (default: "pc")
	The "pc" part of the body of the "*_from_pc" macros.
    --instruction_length=<code> (default: "#define instruction_length(parcel)   ((ToP_of(parcel) == 0xFF) ? 6 : ((ToP_of(parcel) & 0x7) == 0x7 || (ToP_of(parcel) & 0xF) == 0xB) ? 4 : 2)
")
	Complete definition of a "c" macro for getting the insturction 	length from a "parcel"
    --nbr_of_regs=<number> (default: "16")
	Number of registers
    --opcode_cava.h=<fname> (default: "../binutils/include/opcode_cava.h")
	Name of the header file that will contain the cava opcodes.
    --opcode_cava_h.in=<fname> (default: "../binutils/include/opcode_cava_h.in")
	Copy this file to tword the end of "opcode_cava.h".
    --rightshift=<type>=<amount> (default: "{'word': 2, 'target': 1, 'far': 1, 'targ': 1, 'long': 3, 'high': 16, 'near': 1, 'call': 1, 'half': 1}")
	Specify the right shift amount for the given type.
    --[!]use_rightshift (default: "True")
	If True and <type> is in "rigtshift", use the rightshift amount to	shift the value extracted by one of the <type>_of macros.
    --[!]xtra_reg (default: "True")
	Set if an extra "cava_reg_print_name" value of "???" should be emitted.
    --cava.md=<fname> (default: "../gcc/cava.md")
	Name of the file that will contain the cava description
	needed by gcc.
    --equality_branch=<fname> (default: "")
	Overide the default value for the "equality_branch"
	macro with the contents of the file "<fname>".
    --macro=<name> 
	Create a new macro named <name>.  Use "--<name>=<fname>" to give it a value
    --register_branch_1=<fname> (default: "")
	Overide the default value for the "register_branch_1"
	macro with the contents of the file "<fname>".
    --register_branch_2=<fname> (default: "")
	Overide the default value for the "register_branch_2"
	macro with the contents of the file "<fname>".
    --unconditional_goto=<fname> (default: "")
	Overide the default value for the "unconditional_goto"
	macro with the contents of the file "<fname>".
    --analysis.out=<fname> (default: "analysis.out")
	Name of the analysis report file.
    --tests=[oo|maf|suc|all] (default: "all")
	Which analysis tests should be run: overlapping_opcodes ("oo") and/or
	mapping_and_formats ("maf") and/or state_update_consitency ("suc").
	to run all tests, use "all".
    --chapter=<digit> (default: "3")
	The chapter number used when generating the documentation.
    --fini.html=<fname> (default: "fini.html")
	Name of the file containing html to write at the end of
	the if ARM: ARM manual.
    --formats.html=<fname> (default: "../formats.html")
	Page to reference for format codes.
    --html-dir=<fname> (default: "../doc/arm/")
	Name of the directory that will contain the documentation,
	in html form.
    --index.html=<fname> (default: "../doc/arm/index.html")
	The "root" page of the CAVA architecture reference manual.
	ARM
    --init.html=<fname> (default: "init.html")
	Name of the file containing html to write at the beginning
	of the if ARM: ARM manual.
    --map.html=<template> (default: "%s.html")
	The template to use for the names of the "map" html pages.
	<template> must contain a single "%s" which will be
	replaced by a generated name.
    --page.html=<template> (default: "%s.html")
	The template to use for the names of the "section" html pages.
	<template> must contain a single "%s", which will be
	replaced by a generated name.
    --caveat/action.h=<fname> (default: "../caveat/action.h")
	Name of the file that will contain the action support for
	cava's opcodes for "caveat".
    --dispatch.h=<fname> (default: "../caveat/dispatch.h")
	Name of the header file that will some kind of dispatch
	table for the cava isa.
    --micro/action.h=<fname> (default: "../micro/action.h")
	Same as for "caveat/action.h" except in support of "micro".
    --opcode.c=<fname> (default: "../caveat/opcode.c")
	Name of the file that will contain opcode support for
	"caveat", the cava simulator.
    --FastMaskPat=<pattern> (default: "inline int %s(unsigned insn) { return")
	Pattern used to generate inline verilog predicates.
    --equations.h=<fname> (default: "../sim/equations.h")
	Name of the file that will contain the derived equations.
