aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/blackice.py
diff options
context:
space:
mode:
Diffstat (limited to 'nmigen_boards/blackice.py')
-rw-r--r--nmigen_boards/blackice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nmigen_boards/blackice.py b/nmigen_boards/blackice.py
index 2ec16a1..aa84d5e 100644
--- a/nmigen_boards/blackice.py
+++ b/nmigen_boards/blackice.py
@@ -73,5 +73,5 @@ class BlackIcePlatform(LatticeICE40Platform):
if __name__ == "__main__":
- from ._blinky import build_and_program
- build_and_program(BlackIcePlatform)
+ from ._blinky import Blinky
+ BlackIcePlatform().build(Blinky(), do_program=True)