Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: amaranth-lang/amaranth-boards
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6bbd2dd89f78
Choose a base ref
...
head repository: amaranth-lang/amaranth-boards
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e8611d433df8
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on May 30, 2021

  1. Copy the full SHA
    e8611d4 View commit details
Showing with 11 additions and 4 deletions.
  1. +11 −4 nmigen_boards/arty_a7.py
15 changes: 11 additions & 4 deletions nmigen_boards/arty_a7.py
Original file line number Diff line number Diff line change
@@ -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"
@@ -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)