From 2b07cf40c9d3de3b48e10d07b04615307bdf332c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 16 Feb 2019 12:13:06 +0000 Subject: [PATCH] correct comments --- src/add/nmigen_div_experiment.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"): -- 2.30.2