<pre class="emlist" translate="no">module Adder (
    x  : input  logic&lt;32&gt;,
    y  : input  logic&lt;32&gt;,
    sum: output logic&lt;32&gt;,
) {
    always_comb {
        sum = x + y;
    }
}
</pre>
</div>
<p><span style="font-size:large"><code class="inline-code" translate="no" >x</code>と<code class="inline-code" translate="no" >y</code>を受け取って、<code class="inline-code" translate="no" >sum</code>に<code class="inline-code" translate="no" >x + y</code>を割り当てるだけ....簡�