Forum Discussion
Altera_Forum
Honored Contributor
9 years agoWhat's the difference between these two pieces of simple code?
Do you think there is a difference in functionality between these codes? always @(posedge clk)
begin
A<=0;
if (sel==0)
A<=in_u;
...
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Not really strange - they are functionally identical. --- Quote End --- I was referring to the code in my initial post. Code# 2 failed in Quartus due to multiple driver error, but passed in Vivado