Experiment No.: 10
Experiment No.: 10
EXPERIMENT NO. : 10
Design 4-bit Left Barrel Shifter using VHDL and Verify them by using
AIM: XILINX Simulator.
The Objective of this experiment is to design VHDL code for 4-bit left barrel
shifter in Xilinx 14.1 ISE Design suite tool, and to test the circuit using test
OBJECTIVE:
bench where outputs are observed for different inputs.
CIRCUIT
DIAGRAM &
TRUTH
TABLE:
S1 S0 Y3 Y2 Y1 Y0
0 0 I3 I2 I1 I0
0 1 I2 I1 I0 I3
1 0 I1 I0 I3 I0
1 1 I0 I3 I2 I1
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
ENTITY MUX_4 IS
Z: OUT STD_LOGIC);
END MUX_4;
BEGIN
PROCESS (S,A,B,C,D)
BEGIN
CASE S IS
END CASE;
END PROCESS;
END behavioral;
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
ENTITY BARREL IS
END BARREL;
COMPONENT MUX_4
Z: OUT STD_LOGIC);
END COMPONENT;
BEGIN
END Behavioral;
ENTITY TEST IS
END TEST;
COMPONENT BARREL
END COMPONENT;
BEGIN
stim_proc: PROCESS
BEGIN
I<="1001";
END PROCESS;
END;
SIMULATION
RESULTS:
RESULT/ Thus we have successfully design 4-bit left barrel shifter using XILINX tools
CONCLUSION: and verified the simulation result.
ROLL NO.: 17
NAME &
NAME: SAMRUDHI CHARDE MARKS SIGNATURE
OUT OF 15 OF
TEACHER Prof. Pradnya
SEM/ BRANCH: VII/ETC-A
Maturkar