Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tools:netgen [2020/04/29 14:05]
rajit
tools:netgen [2022/06/22 06:53]
rajit [Attributes]
Line 54: Line 54:
    q<10,5,hvt> & r<10,5> -> d-    q<10,5,hvt> & r<10,5> -> d-
 </code> </code>
-In this example, the transistor gated by ''a'' is low Vt, while the one gated by ''q'' is high Vt. All others are standard Vt.+In this example, the transistor gated by ''a'' is low Vt, while the one gated by ''q'' is high Vt. All others are standard Vt. Additional details are available in the [[language:langs:prs|prs sub-language]] documentation.
  
  
Line 115: Line 115:
  
 Attributes can be attached to a production rule or pass transistor/transmission gate Attributes can be attached to a production rule or pass transistor/transmission gate
-using standard ''.act'' syntax. Attributes  currently recognized by ''netgen'' are available +using standard ''.act'' syntax. Some commonly used ones are:
-on the complete [[designtools:act:attributes|attribute list]]. Some commonly used ones are:+
    * ''keeper=0'' : do not generate a keeper for this node, even if it looks like a state-holding gate.    * ''keeper=0'' : do not generate a keeper for this node, even if it looks like a state-holding gate.
    * ''comb=1'' : use combinational feedback rather than a standard staticizer if the node is state-holding.    * ''comb=1'' : use combinational feedback rather than a standard staticizer if the node is state-holding.
-   * ''output=v'' : used for pass transistors to force either the source, drain, or both to be labelled as an output. This is useful for the ''PININFO'' directive emitted by ''netgen''. If the value ''v'' has bit zero set, then the source is marked as an output node. If ''v'' has bit one set, then the drain is marked as an output. By default, a node is considered an input if it does not have a production rule driving it. +   * ''output=v'' : used for pass transistors to force either the source, drain, or both to be labelled as an output. This is useful for the ''PININFO'' directive emitted by ''prs2net''. If the value ''v'' has bit zero set, then the source is marked as an output node. If ''v'' has bit one set, then the drain is marked as an output. By default, a node is considered an input if it does not have a production rule driving it. 
-   * ''loadcap=v'' : sets the load capacitance on the output to be a the specified value in fF. This is used to override the default setting specified in the configuration file. Note that netgen will use the last production rule's loadcap! So if you have a pullup and pulldown rule, and the pulldown rule is 2nd in your ACT file, you MUST put loadcap in the pulldown rule.  Safest bet is to put it in all your PRS.+   * ''loadcap=v'' : sets the load capacitance on the output to be a the specified value in fF. This is used to override the default setting specified in the configuration file.
  
  
Line 132: Line 131:
 </code> </code>
  
 +Attributes  currently recognized by ''prs2net'' are:
 +
 +^ Attribute ^ Meaning ^
 +| keeper | The production rules for a signal are analyzed to determine if the pull-up and pull-down networks are perfect complements of each other. If they aren't, then a keeper is generated. There are two common scenarios when this behavior is undesired: (i) the gate is intended to be dynamic, and so it is state-holding but a staticizer should not be generated. Set ''keeper'' to ''0'' for this behavior. (ii) the gate looks state-holding, but it is actually a combinational gate because certain inputs are supposed to be complements of each other. In this case, set ''keeper'' to ''2''. |
 +| comb | If set to 1, uses combinational feedback rather than a weak inverter for the staticizer; if 0, uses a weak inverter instead of combinational feedback |
 +| iskeeper | used to let prs2net know that the specified production rule is in fact the manually  specified staticizer/keeper circuit. prs2net labels transistors used for keepers in the spice netlist, and this attribute can be used to ensure that manually specified keepers are also labeled (with ''_keeper''). |
 +| isckeeper | used to let prs2net know that the specified production rule is a combinational feedback style keeper circuit. These will be labeled with ''_ckeeper''. |
 +| loadcap | sets the load capacitance on the output to be a the specified value in pF. This is used to override the default setting specified in the configuration file |
 +| oresis | sets output resistance for node. This resistance is added in series to the output of the gate, and overrides the default from the prs2net configuration file |
 +| output | used for pass transistors to force either the source, drain, or both to be labelled as an output. This is useful for the PININFO directive emitted by prs2net. If the value v has bit zero set, then the source is marked as an output node. If v has bit one set, then the drain is marked as an output. By default, a node is considered an input if it does not have a production rule driving it. |
 +| N_reff | sets the n-stack effective resistance, overriding the default computed by prs2net. This is used to compute strengths of staticizers. The resistance for one transistor is computed as L/W where L and W are the length and width of the transistor respectively. |
 +| P_reff | same as N_reff, except sets strength of p-stack |