add some comments to FPAddBase
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 6 Mar 2019 21:46:01 +0000 (21:46 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 6 Mar 2019 21:46:01 +0000 (21:46 +0000)
src/add/nmigen_add_experiment.py

index 2f5d9811f475e2f7f5178048a441c4b470c8cae0..fcedea6a344620457f26e64356b3eb2506249882 100644 (file)
@@ -1182,11 +1182,14 @@ class FPADD(FPID):
            |
         FPGetOp (b)
            |
-        FPAddBase---> GetOps->Specials->Align->Add1/2->Norm->Round/Pack->PutZ
-           |
-        PutZ
+        FPAddBase---> FPAddBaseMod
+           |            |
+        PutZ          GetOps->Specials->Align->Add1/2->Norm->Round/Pack->PutZ
 
         FPAddBase is tricky: it is both a stage and *has* stages.
+        Connection to FPAddBaseMod therefore requires an in stb/ack
+        and an out stb/ack.  Just as with Add1-Norm1 interaction, FPGetOp
+        needs to be the thing that raises the incoming stb.
     """
 
     def __init__(self, width, id_wid=None, single_cycle=False):