aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/ice40_hx8k_b_evn.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/ice40_hx8k_b_evn.py
parent2cf8599c4a3ef4ae9efa9f1485e836f90ba6fb39 (diff)
Remove useless _blinky.build_and_program() function.
Diffstat (limited to 'nmigen_boards/ice40_hx8k_b_evn.py')
-rw-r--r--nmigen_boards/ice40_hx8k_b_evn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nmigen_boards/ice40_hx8k_b_evn.py b/nmigen_boards/ice40_hx8k_b_evn.py
index 39b478d..31fd013 100644
--- a/nmigen_boards/ice40_hx8k_b_evn.py
+++ b/nmigen_boards/ice40_hx8k_b_evn.py
@@ -67,5 +67,5 @@ class ICE40HX8KBEVNPlatform(LatticeICE40Platform):
if __name__ == "__main__":
- from ._blinky import build_and_program
- build_and_program(ICE40HX8KBEVNPlatform)
+ from ._blinky import Blinky
+ ICE40HX8KBEVNPlatform().build(Blinky(), do_program=True)