Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is wrong with the following code fragment?
always@(posedge clock)
begin
D <= A & C;
if (E) G <= D | F;
end
D should not be assigned like this. Unbuildable “wired-or” logic is implied.
E is missing from the second sensitivity list.
A timing loop (or arc) is present.
Unintentional latches are being built.
Nothing is wrong with this code fragment.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!