Created
May 8, 2017 00:41
-
-
Save koyamalmsteen/a460f6d1c4b9b717a4a340df25e42fb7 to your computer and use it in GitHub Desktop.
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 TFF2(switch, led); | |
input switch; | |
output led; | |
reg q; | |
always @(posedge switch) begin | |
q = ~q; | |
end | |
assign led = q; | |
endmodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment