-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Colorlight: blinky example changed to look like the blinkys of the ot…
…her boards
- Loading branch information
Showing
6 changed files
with
20 additions
and
44 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
//------------------------------------------------------------------ | ||
//-- Blinking LED | ||
//------------------------------------------------------------------ | ||
|
||
module Test ( | ||
input CLK, // 25MHz clock | ||
output led, // LED to blink | ||
); | ||
|
||
reg [23:0] counter = 0; | ||
|
||
always @(posedge CLK) | ||
counter <= counter + 1; | ||
|
||
assign led = counter[23]; | ||
|
||
endmodule |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Blinking LED |
4 changes: 2 additions & 2 deletions
4
...Light-5A-75E-V71_FT2232H/Blink/pinout.lpf → ...ight-5A-75E-V71_FT2232H/Blinky/pinout.lpf
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