xlGenerateButton - 2020.2 English

Vivado Design Suite Reference Guide: Model-Based DSP Design Using System Generator (UG958)

Document ID
Release Date
2020.2 English

The xlGenerateButton function provides a programmatic way to invoke the System Generator code generator.


status = xlGenerateButton(sysgenblock)


xlGenerateButton invokes the System Generator code generator and returns a status code. Invoking xlGenerateButton with a System Generator block as an argument is functionally equivalent to opening the System Generator GUI for that token, and clicking on the Generate button. The following is list of possible status codes returned by xlGenerateButton.

Table 1. xlGenerateButton Status Codes
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