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 Both sides next revision
language:langs:sizing [2021/03/05 14:38]
ole [P/N ratios]
language:langs:sizing [2021/03/07 07:30]
rajit [P/N ratios]
Line 116: Line 116:
 ===== P/N ratios ===== ===== P/N ratios =====
  
-for state holding gates you want to have a different ratio between P and N compared to normal logic gates, to use the optimal ratio.  +The default sizing equalizes drive strengths for the pull-up and pull-down network. For gates used in cyclic control logic in asynchronous designthe optimal drive strengths are different. To use the optimal ratioyou can add:
- +
-for this you can add:+
  
 <code> <code>
Line 126: Line 124:
 } }
 sizing { sizing {
-  p_n_mode <- 1;+  p_n_mode <- 1; /* this modifies the sizing */
   out {-1}   out {-1}
 } }
 </code> </code>
  
-that produces a different ratio+The ratio will be computed using parameters in the netlist section of the ACT [[config:netlist|configuration]] file.
-<code> +
-  prs { +
-      ~in[0]<20> & ~in[1]<20> -> out- +
-      ~in[0]<30> & ~in[1]<30>  -> out+ +
-  } +
-</code> +