( ESNUG 270 Item 8 ) -------------------------------------------- [10/31/97]

From: Anindya Saha <asaha@tif.ti.com>
Subject: A Tip When Inferring Negative Edge Triggered Flip-flops

Hi John,

If you are using some negative edge triggered flip-flop constructs in your
VHDL design of the type:
	 
              if ( clk'event and clk='0') ...

or for the Verilog users, of the type

              always @( negedge clk) ...

I've found that Design Compiler sometimes creates a *rising* edge triggered
flip-flop with an inverter at the clock input instead of grabbing a negative
edge flip-flop!

My tip is that if you want to make sure you get a true negative edged flip-
flop, before compiling in DC, make sure to place a set_dont_touch attribute
on clk.

  - Anindya Saha
    Texas Instruments 
	  


 Sign up for the DeepChip newsletter.
Email
 Read what EDA tool users really think.


Feedback About Wiretaps ESNUGs SIGN UP! Downloads Trip Reports Advertise

"Relax. This is a discussion. Anything said here is just one engineer's opinion. Email in your dissenting letter and it'll be published, too."
This Web Site Is Modified Every 2-3 Days
Copyright 1991-2024 John Cooley.  All Rights Reserved.
| Contact John Cooley | Webmaster | Legal | Feedback Form |

   !!!     "It's not a BUG,
  /o o\  /  it's a FEATURE!"
 (  >  )
  \ - / 
  _] [_     (jcooley 1991)