add a couple of example names to one of the pipeline stages
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 20 Mar 2019 10:55:23 +0000 (10:55 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 20 Mar 2019 10:55:23 +0000 (10:55 +0000)
src/add/example_buf_pipe.py

index c399570a1aae7d6e19e27bd701cfff2e43906278..a91b50842393ac38d7d02400eff258541e0f633a 100644 (file)
@@ -322,10 +322,10 @@ class ExampleStage:
     """
 
     def ispec():
-        return Signal(16)
+        return Signal(16, name="example_input_signal")
 
     def ospec():
-        return Signal(16)
+        return Signal(16, name="example_output_signal")
 
     def process(i):
         """ process the input data and returns it (adds 1)