From 371e425d389be7ba27a2a8d11e16f306ff50168b Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 15 Aug 2020 15:31:36 +0200 Subject: [PATCH] fixup! Initialize a memory, change pmod builder signature --- fpga/icebreaker.dg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fpga/icebreaker.dg b/fpga/icebreaker.dg index cd72cef..cf3ce5a 100644 --- a/fpga/icebreaker.dg +++ b/fpga/icebreaker.dg @@ -1,5 +1,6 @@ import "/nmigen_boards.icebreaker/ICEBreakerPlatform" import "/nmigen_dg/*" +import "/sys" import "modules/blinker/Blinker" import "modules/pulser/Pulser" import "modules/segment7/Segment7x2" @@ -67,10 +68,10 @@ Top = subclass Elaboratable where Sync$ state :== ~state -on_rising_edge = signal -> +on_rising_edge = signal -> result where prev = Signal (signal.shape!) Sync$ prev :== signal - ~ signal.implies prev + result = ~ signal.implies prev if __name__ == "__main__" =>