From be3087bb8fee44362440f44f48535a31ab06511c Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Mon, 6 Jul 2020 07:56:51 -0300 Subject: [PATCH] Remove wait state to demonstrate zero-delay reception. --- src/soc/experiment/alu_hier.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/soc/experiment/alu_hier.py b/src/soc/experiment/alu_hier.py index d18f195a..fd5add20 100644 --- a/src/soc/experiment/alu_hier.py +++ b/src/soc/experiment/alu_hier.py @@ -544,9 +544,10 @@ def test_alu_parallel(): # (-5) + 3 = -2 result = yield from receive() assert (result == 65533) # unsigned equivalent to -2 - yield # 5 - 3 = 2 # note that this is a zero-delay operation + # this, and the previous result, will be received back-to-back + # (check the output waveform to see this) result = yield from receive() assert (result == 2) yield -- 2.30.2