Escolar Documentos
Profissional Documentos
Cultura Documentos
Objective
To study:
Generating Endpoint slack diagram
Generating delay calculation reports
Understand delay calculation principle.
Laboratory task
1. Load Gate Level design into PrimeTime
2. Do case analysis.
Laboratory work is performed on a gate level design generated by compiling given RTL code
(Listing 3.1) using Design Compiler (Fig 3.1). Sample SDC file is also provided as reference
(Listing 3.2).
assign e = a&b|c;
assign f = b^c|d;
endmodule
input clk;
output out;
reg A;
reg B;
reg C;
wire Bq_or_a_nand_Aq;
wire d_nand_c_or_b;
wire a_nand_Aq;
wire not_e;
wire out;
endmodule
Listing 3.2 Example Circuit Constraints (circuit.sdc)
set PERIOD 10
Resulting report
****************************************
Report : timing
-path_type full
-delay_type max
-max_paths 1
Design : circuit_0
Version: G-2012.06-SP3-1
Date : Fri Mar 20 11:09:51 2017
****************************************
-------------------------------------------------------------
--
clock clk (rise edge) 0.00 0.00
clock network delay (ideal) 0.00 0.00
input external delay 6.00 6.00 r
a (in) 0.00 6.00 r
U4/Y (NAND2X0_RVT) 0.03 6.03 f
U3/Y (XOR2X1_RVT) 0.08 6.11 r
U2/Y (AO22X1_RVT) 0.05 6.16 r
C_reg/D (DFFX1_RVT) 0.01 6.17 r
data arrival time 6.17
-------------------------------------------------------------
--
slack (MET) 2.79
set_case_analysis 0 enable
report_timing
Report:
****************************************
Report : timing
-path_type full
-delay_type max
-max_paths 1
Design : circuit_0
Version: G-2012.06-SP3-1
Date : Fri Mar 20 11:10:53 2015
****************************************
-------------------------------------------------------------
--
clock clk (rise edge) 0.00 0.00
clock network delay (ideal) 0.00 0.00
C_reg/CLK (DFFX1_RVT) 0.00 0.00 r
C_reg/Q (DFFX1_RVT) 0.08 0.08 f
U10/Y (NAND2X0_RVT) 0.03 0.11 r
out (out) 0.00 0.12 r
data arrival time 0.12
-------------------------------------------------------------
--
data required time 3.00
data arrival time -0.12
Report
The report should have:
1. Design Compiler and PrimeTime scripts
2. The gate level circuit
3. Case analysis setup
4. Timing reports for all cases
5. Brief summary.