From: Luke Kenneth Casson Leighton Date: Sat, 16 Feb 2019 12:13:06 +0000 (+0000) Subject: correct comments X-Git-Tag: ls180-24jan2020~1941 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b07cf40c9d3de3b48e10d07b04615307bdf332c;p=ieee754fpu.git correct comments --- diff --git a/src/add/nmigen_div_experiment.py b/src/add/nmigen_div_experiment.py index ddd9f671..12fa4689 100644 --- a/src/add/nmigen_div_experiment.py +++ b/src/add/nmigen_div_experiment.py @@ -1,4 +1,4 @@ -# IEEE Floating Point Adder (Single Precision) +# IEEE Floating Point Divider (Single Precision) # Copyright (C) Jonathan P Dawson 2013 # 2013-12-12 @@ -37,7 +37,7 @@ class FPDIV(FPBase): self.out_z = FPOp(width) def get_fragment(self, platform=None): - """ creates the HDL code-fragment for FPAdd + """ creates the HDL code-fragment for FPDiv """ m = Module() @@ -66,7 +66,7 @@ class FPDIV(FPBase): # ****** # special cases: NaNs, infs, zeros, denormalised - # NOTE: some of these are unique to add. see "Special Operations" + # NOTE: some of these are unique to div. see "Special Operations" # https://steve.hollasch.net/cgindex/coding/ieeefloat.html with m.State("special_cases"):