-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1006 from duck2/master
Add buttons_arty target
- Loading branch information
Showing
10 changed files
with
70 additions
and
18 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
add_xc7_device_define( | ||
ARCH artix7 | ||
DEVICES xc7a50t-basys3 xc7a50t-arty | ||
PARTS xc7a35tcpg236-1 xc7a35tcsg324-1 | ||
DEVICES xc7a50t-basys3 xc7a50t-arty-uart xc7a50t-arty-swbut | ||
PARTS xc7a35tcpg236-1 xc7a35tcsg324-1 xc7a35tcsg324-1 | ||
) |
8 changes: 8 additions & 0 deletions
8
xc7/archs/artix7/devices/xc7a50t-arty-swbut-roi-virt/CMakeLists.txt
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,8 @@ | ||
add_xc7_device_define_type( | ||
ARCH artix7 | ||
DEVICE xc7a50t-arty-swbut | ||
ROI_PART xc7a35tcsg324-1 | ||
ROI_DIR ${PRJXRAY_DB_DIR}/artix7/harness/arty-a7/swbut | ||
TILE_TYPES SLICEL SLICEM BRAM_L | ||
NAME arty-swbut | ||
) |
5 changes: 2 additions & 3 deletions
5
...ices/xc7a50t-arty-roi-virt/CMakeLists.txt → ...xc7a50t-arty-uart-roi-virt/CMakeLists.txt
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
add_xc7_device_define_type( | ||
ARCH artix7 | ||
DEVICE xc7a50t-arty | ||
DEVICE xc7a50t-arty-uart | ||
ROI_PART xc7a35tcsg324-1 | ||
ROI_DIR ${PRJXRAY_DB_DIR}/artix7/harness/arty-a7/uart | ||
TILE_TYPES SLICEL SLICEM BRAM_L | ||
NAME arty | ||
NAME arty-uart | ||
) | ||
|
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
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,20 @@ | ||
# in[7:0] corresponds to {BTN3-0, SW3-0} in arty | ||
set_io in[0] A8 | ||
set_io in[1] C11 | ||
set_io in[2] C10 | ||
set_io in[3] A10 | ||
set_io in[4] D9 | ||
set_io in[5] C9 | ||
set_io in[6] B9 | ||
set_io in[7] B8 | ||
|
||
# out[7:0] corresponds to {LD7-0} in arty. | ||
# only green components of RGB leds | ||
set_io out[0] F6 | ||
set_io out[1] J4 | ||
set_io out[2] J2 | ||
set_io out[3] H6 | ||
set_io out[4] H5 | ||
set_io out[5] J5 | ||
set_io out[6] T9 | ||
set_io out[7] T10 |
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,6 @@ | ||
module top( | ||
input [7:0] in, | ||
output [7:0] out | ||
); | ||
assign out = in; | ||
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
add_fpga_target_boards( | ||
NAME uart_loopback | ||
BOARDS arty | ||
add_fpga_target( | ||
NAME uart_loopback_arty | ||
BOARD arty-uart | ||
SOURCES uart_loopback.v | ||
IMPLICIT_INPUT_IO_FILES | ||
INPUT_IO_FILE arty.pcf | ||
) |