Skip to content

Commit

Permalink
arty_a7: support both the 35T and 100T SKUs
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanvanSchaik authored and whitequark committed May 30, 2021
1 parent 6bbd2dd commit e8611d4
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions nmigen_boards/arty_a7.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
from .resources import *


__all__ = ["ArtyA7Platform"]
__all__ = ["ArtyA7_35Platform", "ArtyA7_100Platform"]


class ArtyA7Platform(Xilinx7SeriesPlatform):
device = "xc7a35ti"
class _ArtyA7Platform(Xilinx7SeriesPlatform):
package = "csg324"
speed = "1L"
default_clk = "clk100"
Expand Down Expand Up @@ -218,6 +217,14 @@ def toolchain_program(self, products, name):
subprocess.run([xc3sprog, "-c", "nexys4", bitstream_filename], check=True)


class ArtyA7_35Platform(_ArtyA7Platform):
device = "xc7a35ti"


class ArtyA7_100Platform(_ArtyA7Platform):
device = "xc7a100ti"


if __name__ == "__main__":
from .test.blinky import *
ArtyA7Platform().build(Blinky(), do_program=True)
ArtyA7_35Platform().build(Blinky(), do_program=True)

0 comments on commit e8611d4

Please sign in to comment.