Skip to content

Commit

Permalink
Deploying to docs from @ 858daad 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorbel1 committed Sep 6, 2023
1 parent 8456fc1 commit e7c4259
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions rohd/Case/execute.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,7 @@ <h2><span>Implementation</span></h2>

if (!expression.value.isValid) {
&#47;&#47; if expression has X or Z, then propogate X&#39;s!
for (final receiver in receivers) {
receiverOutput(receiver).put(LogicValue.x);
if (!drivenSignals.contains(receiver) || receiver.value.isValid) {
drivenSignals.add(receiver);
}
}
_driveX(drivenSignals);
return;
}

Expand All @@ -123,9 +118,8 @@ <h2><span>Implementation</span></h2>
conditional.execute(drivenSignals, guard);
}
if (foundMatch != null &amp;&amp; conditionalType == ConditionalType.unique) {
throw Exception(&#39;Unique case statement had multiple matching cases.&#39;
&#39; Original: &quot;$foundMatch&quot;.&#39;
&#39; Duplicate: &quot;$item&quot;.&#39;);
_driveX(drivenSignals);
return;
}

foundMatch = item;
Expand All @@ -144,8 +138,8 @@ <h2><span>Implementation</span></h2>
} else if (foundMatch == null &amp;&amp;
(conditionalType == ConditionalType.unique ||
conditionalType == ConditionalType.priority)) {
throw Exception(&#39;$conditionalType case statement had no matching case,&#39;
&#39; and type was $conditionalType.&#39;);
_driveX(drivenSignals);
return;
}
}</code></pre>
</section>
Expand Down

0 comments on commit e7c4259

Please sign in to comment.