$24.99
Indian Institute of Technology Kharagpur
Computer Organization Laboratory
Assignment-6: Verilog Design and Implementation of Useful Arithmetic Circuits
Time allowed: 6 hours
INSTRUCTIONS: Make one submission per group in the form of a single zipped folder containing your Verilog source code files(s) and Verilog testbench(es). Name your submitted zipped folder as Assgn 6 Grp <Group no>.zip and (e.g. Assgn 6 Grp 25.zip). Inside each submitted source and testbench files, there should be a clear header describing the assignment no., problem no., semester, group no., and names of group members. Liberally comment your code to improve its comprehensibility.
1. [Bidirectional Barrel Shifter] Design (using Verilog), simulate (using an appropriate Verilog testbench) and implement an 8-bit Bidirectional Barrel Shifter circuit, which can perform logical shift by a specified amount shamt, either in right or in left direction depending on a control signal dir. The design should consist only of 2:1 multiplexors. The interface of your circuit should be the following:
Figure 1: An 8-bit unidirectional barrel shifter circuit.
– 2 – CS39001