Skip to content

Commit

Permalink
Merge pull request #500 from benitoss/develop
Browse files Browse the repository at this point in the history
Added Mimas-ECP5-Mini ECP5 board
  • Loading branch information
Obijuan authored Dec 19, 2024
2 parents f071a07 + 5f89e2d commit 6d10fd8
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apio/resources/boards.json
Original file line number Diff line number Diff line change
Expand Up @@ -923,5 +923,12 @@
"programmer": {
"type": "apollo"
}
},
"mimas-ecp5-mini": {
"description": "Mimas ECP5 Mini",
"fpga": "ECP5-LFE5U-45F-CABGA256",
"programmer": {
"type": "openfpgaloader_ft2232"
}
}
}
17 changes: 17 additions & 0 deletions test-examples/mimas-ecp5-mini/Blinky/Blinky.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//------------------------------------------------------------------
//-- Blinking LED
//------------------------------------------------------------------

module Test (
input CLK, // 100MHz clock
output led // LED to blink
);

reg [25:0] counter = 0;

always @(posedge CLK)
counter <= counter + 1;

assign led = counter[25];

endmodule
4 changes: 4 additions & 0 deletions test-examples/mimas-ecp5-mini/Blinky/apio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[env]
board = mimas-ecp5-mini
top-module = Test

1 change: 1 addition & 0 deletions test-examples/mimas-ecp5-mini/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/mimas-ecp5-mini/Blinky/pinout.lpf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -- Board: mimas-ecp5-mini

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

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



0 comments on commit 6d10fd8

Please sign in to comment.