Description
Configures the C simulation.
Syntax
config_sim [OPTIONS]
Options
-
O:
- Enables optimized compilation for both csim and cosim and disables csim Code Analyzer. When false uses debug mode compilation.
-
argv <string>:
- Specifies the argument list for the behavioral test bench. The <string> is passed onto the main() C/C++ function of the test bench.
-
ldflags <string>:
- Specifies flags to be passed to the linker for both csim and cosim. This is typically used to pass library information for the C test bench and design.
-
- clang_version <value>:
- Selects the clang version used in simulation (14|16). Default value is 14.