Design the ALU of the TinyMicro. The ALU has two operands, a and b, and one result c. The operation of the ALU is determined by the 2-bit control signals Op as follows:
Design a parametrized N-bit ALU with a default value of N=8.
Specification
module ALU(a, b, Op, c); parameter N=8; input [N-1:0] a, b; input [1:0] Op; output [N-1:0] c;
Input
Output