InterviewSolution
Saved Bookmarks
| 1. |
Are The Following Codes Are Synthesizable ? Is There Any Difference In The Synthesis Result Of (i) And (ii)?< (i) Always @ (posedge Clk1 Or Negedge Clk2) Begin If (!clk2 && A) Dout <= 0; Else Dout<= Din; End (ii) |
|
Answer» ALWAYS @ (posedge Clk1 Or Negedge Rst) Both are not synthesizable as there is a MIXING of asynchronous and synchronous element in the if condition. Both are not synthesizable as there is a mixing of asynchronous and synchronous element in the if condition. |
|