| Login | | 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. | |
| 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 |
|
| View previous topic :: View next topic |
| Author |
Message |
emailamit Newbie


Joined: Jul 15, 2004 Posts: 1
|
Posted: Sat Aug 07, 2004 8:18 pm Post subject: feedback loops or latches? |
|
|
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 |
|
 |
pearlsuresh Newbie


Joined: Oct 02, 2004 Posts: 1
|
Posted: Sat Oct 02, 2004 5:58 am Post subject: re: |
|
|
| 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 |
|
 |
|
|
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
|
| |
|
|