Created
November 7, 2021 16:05
-
-
Save ScienceElectronicsFun/19df6d14c0b478b6e998742703e33616 to your computer and use it in GitHub Desktop.
Spartan 7 demo code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module top( | |
input button1, | |
input button2, | |
input button3, | |
input button4, | |
output led1, | |
output led2 | |
); | |
assign led1 = button1 & button2 & button3 & button4; | |
assign led2 = button1 | button2 | button3 | button4; | |
endmodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment