Posting to forums is available to community members only. Login or Register |
|
| Author |
Messages |
|
eminemshow Posts: 75 Online:
 |
| 5/11/2008 9:36 AM |
|
1. How can I get all the clock nets in SOC-E. I am using the command 'dbIsNetClock', but it doesn't work. Then I try to specify clock tech file, then change all the clock nets to DEF USE CLOCK, then output DEF, reload the DEF, but 'dbIsNetClock' does not work either. I can write a DB tcl to trace the clock tree, but it is time consuming. How can I do this using FE inherent commands. My SOC-E version is 52USR3.
Thanks in advance! |
|
|
|
sudhir.jain Posts: 3 Online:
 |
| 5/11/2008 10:20 PM |
|
Hi,
'dbIsNetClock', uses the timing information to tell is a net is clock or not. You should load the SDC and update the timing before using this command.
|
|
|
|
Black Lutin Posts: 11 Online:
 |
| 5/12/2008 12:07 AM |
|
Hi,
As you read a DEF, the informations are saved on an other property. If you read you SDC and update your timing you may have problem with multimode. So teh better is to make two tests:
Here is my script:
proc userCreateClockList { clockFile {option w} } { set f [open $clockFile $option] dbForEachCellNet [dbgTopCell] n { set netname [dbNetName $n] if {[dbIsNetClock $n] || [dbIsNetDefInClock $n]} { puts $f "$netname" } } close $f } And so you can use:
userCreateClockList $STM_clockNetsReport "w"
Regards ... Luc ... |
|
|
|
eminemshow Posts: 75 Online:
 |
| 5/12/2008 2:26 AM |
|
| Thank you all! This is really the solution I need. |
|
|
|
eminemshow Posts: 75 Online:
 |
| 5/15/2008 10:14 PM |
|
Lutin:
I really dont not know why comands like 'dbIsNetClock' and 'dbIsNetDefInClock' doesn't work. I have to 1st specify clock tree, then saveClockNet, then remark the clock net as 'dbSetIsNetclock'.
BRs |
|
|
|
Black Lutin Posts: 11 Online:
 |
| 5/16/2008 12:34 AM |
|
Hi,
To access to dbIsNetDefInClock, you need to have run the clcokTreeSynthesis. To access to dbIsNetClock, you need to have read SDC timing constrain file, and to have run a timing command (to propagate the clock information). So you need at least "report_timing".
Try and let me know ....
Regards ..... |
|
|
|
|
Posting to forums is available to community members only. Login or Register |
|
|
|
ActiveForums 3.6
|
|