(Solved):
You are asked to design the ALU circuit, which is shown in Figure 2. Figure 2. An 8-bit ALU circui ...
You are asked to design the ALU circuit, which is shown in Figure 2. Figure 2. An 8-bit ALU circuit. Design rules: 1. In your ALL entity declarations, all input and output signals should be defined as STD_LOGIC or STD_LOGIC_VECTOR. 2. You are ONLY \( \overline{\text { allowed to use ieee.std_logic_1164 and ieee.numeric_std }} \) libraries. a) Write an entity named alu_arithm with respect to the Arithmetic Unit in Figure 2. b) Write an architecture for the entity top_alu in which you are expected to declare alu_logic and alu_arithm as your components, instantiate them, and complete the description of ALU based on these components.