From: Luke Kenneth Casson Leighton Date: Wed, 20 Mar 2019 12:48:02 +0000 (+0000) Subject: use ospec to make clone of out_z X-Git-Tag: ls180-24jan2020~1616 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3e151ec5e73264e2a5cf95a19561ac6554106a8;p=ieee754fpu.git use ospec to make clone of out_z --- 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):