Using awk

Please see the below reports.... The startpoint will be always same but the endpoint is different
both reports(reports are seperated by ++,for viewing purpose..)
the command should output such startpoints,endpoints and slack

For ex : here it should give

Startpoint: ff1 (rising edge-triggered flip-flop clocked by CLK1)
Endpoint: ff2 (rising clock gating-check end-point clocked by CLK2)

slack (VIOLATED)

Startpoint: ff1 (rising edge-triggered flip-flop clocked by CLK1)
Endpoint: ff4 (rising clock gating-check end-point clocked by CLK4)
slack (VIOLATED)

*************************************************************
PLEASE SEE THE BELOW SCENARIO
***************************************************************

Startpoint: ff1 (rising edge-triggered flip-flop clocked by CLK1)
Endpoint: ff2 (rising clock gating-check end-point clocked by CLK2)
Path Group: **clock_gating_default**
Path Type: min
Point Incr Path ---------------------------------------------------------------------------------------------------------------------------------------------
clock CLK1 (rise edge)
clock network delay (propagated)
(TC81)
(TC82)
(TC83)
(TC84)
(TC85)
data arrival time ----------------------------------------------------------------
-----------------------------------------------------------------------------
data required time 128.222
data arrival time -50.561 ---------------------------------------------------------------------------------------------------------------------------------------------
slack (VIOLATED) -12.661
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Startpoint: ff1 (rising edge-triggered flip-flop clocked by CLK1)
Endpoint: ff4 (rising clock gating-check end-point clocked by CLK4)
Path Group: **clock_gating_default** Path Type: min Point Incr Path ---------------------------------------------------------------------------------------------------------------------------------------------
clock CLK1 (rise edge)
clock network delay (propagated)
(TC81)
(TC82)
(TC83)
(M4)
(M5)
data arrival time ---------------------------------------------------------------------------------------------------------------------------------------------
data required time 12.222
data arrival time -5.561 ---------------------------------------------------------------------------------------------------------------------------------------------
slack (VIOLATED)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Startpoint: ff8 (rising edge-triggered flip-flop clocked by CLK1)
Endpoint: ff9 (rising clock gating-check end-point clocked by CLK4)
Path Group: **clock_gating_default**
Path Type: min Point Incr Path ---------------------------------------------------------------------------------------------------------------------------------------------
clock CLK1 (rise edge)
clock network delay (propagated)
(TC81)
(TC82)
(TC83)
(M4)
(M5)
data arrival time ---------------------------------------------------------------------------------------------------------------------------------------------
data required time 12.222#
data arrival time -5.561 ---------------------------------------------------------------------------------------------------------------------------------------------
slack violated(VIOLATED)

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.