Sta Lab2
Sta Lab2
Objective
To study:
Generating Endpoint slack diagram
Generating delay calculation reports
Understand delay calculation principle.
Laboratory task
Laboratory work is performed on a gate level design generated by compiling given RTL code
(Listing 2.1) using Design Compiler (Fig 2.1). Sample SDC file is also provided as reference
(Listing 2.2).
assign f= ~(d&(c|b));
assign g=~e;
endmodule
For example:
report_delay_calculation -from {U6/A} -to {U6/Y}command provides result similar
to the one below:
Library: 'saed32rvt_tt1p05v25c'
Library Units: 1ns 0.001pF 1000kOhm
Library Cell: 'INVX1_RVT'
Rise Delay
Z = 0.00823586
scaling result for operating conditions
multiplying by 1 gives 0.00823586
In this report delay calculation for specific cell input to output delay is shown. Here for cell
'INVX1_RVT' delay calculation is reported. Input transition at cell is 0 and output capacitance is
0.52. Thus there is an excerpt from the lookup table shown for four closest delay values.
(X) input_pin_transition = 0
(Y) output_net_total_cap = 0.529409
Relevant portion of lookup table:
(X) 0.0160 (X) 0.0320
(Y) 0.5000 (Z) 0.0113 (Z) 0.0145
(Y) 1.0000 (Z) 0.0136 (Z) 0.0176
Based on these four values and knowing that delay function (Z) dependence on transition (X) and
output load (Y) can be expressed as Z = A + B*X + C*Y + D*X*Y(this is a result of approximation)
delay value for known X (0) and Y(0.52) can be calculated. To calculate A, B, C, D factors, there
is this system of equations:
Subtracting equations in the following order (2-1) and (4-3) will result in:
To find A and B, replace the values of C and D into the (1) and (3) equations: