Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arty_a7: support both the 35T and 100T SKUs #157

Merged
merged 1 commit into from
May 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 11 additions & 4 deletions nmigen_boards/arty_a7.py
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)