This script is used to parse the output of one or more :ref:`vtr_tasks`. The values that will be parsed are specified using a :ref:`vtr_parse_config` file, which is specified in the task configuration.
The script will always parse the results of the latest execution of the task.
The script is located at:
.. program:: parse_vtr_task.pl
Typical usage is:
parse_vtr_task.pl <task_name1> <task_name2> ...
At least one task must be specified, either directly as a parameter or through the :option:`-l` option.
By default this script produces no standard output. A tab delimited file containing the parse results will be produced for each task. The file will be located here:
If the :option:`-check_golden` is used, the script will output one line for each task in the format:
<status> will be
Detailed Command-line Options
.. option:: -l <task_list_file> A file containing a list of tasks to parse. Each task name should be on a separate line.
.. option:: -create_golden The results will be stored as golden results. If previous golden results exist they will be overwritten. The golden results are located here:: $VTR_ROOT/vtr_flow/tasks/<task_name>/config/golden_results.txt
.. option:: -check_golden The results will be compared to the golden results using the :ref:`vtr_pass_requirements` file specified in the task configuration. A ``Pass`` or ``Fail`` will be output for each task (see below). In order to compare against the golden results, they must already exist, and have the same architectures, circuits and parse fields, otherwise the script will report ``Error``. If the golden results are missing, or need to be updated, use the :option:`-create_golden` option.