The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PrimeTime::Report - Parser for PrimeTime report.

SYNOPSIS

  use PrimeTime::Report;
  my $pt = new PrimeTime::Report;

  my $file = shift;
  $pt->read_file($file);

  $pt->print_summary();

  $pt->print_path(5);

DESCRIPTION

PrimeTime::Report help you extract useful information from PrimeTime report.

BASIC FUNTIONS

new

To new a PrimeTime::Report object.

read_file

Read and parse the PrimeTime report.

 $pt->read_file($file);
 available input option: startpoint, endpoint, path_group, path_type, clock_domain, clock_period, uncertainty
                         clock_latency_capture, clock_latency_source
 $pt->print_summary("slack", "startpoint", "endpoint");
 Input1: Path number
 Input2: Path length you want to show. Default is 110.
 $pt->print_path(3);

Print the specified path in orignal format.

 Input: path number
 Ex:
 $pt->print_path_raw(3);

path_extract

Split each line by space and create a 2D array.

 Input1: text which contants path information
 Input2: the path length you want to show
 Ex:
 $pt->path_extract($path, $length);

clk_path

 Input1: text which contants clock path information
 Input2: "source" or "capture"
 Ex:
 $pt->clk_path($clock_path, "source");

Tools

Three tools provided as gedgets and also examples using PrimeTime::Report.

pr-summary.pl

pr-path.pl

pr-clk_path.pl

AUTHOR

yorkwu, <yorkwuo@gmail.com<gt>

COPYRIGHT AND LICENSE

Copyright (C) 2010 by yorkwu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.