-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# SPDX-FileCopyrightText: 2024 Google LLC | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
set_property BOARD_PART_PIN sysclk_300_n [get_ports SYSCLK_300_n] | ||
set_property BOARD_PART_PIN sysclk_300_p [get_ports SYSCLK_300_p] | ||
set_property BOARD_PART_PIN sma_mgt_refclk_n [get_ports SMA_MGT_REFCLK_C_n] | ||
set_property BOARD_PART_PIN sma_mgt_refclk_p [get_ports SMA_MGT_REFCLK_C_p] | ||
|
||
set_property BOARD_PART_PIN GPIO_LED_0_LS [get_ports spiDone] | ||
|
||
set_clock_groups \ | ||
-asynchronous \ | ||
-group [get_clocks -include_generated_clocks {SYSCLK_300_p}] \ | ||
-group [get_clocks -include_generated_clocks {SMA_MGT_REFCLK_C_p}] | ||
|
||
# Color | FPGA pin | LVLSHFT | Connection | ||
# --------|---------------|---------------|------------------ | ||
# Grey | PMOD0_0 | IO1 | SYNC_OUT (legacy) | ||
# Blue | PMOD0_1 | IO2 | FINC | ||
# Yellow | PMOD0_2 | IO3 | MOSI/SDIO | ||
# Red | PMOD0_3 | IO4 | SCLK | ||
# White | PMOD0_4 | IO5 | SYNC_IN (legacy) | ||
# Purple | PMOD0_5 | IO6 | FDEC | ||
# Green | PMOD0_6 | IO7 | CSB | ||
# Orange | PMOD0_7 | IO8 | MISO/SDO | ||
# Black | Not connected | Not connected | | ||
# Brown | PMOD_GND | GND | GND (SPI) | ||
|
||
# PMOD1_[0..7] | ||
set_property -dict {IOSTANDARD LVCMOS12 PACKAGE_PIN AN21} [get_ports {FINC}] | ||
set_property -dict {IOSTANDARD LVCMOS12 PACKAGE_PIN AH18} [get_ports {MOSI}] | ||
set_property -dict {IOSTANDARD LVCMOS12 PACKAGE_PIN AM19} [get_ports {SCLK}] | ||
set_property -dict {IOSTANDARD LVCMOS12 PACKAGE_PIN AF25} [get_ports {FDEC}] | ||
set_property -dict {IOSTANDARD LVCMOS12 PACKAGE_PIN AE21} [get_ports {CSB}] | ||
set_property -dict {IOSTANDARD LVCMOS12 PACKAGE_PIN AM17} [get_ports {MISO}] | ||
|
||
# PMOD0_3 | ||
# set_property -dict {IOSTANDARD LVCMOS12 PACKAGE_PIN AM19} [get_ports {shared_reset_btn}] | ||
|
||
# USER SMA GPIO_P | ||
set_property -dict {IOSTANDARD LVCMOS18 PACKAGE_PIN H27} [get_ports {SYNC_IN}] | ||
# USER_SMA_GPIO_N (connected on node 0 to SYNC_IN of all nodes) | ||
set_property -dict {IOSTANDARD LVCMOS18 PACKAGE_PIN G27} [get_ports {SYNC_OUT}] |