zero.liso.input module¶
LISO input file parser
-
class
zero.liso.input.
LisoInputParser
[source]¶ Bases:
zero.liso.base.LisoParser
LISO input file parser
This implements a lexer to identify appropriate definitions in a LISO input file, and a parser to build a circuit from what is found.
-
OP_OVERRIDE_MAP
= {'a0': 'a0', 'delay': 'delay', 'gbw': 'gbw', 'ic': 'icorner', 'imax': 'imax', 'in': 'inoise', 'sr': 'sr', 'uc': 'vcorner', 'umax': 'vmax', 'un': 'vnoise'}¶
-
property
output_all_components
¶
-
property
output_all_components_scales
¶
-
property
output_all_nodes
¶
-
property
output_all_nodes_scales
¶
-
property
output_all_opamp_nodes
¶
-
property
output_all_opamp_nodes_scales
¶
-
property
output_all_opamps
¶
-
property
output_all_opamps_scales
¶
-
p_opamp
(p)[source]¶ instruction : OP CHUNK CHUNK CHUNK CHUNK CHUNK end | OP CHUNK CHUNK CHUNK CHUNK CHUNK chunks end
-
p_uinput
(p)[source]¶ instruction : UINPUT CHUNK end | UINPUT CHUNK CHUNK end | UINPUT CHUNK CHUNK CHUNK end
-
reserved
= {'c': 'C', 'freq': 'FREQ', 'iinput': 'IINPUT', 'inputnoise': 'INPUTNOISE', 'ioutput': 'IOUTPUT', 'l': 'L', 'm': 'M', 'noise': 'NOISE', 'noisy': 'NOISY', 'op': 'OP', 'r': 'R', 'uinput': 'UINPUT', 'uoutput': 'UOUTPUT'}¶
-
property
summed_noise_objects
¶ Noise sources included in the sum column.
Overrides parent.
-
t_ignore
= ' \t'¶
-
t_ignore_COMMENT
= '\\#.*'¶
-
tokens
= ['CHUNK', 'NEWLINE', 'EOF', 'R', 'C', 'L', 'M', 'OP', 'FREQ', 'UINPUT', 'IINPUT', 'UOUTPUT', 'IOUTPUT', 'NOISE', 'INPUTNOISE', 'NOISY']¶
-