Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents
Give Feedback generate (::quartus::fif)

The following table displays information for the generate Tcl command:

Tcl Package and Version

Belongs to ::quartus::fif

Syntax generate [-h | -help] [-long_help] [-error_count <error_count> ] [-error_index <error_index> ] -frame <frame> -output <output>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-error_count <error_count> Number of errors to be injected
-error_index <error_index> CRAM frame error bit locations
-frame <frame> CRAM frame ID
-output <output> Output file name

Generates PR RBF file. Specifies the 'error_count' and 'error_index' to generate a PR RBF file with fault injected. Otherwise, the command will generate a PR RBF file without fault for external scrubbing.

Example Usage
    generate -frame 3 -output scrub.rbf
    generate -frame 3 -output inject.rbf -error_count 1 -error_index 100
    generate -frame 3 -output inject.rbf -error_count 2 -error_index 100 200
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: FIF driver operation failed with error <string>.
TCL_ERROR 1 ERROR: FIF driver has not been setup. Use setup command to setup the FIF driver.
TCL_ERROR 1 ERROR: Missing parameter <string>.
TCL_ERROR 1 ERROR: Parameter <string> has exceeded range.
TCL_ERROR 1 ERROR: <string> mismatch. <string>
TCL_ERROR 1 ERROR: Error writing to file (<string>).