which one style is better ?

E

Essen

Guest
Hi,

Can anyone give me some advice about following style?

reg A;
reg B;
wire enable;

assign C = enable && (A != B); // logical AND
assign C = enable & (A != B); // bitwise AND

which one is better ?

Thanks for any suggestions !
 

Welcome to EDABoard.com

Sponsor

Back
Top