Skip to content

Commit

Permalink
Colorlight: blinky example changed to look like the blinkys of the ot…
Browse files Browse the repository at this point in the history
…her boards
  • Loading branch information
Obijuan committed Jul 17, 2021
1 parent ed89a08 commit 4be6f30
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 44 deletions.
41 changes: 0 additions & 41 deletions ColoLight-5A-75E-V71_FT2232H/Blink/blink.v

This file was deleted.

1 change: 0 additions & 1 deletion ColoLight-5A-75E-V71_FT2232H/Blink/info

This file was deleted.

17 changes: 17 additions & 0 deletions ColoLight-5A-75E-V71_FT2232H/Blinky/Blinky.v
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.
1 change: 1 addition & 0 deletions ColoLight-5A-75E-V71_FT2232H/Blinky/info
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Blinking LED
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -- Board: ColorLight-5A-75E-V71_(FT2232H)

# -- CLK
LOCATE COMP "clk" SITE "P6";
IOBUF PORT "clk" PULLMODE=NONE IO_TYPE=LVCMOS33 DRIVE=4;
LOCATE COMP "CLK" SITE "P6";
IOBUF PORT "CLK" PULLMODE=NONE IO_TYPE=LVCMOS33 DRIVE=4;

# -- LED
LOCATE COMP "led" SITE "P11";
Expand Down

0 comments on commit 4be6f30

Please sign in to comment.