Differences

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

Link to this comparison view

Both sides previous revision Previous revision
config:start [2023/06/25 11:14]
rajit [Generic configuration settings]
config:start [2024/03/31 13:38] (current)
rajit [Devices]
Line 152: Line 152:
 would use ''lvt'' for the ''in'' input to the pull-down network, but ''svt'' for the other devices needed. would use ''lvt'' for the ''in'' input to the pull-down network, but ''svt'' for the other devices needed.
  
 +ACT also has support for generic two-terminal devices. The standard configuration option uses this to support capacitors. 
 +<code>
 +begin act
 +string_table prs_device "cap"
 +end
 +</code>
 +This permits you to write:
 +The first flavor in the list (''svt'' in the example) is the default value if the flavor is unspecified. This means that
 +<code>
 +prs {
 +   cap (in,GND)
 +   cap<5,2> (out,GND)
 +}
 +</code>
 +These are capacitors, the first one being a unit capacitor while the second is 10 units (5 x 2) in size.
 ==== Specification directives ==== ==== Specification directives ====