The xlGenerateButton function provides a programmatic way to invoke the Vitis Model Composer code generator.
Syntax
status = xlGenerateButton(sysgenblock)
Description
xlGenerateButton invokes the Vitis Model Composer code generator and returns a status code. Invoking xlGenerateButton with a HDL block as an argument is functionally equivalent to opening the Model Composer Hub block, and clicking on the Generate button. The following is list of possible status codes returned by xlGenerateButton.
Status | Description |
---|---|
1 | Canceled |
2 | Simulation running |
3 | Check param error |
4 | Compile/generate netlist error |
5 | Netlister error |
6 | Post netlister script error |
7 | Post netlist error |
8 | Post generation error |
9 | External view mismatch when importing as a configurable Subsystem |
See Also
vmc_hub_get_param, vmc_hub_set_param, Vitis Model Composer Hub block