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

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
*\hardware.json
*.history
*.bin
*.asc
*.dblite

View File

@@ -0,0 +1,6 @@
#LEDs
set_io led_0 99
#PMOD I/0
set_io -pullup yes pmod_0 78
set_io -pullup yes pmod_1 79

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

View File

@@ -0,0 +1,3 @@
[env]
board = icestick