关键字 supply1,supply0分别表示电源和地,如下例所示:\\
supply1 vdd;
supply0 gnd;
强度值(Strengths)\\
有强度的网络可以使模块更加精确。\\
\\
语法\\
( strength0 [, strength1 ] ) | ( strength1 [, strength0 ] ) | cap_strength
strength0 = highz0 | pull0 | strong0 | supply0 | weak0
strength1 = highz1 | pull1 | strong1 | supply1 | weak1
cap_strength = large | medium | small
强度表如下:\\
Strength level\\
^ Strength level ^ Name ^ Keyword ^
^ 7 | Supply drive | supply0 , supply1 |
^ 6 | Strong drive | strong0 , strong1 |
^ 5 | Pull drive | pull0 , pull1 |
^ 4 | Large capacitive | large |
^ 3 | Weak drive | weak0 , weak1 |
^ 2 |Medium capacitive |medium |
^ 1 | Small capacitive | small |
^ 0 | High impedance | highz0 , highz1 |
例程\\
and (strong1, weak0) u1 (Q, A, B);
trireg (small) C1;
assign (weak1, strong0) Q = A + B;