Skip to content

Commit 922d3b0

Browse files
committed
xilinx: add xca50t support
1 parent ed7e934 commit 922d3b0

File tree

7 files changed

+15
-2
lines changed

7 files changed

+15
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ install(TARGETS openFPGALoader DESTINATION bin)
175175
install(FILES
176176
test_sfl.svf
177177
spiOverJtag/spiOverJtag_xc7a35.bit
178+
spiOverJtag/spiOverJtag_xc7a50t.bit
178179
spiOverJtag/spiOverJtag_xc7a100.bit
179180
spiOverJtag/spiOverJtag_xc7a200.bit
180181
spiOverJtag/spiOverJtag_xc7s50.bit

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ __Supported (tested) FPGA:__
3838
* Lattice [MachXO3D](http://www.latticesemi.com/en/Products/FPGAandCPLD/MachXO3D.aspx) (SRAM and Flash)
3939
* Lattice [ECP5 (25F, 5G 85F](http://www.latticesemi.com/Products/FPGAandCPLD/ECP5) (SRAM and Flash)
4040
* Lattice [ECP5 (25F, 5G 85F, CrossLink-NX (LIFCL-40)](https://www.latticesemi.com/en/Products/FPGAandCPLD/CrossLink-NX) (SRAM and Flash)
41-
* Xilinx Artix 7 [xc7a35ti, xc7a100t, xc7a200t](https://www.xilinx.com/products/silicon-devices/fpga/artix-7.html) (memory and spi flash)
41+
* Xilinx Artix 7 [xc7a35ti, xc7a50t, xc7a100t, xc7a200t](https://www.xilinx.com/products/silicon-devices/fpga/artix-7.html) (memory and spi flash)
4242
* Xilinx Spartan 6 [xc6slx45](https://www.xilinx.com/products/silicon-devices/fpga/spartan-6.html) (memory)
4343
* Xilinx Spartan 7 [xc7s15, xc7s25, xc7s50](https://www.xilinx.com/products/silicon-devices/fpga/spartan-7.html) (memory (all) and spi flash (xc7s50))
4444
* Intel Cyclone IV CE [EP4CE22](https://www.intel.com/content/www/us/en/products/programmable/fpga/cyclone-iv/features.html) (memory. See note below)

spiOverJtag/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
VIVADO := vivado -nolog -nojournal -mode batch -source
2-
MODELS := xc7a35 xc7a100 xc7s50 xc7a200
2+
MODELS := xc7a35 xc7a50t xc7a100 xc7s50 xc7a200
33
BIT_FILES := $(addsuffix .bit,$(addprefix spiOverJtag_, $(MODELS)))
44

55
all: $(BIT_FILES)

spiOverJtag/constr_xc7a50t.xdc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
set_property CFGBVS VCCO [current_design]
2+
set_property CONFIG_VOLTAGE 3.3 [current_design]
3+
set_property BITSTREAM.CONFIG.SPI_BUSWIDTH {4} [current_design]
4+
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
5+
set_property -dict {PACKAGE_PIN K19 IOSTANDARD LVCMOS33} [get_ports {csn}];
6+
set_property -dict {PACKAGE_PIN D18 IOSTANDARD LVCMOS33} [get_ports {sdi_dq0}];
7+
set_property -dict {PACKAGE_PIN D19 IOSTANDARD LVCMOS33} [get_ports {sdo_dq1}];
8+
set_property -dict {PACKAGE_PIN G18 IOSTANDARD LVCMOS33} [get_ports {wpn_dq2}];
9+
set_property -dict {PACKAGE_PIN F18 IOSTANDARD LVCMOS33} [get_ports {hldn_dq3}];
10+
231 KB
Binary file not shown.

spiOverJtag/xilinx_spiOverJtag.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ file delete -force $build_path
88
# Project creation
99
set parts [dict create \
1010
xc7a35 xc7a35ticsg324-1L \
11+
xc7a50t xc7a50tcpg236-2 \
1112
xc7s50 xc7s50csga324-1 \
1213
xc7a100 xc7a100tfgg484-2 \
1314
xc7a200 xc7a200tsbg484-1 \

src/part.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ static std::map <int, fpga_model> fpga_list = {
1414
{0x0a014c35, {"anlogic", "eagle s20", "EG4S20BG256"}},
1515

1616
{0x0362D093, {"xilinx", "artix a7 35t", "xc7a35"}},
17+
{0x0362c093, {"xilinx", "artix a7 50t", "xc7a50t"}},
1718
{0x13631093, {"xilinx", "artix a7 100t", "xc7a100"}},
1819
{0x13636093, {"xilinx", "artix a7 200t", "xc7a200"}},
1920

0 commit comments

Comments
 (0)