I've looked over my code, and I see nothing wrong. Here's the specific error, any help appreciated: ERROR:HDLCompilers:26 - "myGates.v" line 33 expecting 'endmodule', found 'input' Analysis of file <"myGates.prj"> failed.
module myGates(
input sw0,
input sw1,
input sw2,
input sw3,
output ld0,
output ld1,
output ld2,
output ld3,
output ld7
);
input sw0, sw1, sw2, sw3;
output ld0, ld1, ld2, ld3, ld7;
wire w1, w2;
assign ld0 = sw0;
assign ld1 = sw1;
assign ld2 = sw2;
assign ld3 = sw3;
and u1 (w1, sw0, sw1);
and u2 (w2, sw2, sw3);
and u3 (ld7, w1, w2);
endmodule