This use case demonstrates how to automatically fix ECOs in several modules. 'fix_modules' command is run on all modified modules.
# GofCall ECO script, run_hier_example.pl use strict; undo_eco; # Discard previous ECO operations setup_eco("eco_hier_example"); # Setup ECO name read_library("art.90nm.lib"); # Read in standard library read_design("-ref", "reference.gv"); # Read in the Reference Netlist read_design("-imp", "implementation.gv"); # Read in the implementation Netlist Which is under ECO fix_modules('smod', 'top'); # Fix these two modules set_top('top'); # Set the scope to parent of 'smod' report_eco(); # ECO report write_verilog("eco_verilog.v"); # Write out ECO result in Verilog write_soce("eco_soce.tcl"); # Write out TCL script for SOC Encounter