From: Luke Kenneth Casson Leighton Date: Wed, 20 Mar 2019 14:17:19 +0000 (+0000) Subject: use ospec in FPRound X-Git-Tag: ls180-24jan2020~1596 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d33a15d294be2f36a02d8b0729b30fc1c79904d;p=ieee754fpu.git use ospec in FPRound --- diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 8331540a..7b3f6c09 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -1319,7 +1319,7 @@ class FPRound(FPState, FPID): FPState.__init__(self, "round") FPID.__init__(self, id_wid) self.mod = FPRoundMod(width) - self.out_z = FPNumBase(width) + self.out_z = self.mod.ospec() def setup(self, m, in_z, roundz, in_mid): """ links module to inputs and outputs