/*Write your code here*/
module bitwise_ops_demo(input [3:0]A,
input [3:0]B,
output [3:0]AND_OUT,
output [3:0]OR_OUT,
output [3:0]XOR_OUT,
output [3:0]XNOR_OUT);
assign AND_OUT={A[3]&B[3],A[2]&B[2],A[1]&B[1],A[0]&B[0]};
assign OR_OUT={A[3]|B[3],A[2]|B[2],A[1]|B[1],A[0]|B[0]};
assign XOR_OUT={A[3]^B[3],A[2]^B[2],A[1]^B[1],A[0]^B[0]};
assign XNOR_OUT={A[3]~^B[3],A[2]~^B[2],A[1]~^B[1],A[0]~^B[0]};
endmodule