From: Cesar Strauss Date: Mon, 6 Jul 2020 10:56:51 +0000 (-0300) Subject: Remove wait state to demonstrate zero-delay reception. X-Git-Tag: div_pipeline~162^2~39 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be3087bb8fee44362440f44f48535a31ab06511c;p=soc.git Remove wait state to demonstrate zero-delay reception. --- 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