aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/versa_ecp5.py
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2019-08-04 09:35:14 +0000
committerwhitequark <whitequark@whitequark.org>2019-08-04 09:35:14 +0000
commit6fd7735f77b9a5d7171b3517293af745c6f04801 (patch)
tree2938e9845a683a682d0fe1794cf6bdac413858c3 /nmigen_boards/versa_ecp5.py
parent2cf8599c4a3ef4ae9efa9f1485e836f90ba6fb39 (diff)
Remove useless _blinky.build_and_program() function.
Diffstat (limited to 'nmigen_boards/versa_ecp5.py')
-rw-r--r--nmigen_boards/versa_ecp5.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nmigen_boards/versa_ecp5.py b/nmigen_boards/versa_ecp5.py
index 4462e4d..e20f8cc 100644
--- a/nmigen_boards/versa_ecp5.py
+++ b/nmigen_boards/versa_ecp5.py
@@ -180,5 +180,5 @@ class VersaECP5Platform(LatticeECP5Platform):
if __name__ == "__main__":
- from ._blinky import build_and_program
- build_and_program(VersaECP5Platform)
+ from ._blinky import Blinky
+ VersaECP5Platform().build(Blinky(), do_program=True)