Created
April 14, 2012 11:10
-
-
Save cs8425/2383629 to your computer and use it in GitHub Desktop.
gate2to4
This file contains 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 xbox( a, o ); | |
input [1:0]a; | |
output [3:0]o; | |
assign o = 4'b0001 << a ; | |
endmodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment