Add git ignore. First part of part 3 tut done.

This commit is contained in:
dan
2023-01-12 02:30:26 -05:00
parent b8bf5f43c0
commit 414f3212d1
4 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// Modeule: when buttons 1 and 2 are pressed, turn on LED
module and_gate (
// Inputs
input pmod_0,
input pmod_1,
// Outputs
output led_0
);
// Continuous assignment: not and and operators
assign led_0 = ~pmod_0 & ~pmod_1;
endmodule