Quartus® Prime Pro Edition User Guide: Design Optimization

ID 683641
Date 4/01/2024
Public

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

Document Table of Contents

7.1. ECO Compilation Flow

  1. Identify an ECO modification you want to make in a compiled design.
  2. Determine if ECO commands support the change, by reviewing ECO Commands and ECO Command Limitations.
  3. Create a Tcl script, as ECO Tcl Script Example shows.
  4. Before running ECO compilation, click Project > Archive Project and archive the compilation database and output file set.
  5. Click Processing > Start > Perform ECO Compilation.
  6. Specify the ECO Tcl Script file, and click OK. The Fitter processes the ECO commands and updates the finalized netlist. The Fitter generates an error if you specify any commands incorrectly. The changes apply when the Fitter processing completes.
  7. View the ECO results in post-fit analysis tools, such as the Compilation Report, Timing Analyzer, Netlist Viewer, or Chip Planner. To view ECO changes in the Fitter report, click Processing > Compilation Report > Fitter > ECO Changes.
    Figure 136. Example of ECO Changes Report

    As an alternative to the GUI methods, you can use the following commands to run the ECO Tcl scripts. If running from command line, any active Quartus® Prime GUI application does not refresh. Close and reopen the project to refresh the GUI.

    $ quartus_fit -s
    load_package eco
    project_open <project_name>
    eco_load_design
    ...
    eco_commit_design
    project_close
    Note: If you rerun the Fitter on a design after implementing an ECO, the Fitter overwrites the ECO changes. Update RTL, IP parameters, and recompile the design to permanently implement the ECO changes.