Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
language:langs:prs [2022/06/27 15:44]
rajit [Direct transistor specifications]
language:langs:prs [2022/07/10 15:01] (current)
rajit [Direct transistor specifications]
Line 194: Line 194:
  
 Note that automatic staticizer (keeper) generation is only triggered when a production rule is specified. If part of your circuit for an output signal is described using production rules and part of it is described using transistors, then staticizer generation will likely be triggered; you can turn this off using the ''[keeper=0]'' [[tools:netgen#Attributes|attribute]]. Note that automatic staticizer (keeper) generation is only triggered when a production rule is specified. If part of your circuit for an output signal is described using production rules and part of it is described using transistors, then staticizer generation will likely be triggered; you can turn this off using the ''[keeper=0]'' [[tools:netgen#Attributes|attribute]].
 +
 +==== Explicit capacitors ====
 +
 +The ''prs'' sublanguage can also be used for designing mixed-signal circuits. Explicit capacitors can be specified in the following manner:
 +<code act>
 +prs {
 +  cap (node1, node2); /* explicit capacitor of one unit size between the two nodes */
 +  cap<10> (node1, node2); /* capacitor of size 10 units */
 +  cap<10,5> (node1, node2) /* capacitor of size 10*5 units */
 +}
 +</code>
 +The unit  capacitor is specified in the netlist configuration file; if it is unspecified, the value of 1fF is used.