( ESNUG 326 Item 15 ) --------------------------------------------- [8/25/99]
From: Andrew Maccormack <andrewm@bristol.st.com>
Subject: Help! I Can't Get Synopsys change_names To Change Names Uniformly!
John,
I have a .db file that I have inherited from another source with instances
and nets with the same names. Since this causes problems (i.e. in our
VHDL netlist) I used the -special sge_vhdl name rule to collapse the name
spaces and eliminate any double underscores, etc. However, I notice that
the Synopsys change_names command collapses the name space when DETECTING
clashes, but not when choosing new unique names, so I had this:
Inst name Net name New net name (after change_names)
U U Ub
Ub Ub Ubb
Ubb Ubb Ubbb
So it worked out that it needed to change the names, and the new net names
don't clash with other net names, but they do still clash with the instance
names.
So I had to run change_names twice more to get rid of all the problems:
Inst name Net name New #1 New #2 New #3 (unique at last)
U U Ub Ubb Ubbb
Ub Ub Ubb Ubbb Ubbbb
Ubb Ubb Ubbb Ubbbb Ubbbbb
This seems a general problem, (ie checking clashes at beginning but not end)
because I had a net called some_reg[5]_q that got changed to some_reg_5__q
which broke the double underscore rule.
The man page doesn't say what the dc_shell_status is for this command, so I
don't know if I can have a script like:
change_names
while (dc_shell_status > 0) {
change_names
}
Does anyone know anything about this problem?
- Andrew R MacCormack
STMicroelectronics
|
|