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: Issue with gated clock
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
maurizios
Posts: 8
Online: User is Offline
8/29/2007 9:39 AM  
Hi,
I am doing a c omparison of RTL vs. gate. The original RTL has some clock gating that has been instantiated using technology library gate elements. During sytnhesis further clock gatignf has been added by synthesis tool.
Consequently I have used "set flatten model -gated_clock' to be able to process gated clock elements.
Unfortunately some points miscompated due to the fact that in golden (RTL) design the gated clock appears in the fanin cone of the FF while in the revised does not.
Did I make some wrong switches ?

Thanks
Maurizio
croy
Posts: 54
Online: User is Offline
8/29/2007 1:10 PM  
Hi Maurizio

I would give 'remodel -gated_clock' a shot, on top of 'set flatten model -gated_clock' which you're currently using.

Chrystian
maurizios
Posts: 8
Online: User is Offline
8/30/2007 7:32 AM  
I have did several trials. The bottom line seems to be the following;
- There is a clock gating structure in RTL Code
- I used the flattening option "set_flatten_mode -gated_clock"
- The gating elements are properly mapped in both golden and revised netlist.
When I am trying to diagnose a not-comparing points the cause of miscomparison seems to be the fact that for golden netlist clock itself and gating element are in the fanin cone but this is not true for revised netlist ( see line below0):
There are extra but mapped key points in this logic cone
================================================================================
ID Type Name
--------------------------------------------------------------------------------
(G) + 63763 'DLAT' /i_nocino_core/i_cpu_domain/i_VCPU_ClkCtrl/i_GrappaRefClkGate/Enable_Latch_reg
(G) + 63978 Nocino_analog_top:'PIN' /i_nocino_core/tvdd_domain0/i_nocino_analog_top/SCK
================================================================================

The tool finds then a failing pattern by applying a 0 to SCK
Does anybody have an idea why this is happening?
Thamks
Maurizio
maurizios
Posts: 8
Online: User is Offline
8/30/2007 10:18 AM  
Hi
eventually I came across the issue.
It was a Verilog construct not "particularly good" as :
always @(posedge clk or negedge rst_n)
if ( rst_n == 0 )
begin
...
end
else if (clk == 1)
begin
..
end

By changing to a more regular construct :
always @(posedge clk or negedge rst_n)
if ( rst_n == 0 )
begin
...
end
else
begin
..
end
it started to behave correctly. It looks the clause
else if (clk == 1)
is interpreted by the tool as a mux on the clock to the D input of the FF.

Maurizio
Posting to forums is available to community members only.
Login or Register

Forums > Digital IC > Formal verification > Issue with gated clock


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.