From 9deafbbd80378a38ca4278251af5133db5a7b715 Mon Sep 17 00:00:00 2001
From: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Date: Tue, 4 Apr 2023 09:47:19 +0200
Subject: [PATCH] Correct Delay documentation

---
 b_asic/special_operations.py | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/b_asic/special_operations.py b/b_asic/special_operations.py
index 3dfd7630..22bfa70b 100644
--- a/b_asic/special_operations.py
+++ b/b_asic/special_operations.py
@@ -21,7 +21,7 @@ class Input(AbstractOperation):
     """
     Input operation.
 
-    Marks an input port to an SFG.
+    Represents an input port to an SFG.
     Its value will be updated on each iteration when simulating the SFG.
     """
 
@@ -102,7 +102,7 @@ class Output(AbstractOperation):
     """
     Output operation.
 
-    Marks an output port to an SFG.
+    Represents an output port to an SFG.
     The SFG will forward its input to the corresponding output signal
     destinations.
     """
@@ -160,8 +160,17 @@ class Delay(AbstractOperation):
     """
     Unit delay operation.
 
-    Represents one unit of delay in a circuit, typically a clock cycle.
-    Can be thought of as a register or a D flip-flop.
+    Represents a delay of one iteration.
+    The initial value is zero unless otherwise specified.
+
+    Parameters
+    ----------
+    src0 : SignalSourceProvider, optional
+        The node to be delayed.
+    initial_value : Number, default: 0
+        Initial value of the delay.
+    name : Name, default ""
+        Name.
     """
 
     def __init__(
-- 
GitLab