How to Run in Batch Mode
Specador can be invoked in batch mode using the specador.sh
script from the DVT (Design and Verification Tools) distro.
Examples
$ $DVT_HOME/bin/specador.sh -lang vlog -cmd /path/to/simulation.f -title "MY CHIP"
$ $DVT_HOME/bin/specador.sh -lang vhdl -cmd /path/to/file_list.f -preferences /path/to/specador_preferences.xml
$ $DVT_HOME/bin/specador.sh -lang e -ignore_compile_errors -cmd irun.args -title "USB 3.0 uVC"
Exit Codes
Code |
Description |
---|---|
0 |
Execution completed successfully. |
1 |
A compilation failure or internal error occurred. |
2 |
Invalid usage or unsupported/incorrect arguments were provided. |
3 |
A required external dependency is missing (e.g., |
Available arguments
- -cmd FILE
Compile using the specified compilation arguments file. If not specified, compilation arguments are automatically detected by scanning the current working directory for source files.
- -lang (vlog|vhdl|elang)
Specify the language of your project. This argument can be specified multiple times for mixed-language projects.
- -preferences FILE
Use the preferences specified in the XML file to customize the generated documentation.
Set the output format to PDF.
Note
When generating documentation in PDF format, latexmk, texlive-luatex and texlive-formats-extra packages are required as dependencies.
- -diagram_generation_timeout SECONDS
Increase the timeout when generating a diagram (default: 30 seconds).
- -diagram_layout_attempts ATTEMPTS
Increase the layout attempts when generating a diagram (default: 3 attempts).
- -print_all_compile_problems
Print all compile problems. Include waived problems if used with -print_compile_waivers_info.