Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

<p>Using Case statement, design an 8 function ALU that takes 4bit inputs a and b

ID: 3628023 • Letter: #

Question

<p>Using Case statement, design an 8 function ALU that takes 4bit inputs a and b and also 3bit input signal select, and gives a 5bit output out. The ALU implements the following operations based on a 3bit input signal select. Ignore any overflow or underflow bits.</p>
<table border="1" cellspacing="0" cellpadding="0" width="639">
<tbody>
<tr>
<td width="320" valign="top">
<p>Select Signal</p>
</td>
<td width="320" valign="top">
<p>Function</p>
</td>
</tr>
<tr>
<td width="320" valign="top">
<p>3&#8217;b000</p>
</td>
<td width="320" valign="top">
<p>Out=a-</p>
</td>
</tr>
<tr>
<td width="320" valign="top">
<p>3&#8217;b001</p>
</td>
<td width="320" valign="top">
<p>Out=a+b</p>
</td>
</tr>
<tr>
<td width="320" valign="top">
<p>3&#8217;b010</p>
</td>
<td width="320" valign="top">
<p>Out=a-b</p>
</td>
</tr>
<tr>
<td width="320" valign="top">
<p>3&#8217;b011</p>
</td>
<td width="320" valign="top">
<p>Out=a/b</p>
</td>
</tr>
<tr>
<td width="320" valign="top">
<p>3&#8217;b100</p>
</td>
<td width="320" valign="top">
<p>Out=a%b(remainder)</p>
</td>
</tr>
<tr>
<td width="320" valign="top">
<p>3&#8217;b101</p>
</td>
<td width="320" valign="top">
<p>Out=a&lt;&lt;1</p>
</td>
</tr>
<tr>
<td width="320" valign="top">
<p>3&#8217;b110</p>
</td>
<td width="320" valign="top">
<p>Out=a&gt;&gt;1</p>
</td>
</tr>
<tr>
<td width="320" valign="top">
<p>3&#8217;b111</p>
</td>
<td width="320" valign="top">
<p>Out=(a&gt;b) (magnitude comparator)</p>
</td>
</tr>
</tbody>
</table>

Explanation / Answer

Get all your solution manuals here ! 4student.com@gmail.com

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote