Parse-strengths
Functions for parsing drive/charge strengths.
From Verilog-2005:
drive_strength ::=
'(' strength0 ',' strength1 ')'
| '(' strength1 ',' strength0 ')'
| '(' strength0 ',' 'highz1' ')'
| '(' strength1 ',' 'highz0' ')'
| '(' 'highz0' ',' strength1 ')'
| '(' 'highz1' ',' strength0 ')'
strength0 ::= 'supply0' | 'strong0' | 'pull0' | 'weak0'
strength1 ::= 'supply1' | 'strong1' | 'pull1' | 'weak1'
charge_strength ::= '(' ['small'|'medium'|'large'] ')'
Subtopics
- Vl-parse-drive-strength-or-charge-strength
- Match drive_strength or charge_strength, returning
a vl-gatestrength-p or a vl-cstrength-p.
- Vl-parse-drive-strength
- Match drive_strength, return a vl-gatestrength-p.
- Vl-parse-optional-drive-strength
- Never fails. If there's a valid drive_strength, we match it and
return a vl-gatestrength-p. Otherwise, we don't do anything to the
token list and just return nil.
- Vl-parse-charge-strength
- Match charge_strength, return a vl-cstrength-p.
- *vl-strength1-alist*
- *vl-strength0-alist*
- *vl-ds1-alist*
- *vl-ds0/1-keywords*
- *vl-ds0-alist*
- *vl-charge-strengths-keywords*
- *vl-charge-strengths-alist*
- *vl-ds1-keywords*
- *vl-ds0-keywords*