rename BufPipe example to ExampleBufPipe
[ieee754fpu.git] / src / add / example_buf_pipe.py
index 40224b473014aa1741519f9151c2bf6507122e7d..00eecc3ecd37db7b603c1dd4f50ce84e1b98ca52 100644 (file)
@@ -70,7 +70,7 @@ class ExampleStage:
     def __init__(self):
         """ i_data can be a DIFFERENT type from everything else
             o_data, r_data and result are best of the same type.
-            however this is not strictly the case.  an intermediate
+            however this is not strictly necessary.  an intermediate
             transformation process could hypothetically be applied, however
             it is result and r_data that definitively need to be of the same
             (intermediary) type, as it is both result and r_data that
@@ -93,7 +93,9 @@ class ExampleStage:
         return self.result.eq(self.i_data + 1)
 
     def update_buffer(self):
-        """ copies the result into the intermediate register r_data
+        """ copies the result into the intermediate register r_data,
+            which will need to be outputted on a subsequent cycle
+            prior to allowing "normal" operation.
         """
         return self.r_data.eq(self.result)
 
@@ -201,7 +203,7 @@ class BufferedPipeline:
                ]
 
 
-class BufPipe(BufferedPipeline):
+class ExampleBufPipe(BufferedPipeline):
 
     def __init__(self):
         BufferedPipeline.__init__(self)