Introduction - If you have any usage issues, please Google them yourself
`timescale 1ns / 1ps
module AND_OR(INP, OUT1)
input [3:0] INP
output OUT1
wire SIG1, SIG2
MY_AND2 U0 (.A(INP[0]), .B(INP[1]), .C(SIG1))
MY_AND2 U1 (.A(INP[2]), .B(INP[3]), .C(SIG2))
MY_OR2 U2 (.A(SIG1), .B(SIG2), .C(OUT1))
endmodule