initialise unused PipelineSpec params to None
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 28 Jul 2019 12:25:42 +0000 (13:25 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 28 Jul 2019 12:25:42 +0000 (13:25 +0100)
src/ieee754/pipeline.py

index f914e978b34e9f1e273ffd5559d287137946e8b2..c547f36ff4cc18cb811762f9c270143c691f2b21 100644 (file)
@@ -25,3 +25,6 @@ class PipelineSpec:
         self.id_wid = id_width
         self.op_wid = op_wid
         self.opkls = opkls
+        self.core_config = None
+        self.fpformat = None
+        self.n_comb_stages = None