in reply to [untitled node, ID 1080191]
in thread [untitled node, ID 1080084]
"Thanks for your reply ..."
Thanking me is all well and good; however, as far as I can see, you've completely ignored every point and recommendation I made.
As you've provided some more code and input data, here's my best guess at the type of thing you want:
#!/usr/bin/env perl use strict; use warnings; use autodie; my $report_file = 'pm_1080084_timing_manual.rpt'; my %PG; local $/ = "\nStartpoint"; open my $fh, '<', $report_file; while (<$fh>) { /[(](\w+)[^(]+[(](\w+)[^:]+:\s+(\w+).*?slack[^-]+(-\d+)/s; $PG{$3}{"$1-$2"} = $4; } use Data::Dump; dd \%PG;
This outputs:
{ PLBCLK => { "input-output" => -4, "rising-output" => -3 }, PLBCLK1 => { "input-rising" => -1, "rising-rising" => -2 }, }
If you choose to ignore the points I raise, the links I provide, and the recommendations I make, that's fine. Of course, it would be a waste of my time to offer further help if it's going to be ignored.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
1081392
by milan.dalwadi (Initiate) on Apr 07, 2014 at 11:38 UTC | |
by AnomalousMonk (Archbishop) on Apr 07, 2014 at 12:18 UTC | |
|
1081467
by milan.dalwadi (Initiate) on Apr 08, 2014 at 06:24 UTC | |
by Happy-the-monk (Canon) on Apr 08, 2014 at 07:32 UTC | |
by milan.dalwadi (Initiate) on Apr 08, 2014 at 08:19 UTC |