-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for OrangeCrab R0.2
- Loading branch information
Showing
4 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
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
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 @@ | ||
module blinky_orangecrab | ||
(input wire clk, | ||
input wire btn, | ||
output wire r, | ||
output wire g, | ||
output wire b, | ||
); | ||
|
||
|
||
blinky #(.clk_freq_hz (48_000_000)) blinky | ||
(.clk (clk), | ||
.q (q)); | ||
|
||
assign r = ~q; | ||
assign g = ~q; | ||
assign b = ~q; | ||
endmodule |
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,14 @@ | ||
LOCATE COMP "clk" SITE "A9"; | ||
IOBUF PORT "clk" PULLMODE=NONE IO_TYPE=LVCMOS33; | ||
FREQUENCY PORT "clk" 48 MHZ; | ||
|
||
LOCATE COMP "r" SITE "K4"; | ||
LOCATE COMP "g" SITE "M3"; | ||
LOCATE COMP "b" SITE "J3"; | ||
|
||
IOBUF PORT "r" IO_TYPE=LVCMOS33; | ||
IOBUF PORT "g" IO_TYPE=LVCMOS33; | ||
IOBUF PORT "b" IO_TYPE=LVCMOS33; | ||
|
||
LOCATE COMP "btn" SITE "J17"; # BTN_PWRn (inverted logic) | ||
IOBUF PORT "btn" PULLMODE=UP IO_TYPE=LVCMOS33; |
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