TCL 2 2015.00 LG 04
TCL 2 2015.00 LG 04
TCL 2 2015.00 LG 04
Remove Duplicate
4 Timing Reports
Learning Objectives
Lab Duration:
35 minutes
Lab Overview
This lab completes the complex Tcl procedure to clean duplicate timing reports from a log
file.
There are two levels of help available in the Answer/Solutions section at the end of
this lab for each task – starting from a flow diagram to the complete procedure.
Lab Tasks
Start the procedure clean_log by
Apply file I/O commands and
reading and writing a log file
define procedure attributes
LAB 1
File Locations
Directory Structure
design_data ORCA netlist
scripts Run scripts
libs Technology libraries
tcl_procs Solution directory
log Log file directory
.synopsys_dc.setup Setup file for Design Compiler
.synopsys_pt.setup Setup file for PrimeTime
Relevant Files
scripts/
clean_log.tcl Continuation for clean_log proc
runtiming.tcl To regenerate timing.log file
tcl_procs/
clean_log5.tcl Solution for lab 3
clean_log.tcl Final solution
log/
timing.log Log file to be cleaned
Lab Instructions
Your goal is to complete clean_log that strips out the duplicate timing reports and
returns a clean log file for more efficient analysis.
....................................................................................................
....................................................................................................
This final task will complete the procedure clean_log. Do not forget to utilize all of
the job aids!
The final step is to only write the unique reports to the outfile. If there are duplicate
reports, the in and out files will no longer be equivalent.
1. Source the modified procedure into either Design Compiler or PrimeTime and
verify the following:
Answers / Solutions