Write the Verilog code for a 12-bit shift register with ability
to shift left or right, synchronized parallel load, asynchronous
reset, and serial output? The register is able to load the 12-bit
input value (at the positive edge of the clock) if the load signal
is one, shift the value in register one bit to the right (at the
positive edge of the clock) if the rss signal is one, shift the
value in register one bit to the left(at...
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
1. Write Verilog code and test bench for Moore FSM having a
single input line ‘X’ and a single output-line ’Z’. An output of 1
is to be produced coincident with the pattern 1101 and an output of
‘ 0’ is to be produced for all the other sequences and simulate
it.