from nmigen.build.plat import TemplatedPlatform
from nmigen import Elaboratable, Signal, Module, Instance
from collections import OrderedDict
from nmigen.build.plat import TemplatedPlatform
from nmigen import Elaboratable, Signal, Module, Instance
from collections import OrderedDict
# Was thinking of using these functions, but skipped for simplicity for now
# XXX nope. the output from JSON file.
# Was thinking of using these functions, but skipped for simplicity for now
# XXX nope. the output from JSON file.
# ridiculously-simple top-level module. doesn't even have a sync domain
# and can't have one until a clock has been established by DummyPlatform.
class Blinker(Elaboratable):
# ridiculously-simple top-level module. doesn't even have a sync domain
# and can't have one until a clock has been established by DummyPlatform.
class Blinker(Elaboratable):