Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
config:start [2021/06/02 12:06] rajit [Configuration file format] |
config:start [2023/06/25 11:14] rajit [Generic configuration settings] |
||
---|---|---|---|
Line 12: | Line 12: | ||
===== Configuration file location ===== | ===== Configuration file location ===== | ||
- | Configuration files are located in the '' | + | Configuration files are located in the '' |
Line 56: | Line 56: | ||
===== Technology-independent configuration ===== | ===== Technology-independent configuration ===== | ||
- | ==== Generic ==== | + | Technology-independent configuration is stored in '' |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | Other common names are: | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ==== Generic | ||
+ | |||
+ | These settings have to do with various options that can impact ACT circuit construction and output generation. | ||
+ | |||
+ | === Circuit construction complexity | ||
< | < | ||
Line 68: | Line 81: | ||
These two parameters control the expansion/ | These two parameters control the expansion/ | ||
include while loops, as well as recursive circuit constructions. To ensure that the ACT expansion phase will always terminate (albeit with an error), these two parameters control the maximum depth of recursive expansions as well as the maximum number of iterations of a while loop. | include while loops, as well as recursive circuit constructions. To ensure that the ACT expansion phase will always terminate (albeit with an error), these two parameters control the maximum depth of recursive expansions as well as the maximum number of iterations of a while loop. | ||
+ | |||
+ | < | ||
+ | begin act | ||
+ | int subconnection_limit 16384 | ||
+ | end | ||
+ | </ | ||
+ | This specifies a limit on array sizes that also have internal sub-connections (i.e. arrays that are not just simple memories, for example). The limit should be increased as needed, but can have a performance impact if you have a very large array with internal sub-connections. | ||
+ | |||
+ | === Warnings === | ||
+ | |||
+ | The following warnings can be turned on/off using an ACT configuration setting. They can also be adjusted via the standard act [[stdoptions: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | |||
+ | === Output generation and name mangling === | ||
< | < | ||
Line 74: | 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 80: | 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 137: | Line 178: | ||
===== Technology-specific configuration ===== | ===== Technology-specific configuration ===== | ||
- | * [[config: | + | The bulk of the configuration options are technology-specific. These are used to convert a technology-independent ACT description into a technology-specific output (e.g. a SPICE netlist). The standard set of configuration files we expect are: |
- | * [[config: | + | |
+ | * '' | ||
+ | | ||
+ | * '' | ||
+ | * '' | ||