Skip to content

Commit

Permalink
boards/platform/arty: add Arty A7-100 variant
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Jun 2, 2019
1 parent 8e6ecfb commit 220e2bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions litex/boards/platforms/arty.py
Expand Up @@ -239,8 +239,12 @@ class Platform(XilinxPlatform):
default_clk_name = "clk100"
default_clk_period = 10.0

def __init__(self):
XilinxPlatform.__init__(self, "xc7a35ticsg324-1L", _io, _connectors, toolchain="vivado")
def __init__(self, variant="a7-35"):
device = {
"a7-35": "xc7a35ticsg324-1L",
"a7-100": "xc7a100tcsg324-1"
}[variant]
XilinxPlatform.__init__(self, device, _io, _connectors, toolchain="vivado")
self.toolchain.bitstream_commands = \
["set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 4 [current_design]"]
self.toolchain.additional_commands = \
Expand Down

0 comments on commit 220e2bd

Please sign in to comment.