Skip to content

Commit

Permalink
Added to test-examples a the ECP5 example ColorLight-5A-75B-V8/Blinky…
Browse files Browse the repository at this point in the history
… for testing. This is a straight verilog project but can replaced later with a IceStudion version.
  • Loading branch information
zapta committed Sep 29, 2024
1 parent d7f91c7 commit 5f92c9a
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test-examples/ColorLight-5A-75B-V8/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
4 changes: 4 additions & 0 deletions test-examples/ColorLight-5A-75B-V8/Blinky/apio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[env]
board = ColorLight-5A-75B-V8
top-module = Test

1 change: 1 addition & 0 deletions test-examples/ColorLight-5A-75B-V8/Blinky/info
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Blinking LED
12 changes: 12 additions & 0 deletions test-examples/ColorLight-5A-75B-V8/Blinky/pinout.lpf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -- Board: ColorLight-5A-75E-V71_(FT2232H)

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

# -- LED
LOCATE COMP "led" SITE "T6";
IOBUF PORT "led" PULLMODE=NONE IO_TYPE=LVCMOS33 DRIVE=4;



0 comments on commit 5f92c9a

Please sign in to comment.