Configuration Options - HACKT Netlist Generator Manual
Description: HACKT Netlist Generator Manual

Previous: Option Summary, Up: Usage

### 2.2 Configuration Options

There are two ways to pass configuration options to hacknet. One is through the -f option on the command-line, the other way is to pass them in through a configuration file with the -c option. The option value specifications share the same syntax: key=values where values can be blank, a single value, or a comma-separated list of values. A key-value specifier is not permitted to have spaces in the string!

In a configuration file, blank lines are ignored, as well as lines that begin with `#` (pound).

— User Option: lambda

> Technology-dependent scaling factor for device lengths and widths, the multiplier factor applied to lengths and widths specified in PRS. Default: 1.0

— User Option: length_unit

> Suffix-string to append to emitted length and width parameters. Can be a unit such as "u" or "n", or exponent such as "e-6" or "e-9". Default: u (micron)

— User Option: std_n_width

> Default width (in lambda) for NFETs used in logic, where unspecified.

— User Option: std_p_width

> Default width (in lambda) for PFETs used in logic, where unspecified.

— User Option: std_n_length

> Default length (in lambda) for NFETs used in logic, where unspecified.

— User Option: std_p_length

> Default length (in lambda) for PFETs used in logic, where unspecified.

— User Option: stat_n_width

> Default width (in lambda) for NFETs used in keepers (staticizers), where unspecified.

— User Option: stat_p_width

> Default width (in lambda) for PFETs used in keepers (staticizers), where unspecified.

— User Option: stat_n_length

> Default length (in lambda) for NFETs used in keepers (staticizers), where unspecified.

— User Option: stat_p_length

> Default length (in lambda) for PFETs used in keepers (staticizers), where unspecified.

— User Option: nested_subcircuits

> If this option is set to 1, then emit local subcircuits as nested definitions within their used definitions. Not sure which variants of SPICE support this. Default: 0

— User Option: emit_top

> If set to 1, include the top-level instances in the netlist output. Setting this to 0 is useful for producing a library of subcircuit definitions for every type that was instantiated, recursively w.r.t dependencies. Default: 1