Remove explicit domain instantiation from blinky.
authorwhitequark <whitequark@whitequark.org>
Sat, 3 Aug 2019 18:42:37 +0000 (18:42 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 3 Aug 2019 18:42:37 +0000 (18:42 +0000)
nmigen_boards/_blinky.py

index c04b95ff4e605b3bc526e2be89dad876c9663d22..87ea57bcfa1025dbe24386ff467643f99caf457f 100644 (file)
@@ -8,10 +8,6 @@ class Blinky(Elaboratable):
     def elaborate(self, platform):
         m = Module()
 
-        clk = platform.request(platform.default_clk)
-        m.domains.sync = ClockDomain()
-        m.d.comb += ClockSignal().eq(clk.i)
-
         leds = []
         for n in itertools.count():
             try: