Created
January 23, 2013 15:18
-
-
Save houmei/4608000 to your computer and use it in GitHub Desktop.
DE0 SW0-9 LED0-9 test
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 Lesson1( sw, led ); | |
| input [9:0] sw ; | |
| output [9:0] led ; | |
| assign led=sw; | |
| endmodule | |
| /* | |
| module Lesson1( | |
| sw0,sw1,sw2,sw3,sw4,sw5,sw6,sw7,sw8,sw9, | |
| led0,led1,led2,led3,led4,led5,led6,led7,led8,led9); | |
| input sw0,sw1,sw2,sw3,sw4,sw5,sw6,sw7,sw8,sw9; | |
| output led0,led1,led2,led3,led4,led5,led6,led7,led8,led9; | |
| assign led0=sw0; | |
| assign led1=sw1; | |
| assign led2=sw2; | |
| assign led3=sw3; | |
| assign led4=sw4; | |
| assign led5=sw5; | |
| assign led6=sw6; | |
| assign led7=sw7; | |
| assign led8=sw8; | |
| assign led9=sw9; | |
| endmodule | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment