Both sides previous revision
Previous revision
Next revision
|
Previous revision
Last revision
Both sides next revision
|
config:start [2023/01/30 06:50] rajit [Generic configuration settings] |
config:start [2023/06/25 11:14] rajit [Generic configuration settings] |
=== Warnings === | === Warnings === |
| |
The following warnings can be turned on/off using an ACT configuration setting. They can also be adjusted via the standard act [[stdoptions:start|command-line options]]. These are integer ACT configuration variables that should be set to either zero or one. | The following warnings can be turned on/off using an ACT configuration setting. They can also be adjusted via the standard act [[stdoptions:start|command-line options]]. These are integer ACT configuration variables that should be set to either zero (turn off warning) or one (turn on warning). |
* ''act.warn.empty_select'' | * ''act.warn.empty_select'': warn if all the guards in a selection statement in ACT (the core language, not the CHP/HSE sub-language) are false. |
* ''act.warn.double_expand'' | * ''act.warn.double_expand'': warn if an ACT tool attempts to expand an already expanded ACT object. |
* ''act.warn.no_local_driver'' | * ''act.warn.no_local_driver'': warn if a local variable doesn't have a driver if detected during some of the ACT analysis passes. |
* ''act.warn.dup_pass'' | * ''act.warn.dup_pass'': warn if an ACT tool registers a duplicate pass. |
* ''act.warn.lang_subst'' | * ''act.warn.lang_subst'': warn if an ACT tool uses a different language body within a process than the default choice. |
| |
| |
end | end |
</code> | </code> |
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 ''['', '']'', ''.'', ''<'', ''>'' (among others). The ACT library provides a generic //name mangling// feature that can be used to convert them into identifiers that only use alphanumeric characters (i.e. basic C-style identifiers). The ''mangle_chars'' string specifies which characters should be //mangled//. Up to 36 characters can be mangled. By default, the ''_'' character is used to mangle characters. If this needs to be changed, then a different character can be set by modifying the ''mangle_letter'' setting. | 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 ''['', '']'', ''.'', ''<'', ''>'' (among others). The ACT library provides a generic //name mangling// feature that can be used to convert them into identifiers that only use alphanumeric characters (i.e. basic C-style identifiers). The ''mangle_chars'' string specifies which characters should be //mangled//. Up to 36 characters can be mangled. By default, the ''_'' character is used to mangle characters. |
<code> | <code> |
begin act | begin act |
end | end |
</code> | </code> |
| If the mangle character needs to be changed, then a different character can be set by modifying the ''mangle_letter'' setting. |
| |
| <code> |
| begin act |
| int output_window_width 72 |
| end |
| </code> |
| For tools that use pretty-printing, this sets the output window width for a line break. |
| |
| |
* ''layout.conf'': [[config:layout|Layout]] generation from netlist. | * ''layout.conf'': [[config:layout|Layout]] generation from netlist. |
* ''lint.conf'': [[config:lint|linting]] configuration for analyzing SPICE simulation traces. | * ''lint.conf'': [[config:lint|linting]] configuration for analyzing SPICE simulation traces. |
| * ''models.sp'': In the standard technology configuration directory, the file ''models.sp'' should exist if mixed-signal and analog modeling is to be used. This particular file should include the SPICE commands necessary to include all the device models needed for simulation. This is typically a single line of the form ''.lib "<path-to-models>" TT'' |
| |