Prev Problem
Next Problem

46. Operators - I

Question.5

What are the functional assignments of bw (bitwise AND) and log (logical AND)?

reg [1:0] a = 2'b10;
reg [1:0] b = 2'b01;
wire [1:0] bw = a & b;
wire log = a && b;

 

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!