Write the VERILOG code for an arithmetic/logic unit (ALU) with a
test bench that does the following with 4 bit inputs , and can be
tested in on nexys 4 board
This is to be implement on : ISE Design Suite - Xilinx
/* ALU Arithmetic and Logic Operations
----------------------------------------------------------------------
|ALU_Sel| ALU Operation
----------------------------------------------------------------------
| 0000 | ALU_Out = A + B;
----------------------------------------------------------------------
| 0001 | ALU_Out = A - B;
----------------------------------------------------------------------
| 0010 | ALU_Out = A * B;...
Write the Verilog code and test bench for the following
circuits:
- Mealy State machine design for a Serial Adder Circuit
- Moore State Machine design for a Serial Adder Circuit