Q036 Cpe 313: Introduction To HDL Activity Verilog Assignments
Q036 Cpe 313: Introduction To HDL Activity Verilog Assignments
Q036 Cpe 313: Introduction To HDL Activity Verilog Assignments
SUBMITTED BY:
AGUSTIN JON JEFFREY G.
BSCPE-3
SUBMITTED TO:
ENGR. IRENE F. SALVADOR
INSTRUCTOR
1.)
module Circuit_j1(F,G,H,A,B,C,D);
output F,G,H;
input A,B,C,D;
assign F = (((~A)|(~C))|A|((~A)&C))&(((~B)&(~D))|(B&D));
assign G = (~A)|(((~B)&(~D))|(B&D));
assign H = (((~A)|(~C))|A|((~A)&C))^(((~B)&(~D))|(B&D));
endmodule
2.)
module Circuit_j2(V,X,Y,D0,D1,D2,D3);
output V,X,Y;
input D0,D1,D2,D3;
assign V = D3 | (D1&(~D2));
assign X = D3 | D2;
assign Y = X | D1 | D0;
endmodule