From b3e151ec5e73264e2a5cf95a19561ac6554106a8 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 20 Mar 2019 12:48:02 +0000 Subject: [PATCH] use ospec to make clone of out_z --- src/add/nmigen_add_experiment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index aa046b91..e9929d5c 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -391,7 +391,7 @@ class FPAddSpecialCases(FPState, FPID): FPState.__init__(self, "special_cases") FPID.__init__(self, id_wid) self.mod = FPAddSpecialCasesMod(width) - self.out_z = FPNumOut(width, False) + self.out_z = self.mod.ospec() self.out_do_z = Signal(reset_less=True) def setup(self, m, in_a, in_b, in_mid): -- 2.30.2