|
13 | 13 |
|
14 | 14 | from migen import * |
15 | 15 |
|
16 | | -from litex_boards.platforms import arty |
| 16 | +from litex_boards.platforms import digilent_arty |
17 | 17 | from litex.build.xilinx.vivado import vivado_build_args, vivado_build_argdict |
18 | 18 |
|
19 | 19 | from litex.soc.cores.clock import * |
@@ -71,7 +71,7 @@ def __init__(self, variant="a7-35", toolchain="vivado", sys_clk_freq=int(100e6), |
71 | 71 | with_ethernet=False, with_etherbone=False, eth_ip="192.168.1.50", |
72 | 72 | eth_dynamic_ip=False, with_led_chaser=True, with_jtagbone=True, |
73 | 73 | with_spi_flash=False, with_pmod_gpio=False, **kwargs): |
74 | | - platform = arty.Platform(variant=variant, toolchain=toolchain) |
| 74 | + platform = digilent_arty.Platform(variant=variant, toolchain=toolchain) |
75 | 75 |
|
76 | 76 | # CRG -------------------------------------------------------------------------------------- |
77 | 77 | with_dram = (kwargs.get("integrated_main_ram_size", 0) == 0) |
@@ -120,7 +120,7 @@ def __init__(self, variant="a7-35", toolchain="vivado", sys_clk_freq=int(100e6), |
120 | 120 |
|
121 | 121 | # GPIOs ------------------------------------------------------------------------------------ |
122 | 122 | if with_pmod_gpio: |
123 | | - platform.add_extension(arty.raw_pmod_io("pmoda")) |
| 123 | + platform.add_extension(digilent_arty.raw_pmod_io("pmoda")) |
124 | 124 | self.submodules.gpio = GPIOTristate(platform.request("pmoda")) |
125 | 125 |
|
126 | 126 | # Build -------------------------------------------------------------------------------------------- |
@@ -168,9 +168,9 @@ def main(): |
168 | 168 | **soc_core_argdict(args) |
169 | 169 | ) |
170 | 170 | if args.sdcard_adapter == "numato": |
171 | | - soc.platform.add_extension(arty._numato_sdcard_pmod_io) |
| 171 | + soc.platform.add_extension(digilent_arty._numato_sdcard_pmod_io) |
172 | 172 | else: |
173 | | - soc.platform.add_extension(arty._sdcard_pmod_io) |
| 173 | + soc.platform.add_extension(digilent_arty._sdcard_pmod_io) |
174 | 174 | if args.with_spi_sdcard: |
175 | 175 | soc.add_spi_sdcard() |
176 | 176 | if args.with_sdcard: |
|
0 commit comments