( ESNUG 346 Item 6 ) --------------------------------------------- [3/16/00]
From: Gerd Jochens <Jochens@OFFIS.de>
Subject: Customer Script Shows Memory Leak In report_power In DC 99.10-04
Hi John,
We are using DC 99.10-04 in the Tcl mode and the report_power command for
power characterization of DW-components for a LSI library. The power
characterization requires several calls of the report_power command. We
have found that report_power does not de-allocate memory which leads to a
program abortion for larger characterization runs.
I have attached a simple DC test script to demonstrate the problem.
# program to demonstrate memory leak produced by report_power
# create module from designware-library
elaborate DW02_mult -arch csa -lib DW02 -update \
-param "A_width = 4, B_width = 4 "
current_design
compile -map_effort medium
ungroup -all -flatten
change_names -rules vhdl -hier
# calculate power
while { 1 == 1 } {
set_switching_activity -period 10 -toggle_rate 0.7 [all_nets]
report_power }
One should start the script and observe the memory requirement to see that
already for this small component each report_power command requires some
more Mbytes of additional memory.
- Gerd Jochens
OFFIS Research Institute Oldenburg, Germany
|
|