Verification Guild
A Community of Verification Professionals

 Create an AccountHome | Calendar | Downloads | FAQ | Links | Site Admin | Your Account  

Login
Nickname

Password

Security Code: Security Code
Type Security Code
BACKWARD

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Modules
· Home
· Downloads
· FAQ
· Feedback
· Recommend Us
· Web Links
· Your Account

Advertising

Who's Online
There are currently, 48 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

  
Verification Guild: Forums

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile  ProfileDigest    Log inLog in 

feedback loops or latches?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Verification Guild Forum Index -> Design
View previous topic :: View next topic  
Author Message
emailamit
Newbie
Newbie


Joined: Jul 15, 2004
Posts: 1

PostPosted: Sat Aug 07, 2004 8:18 pm    Post subject: feedback loops or latches? Reply with quote

Hi,

For the following rtl-construct (and other similar complex forms)
out = (sel)? out : in;

the rtl-synthesis can either create a feedback combinational loop or it can infer a level-senstitive latch.

What is the preferred way to synthesize logic for such a circuit considering that the synthesis tool is used in some functional -verification flow.

--Thanks
Back to top
View user's profile Send e-mail
pearlsuresh
Newbie
Newbie


Joined: Oct 02, 2004
Posts: 1

PostPosted: Sat Oct 02, 2004 5:58 am    Post subject: re: Reply with quote

Quote:

hi,
synthesis tool will infer a combinational(with warning msg) feedback loop and it is not a desired coding style..
the same functionality will be implemented by specifically telling the tool to infer a latch,

Code:

  always @ clk or din
  begin
    if (clk==1)
        q<=din;
    end
cheers,
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Verification Guild Forum Index -> Design All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Verification Guild © 2006 Janick Bergeron
Web site engine's code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.230 Seconds