Why latches are inferred because of the incomplete if else statement in Verilog?

Status
Not open for further replies.

reninroy

Junior Member level 1
Joined
Feb 26, 2008
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,389
why latches are inferred because of the incomplete if else statement..?
thanks in advance....
 

Re: verilog

unless you don't specify all the cases it is assumed (by synthesis tool) that you don't want to change the output values for cases other than the specified ones.Hence the values would be latched....thats why it (synthesis tool )infers latches
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…