use elaborate not get_fragment
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 20 Apr 2019 09:05:27 +0000 (10:05 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 20 Apr 2019 09:05:27 +0000 (10:05 +0100)
src/add/fpadd/statemachine.py

index 1e45cedde540015463c1727e3b507046a8aa179a..01847074c2d1a3d05bf5cb2b3133f38e9cb9ebd6 100644 (file)
@@ -72,7 +72,7 @@ class FPADDBaseMod:
         self.states.append(state)
         return state
 
-    def get_fragment(self, platform=None):
+    def elaborate(self, platform=None):
         """ creates the HDL code-fragment for FPAdd
         """
         m = Module()