A
ajcrm125
Guest
I'm trying to establish a coding format in which I'm going to start
coding all of my future RTL.
I'm poking though other designs to see in what direction they went and
some use bitwise operators (even in cases where they are considering
single bit signals) and others choose to use logical operators. For
example:
assign signalD = signalA & ~(signalB | signalC);
versus
assign signalD = signalA && !(signalB || signalC);
Is there a justifiable preference either way? I'm pretty sure they'll
synthesize the same way.
Thanks for any insight....
-Adam
coding all of my future RTL.
I'm poking though other designs to see in what direction they went and
some use bitwise operators (even in cases where they are considering
single bit signals) and others choose to use logical operators. For
example:
assign signalD = signalA & ~(signalB | signalC);
versus
assign signalD = signalA && !(signalB || signalC);
Is there a justifiable preference either way? I'm pretty sure they'll
synthesize the same way.
Thanks for any insight....
-Adam