Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:start [2023/04/11 14:23] – [Technology-specific configuration] rajit | config:start [2025/03/25 10:32] (current) – [Generic configuration settings] rajit | ||
---|---|---|---|
Line 106: | Line 106: | ||
end | end | ||
</ | </ | ||
- | Sometimes it is useful to export files from the ACT format to other formats to interact with external tools. Examples of such formats include Verilog and SPICE. Since these are different languages, they use different syntax for identifiers. (Different commercial SPICE simulators use different identifier syntax too.) ACT identifiers and names include characters including '' | + | Sometimes it is useful to export files from the ACT format to other formats to interact with external tools. Examples of such formats include Verilog and SPICE. Since these are different languages, they use different syntax for identifiers. (Different commercial SPICE simulators use different identifier syntax too.) ACT identifiers and names include characters including '' |
< | < | ||
begin act | begin act | ||
Line 112: | Line 113: | ||
end | end | ||
</ | </ | ||
+ | If the mangle character needs to be changed, then a different character can be set by modifying the '' | ||
+ | |||
+ | < | ||
+ | begin act | ||
+ | int output_window_width 72 | ||
+ | end | ||
+ | </ | ||
+ | For tools that use pretty-printing, | ||
Line 143: | Line 152: | ||
would use '' | would use '' | ||
+ | ACT also has support for generic two-terminal devices. The standard configuration option uses this to support capacitors. | ||
+ | < | ||
+ | begin act | ||
+ | string_table prs_device " | ||
+ | end | ||
+ | </ | ||
+ | This permits you to write: | ||
+ | The first flavor in the list ('' | ||
+ | < | ||
+ | prs { | ||
+ | cap (in,GND) | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | 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 ==== | ||