Thursday, November 20, 2008     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: RTL_compiler SDF
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
giohdl
Posts: 13
Online: User is Offline
7/20/2006 2:29 AM  
Hi,

I need to simulate a gate-level netlist from RC 4.2.2
Can anybody knows how to generate an
sdf file from RC?

I've used the "write_sdf" command but the program says
that it's obsolete and doesn't accept any option.
Moreover the RC documentation doesn't tell
anything about "write_sdf"

Thank you.
synthman
Posts: 17
Online: User is Offline
7/20/2006 7:13 AM  
Hi giohdl,
The write_sdf is an unsupported command, but it should work to give you a basic SDF. The syntax is:

write_sdf > filename

There's another way to get SDF is to use BuildGates (bgx_shell) from RC package. The basic script is:

invoke BuildGates: bgx_shell

read_dotlib your_library
read_verilog -st your_netlist
write_sdf file_name

giohdl
Posts: 13
Online: User is Offline
7/20/2006 12:21 PM  

Thank you synthman,

I'll try with BuildGates because
I need to specify some option
in the SDF file.

EngHan
Posts: 65
Online: User is Offline
7/25/2006 2:45 AM  
Hi Giohdl,

Another way is to simulate without sdf (i.e. 0 delay, unit delay etc). Usually, this is enough. What is the use of timing before P&R?

Regards,
Eng Han
giohdl
Posts: 13
Online: User is Offline
7/25/2006 4:51 AM  
Hi EngHan,

I think you're right in general.
My circuit contains several interconnected FSMs so
I've preferred to simulate before P&R
avoiding zero delays in cells.

Regards,
Giohdl
crispy_duck
Posts: 0
Online: User is Offline
7/25/2006 7:20 AM  
Unit delay can lead to you spending time debugging issues that don't exist. Avoid like Martha Stewart's stock tips ;-)

Since you can't really build an SDF that will realistically reflect your final timing atleast until CTS is done, then here are two alternate solutions that I've used but no-one has suggested thus far:

1) Create and compile a modified version of your verilog/vhdl gate library with 1nS clk->q (or qn etc) on flops (and latches), then use zero delay for combinatorial cells. Design will now function accurately pre-layout.

2) Alternately why not create a dummy SDF that attaches delay values to specific cell types rather than specific instances? You can do this quite simply. The following example will annotate a 1ns delay to all flops in the design that are of type "floppy"...

(DELAYFILE
(SDFVERSION "2.1")
(DESIGN "dodgy")
(DATE "17-May-2006")
(VENDOR "Shoddy Devices Inc")
(PROGRAM "Manually created. Annotated all DFFs with CP->Q of 1:1:1")
(VERSION "1")
(DIVIDER /)
(VOLTAGE 1.65:1.65:1.65)
(PROCESS "1.5:1.5:1.5")
(TEMPERATURE 125:125:125)
(TIMESCALE 1 ns)
(CELL
(CELLTYPE "floppy" )
(INSTANCE * )
(DELAY
(ABSOLUTE
(IOPATH CP Q (1:1:1) (1:1:1))
)
)
)
)

At "Shoddy Devices Inc", we've used both methods successfully. However the second method might be simulator depedent. I'd recommend the first method (unless your vendor doesn't give you simulator library source code).

HTH

Crispy Duck
EngHan
Posts: 65
Online: User is Offline
7/25/2006 7:16 PM  
Hi Crispy Duck,

Your reply is enlightening. Actually, I am going along your approach but my reply was short... the effort to get gate level simulate correctly depend on many things, so it is hard to generalise.

What I did is to change the delay directly in the verilog model (std cell, and sometime even IP like memory), those numerbs in the "specify". This does not require additional file, and the simulation run faster and less memory. The delays are as what you suggest; sometime I use a very small delay for clock buffer, and use the actual delay for delay cell.

To be more complete, typically we also have to tune the testbench, and sometime adjust the cycle where the data will start to appear. Also have to disable the hold/setup/etc of the synchonisers so that the control-logic does not end up with all "X". Depend on the library and the version of the software you use, you have to patch the SDF to make it "annotatable" (for example you have posedge in .lib, but not in the verilog model). In my last project, I have to use a patched version of Encounter to generate the sdf and 5.* cannot (I might remember wrongly here, but just get the idea) with setuphold / recrem (so that -ve check is supported). Lastly, remember to check the timescale has sufficient accuracy. I think this list can add on; there is always something new in every project.

Regards,
Eng Han
crispy_duck
Posts: 0
Online: User is Offline
7/26/2006 8:38 AM  
[quote] I think this list can add on; there is always something new in every project[/quote]And we still make all the old mistakes too ;-)
Posting to forums is available to community members only.
Login or Register

Forums > Digital IC > Synthesis and test > RTL_compiler SDF


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.