InterviewSolution
Saved Bookmarks
| 1. |
Does A Latch Get Inferred When There Is No Else Statement But Multiple Ifs Covering Whole Functionality? |
|
Answer» Conceptually no latch should be inferred but SOMETIMES the synthesis TOOLS are not intelligent enough and they might infer a latch. In order to AVOID that, the safest way is to use an “else / default” STATEMENT in “if / case” RESPECTIVELY. Conceptually no latch should be inferred but sometimes the synthesis tools are not intelligent enough and they might infer a latch. In order to avoid that, the safest way is to use an “else / default” statement in “if / case” respectively. |
|