Wednesday, February 08, 2012     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: Design for Formal Analysis
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
weberrm
Posts: 0
Online: User is Offline
3/14/2006 1:39 PM  

To get the most out of formal analysis, one thing that can be done is to highly parameterize a design.  Some Cadence guidelines for parameterization include the following:


Pass down all parameters from top to bottom.
Vectors that can affect size and diameter, which impacts complexity, should be
parameterized.
Every parameter should be orthogonal to other parameters.
Compute dependent parameters as functions of independent parameters.
Include system-wide/protocol requirements as parameters even if they would never change between reuses of the design.

For example, if every packet of data should be no greater than 256 bytes or data
should be divided up into bursts of 64 bytes or less, then 256 and 64 should be
parameters, not hard-coded numbers.
Parameterize number of interfaces to replicated blocks.
For example, for an arbiter, use N arbitration interfaces instead of a fixed number.
Design logic so that it works for any width of bus.
For example, for a data bus (8, 16, 32-bits, and so on), define a parameterized byte width.

 

Using HDL parameters is not the only way to “parameterize” a design, defines can also be used.  I use defines for global constants that are not changed on a module by module instantiation.  I use parameters when a module’s constants need to be changed on an instance by instance basis.  The goal being that a top-level parameter can be changed in one spot and the entire design is updated accordingly because the lower level parameters are orthogonal.

 

Parameterizing a design often times allows one to easily shrink a design down enough such that the properties in the design can be proved by a formal analysis tool like IFV.

 

A highly parameterized design often times comes with requirements of using some of the constructs introduced to Verilog in Verilog 2001 including generates, indexed part-selects, and multi-dimensional wires.  Also, one tends to write with a very different style.  The resulting code sometimes ends up looking more like a program than a hardware description.  This style is not always the easiest to read for people who are used to other styles that make gates easier to “see”.  Also, you may find your occasional tool bug with Verilog 2001 constructs since they are not as widely used.

 

Vectors sometimes get to be very wide because there isn’t an easy way to change the number of input vectors to a module.  For instance, you may need a mux module that has a parameterized number of inputs.  This would lead to an interface definition like the following:

 

parameter

DATA_W=10,

INPUTS=4

input [(DATA_W*INPUTS)-1:0] concat_data;

 

vs. the typical:

 

parameter DATA_W=10;

input [DATA_W-1:0] data0,

input [DATA_W-1:0] data1,

input [DATA_W-1:0] data2,

input [DATA_W-1:0] data3,

 

 

A highly parameterized design is not just good from formal analysis, it also leads to a more flexible and reusable design.  These benefits go well beyond formal analysis.

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



ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.