General options:
Indicate that input file is source, as opposed to an object file, and needs to be compiled.
hflat provides convenient and fine-grain control over the output text format. Options can be divided into two categories, modes and flags. Flags control individual traits of the output format, whereas modes are presets of traits, named after specific tools. The presets are set to emulate the formats expected by the legacy tools as closely as possible. Currently, the following list of modes is supported:
LVS output mode. The java-lvs option is a slight variant from the traditional lvs.
ipple output mode. Prints out hierarchical processes and source/destination terminals of channels.
TODO: make table summarizing the flags implied by each preset mode.
Other non-preset options can be used to fine-tune and customize the output format. All options except the connect-* options may also be prefixed with no- for negation, e.g. -f no-sizes disables printing of sized production rule literals. The following -f flags are supported:
Include or exclude production rules from output.
Print or hide supply-nodes associated with each rule. This is mostly useful for checking circuits involving multiple voltage domains.
When enabled, rules are encapsulated by the names of the process to which they belong, in nested fashion.
When enabled, channels' sources and destinations are printed out as the hierarchy is traversed. Recommend process-hierarchy with this option.
Includes or exclude aliases ‘x = x’.
Whether or not to print node attributes.
Determines whether to print instance attributes (including nodes) on a single line like:
@ "node" attr1 attr2 attr3 ...or one attribute per line:
@ "node" attr1 @ "node" attr2 @ "node" attr3 ...
Whether or not to print node literal attributes within rules.
Silences cflat output while traversing hierarchy. Useful only as a diagnostic tool for debugging.
Accumulate aliases in the form: ‘wire (x,y,...)’
Prints rule literals with <size> specifications.
For the vcd output mode, when enabled, print out base-94 ASCII characters for unique identifiers, otherwise print out human-readable <integer> values for identifiers. Default: true (mangled)
Preset modes are just combinations of the individual mode modifiers.
There are limited options for mangling the hierarchical names of nodes.
By default, '.' is used to separate process hierarchy. SEP can be any string that doesn't contain a comma.
By default, '.' is used to denote channel or structure members. SEP can be any string that doesn't contain a comma.
By setting an alternate tool name (just a string), this enables the printing of an additional name map between the baseline names and alternatively mangled names. For example, you may wish to generate a map between equivalent spice names and hflat names.
The following alt- options control the mangling for names emitted for the alternate tool.
This specifies a string to prefix in front of all tool names. For example, alt_name_prefix=TOP. will turn a hierarchical name x.y.z into TOP.x.y.z.