[SOLVED] CS39001 Assignment 6

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment-6-qgohbn.zip (200.9 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)

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:

module barrel shifter (input [7:0] in, input [2:0] shamt, input dir, output [7:0] out), where dir = 1 for left shifts and dir = 0 for right shifts. An example architecture that can only perform unidirectional shifts has been shown in Fig. 1. (10 marks)

Figure 1: An 8-bit unidirectional barrel shifter circuit.

CS39001

– 2 – CS39001

2. [Bit-serial Adder] Design (using Verilog), simulate (using an appropriate Verilog testbench), and imple- ment (on a FPGA platform supported by your CAD software tool), a Bit-serial Adder circuit. The input-side shift-registers used in the datpath of your bit-serial adder should have “parallel load” capabilities, such that the 8-bit operands can be loaded in each of them in one clock cycle. Come up with a proper interface of your design, which includes all input control signals and a clock signal. Suggestion: you can adopt synchronous control signals in your design, to minimize the hardware footprint. (10 marks)

3. [Sequential Signed Binary Multiplier (Booth Multiplier)] Design (using Verilog), simulate (using an appropriate Verilog testbench), and implement (on a FPGA platform supported by your CAD software tool), a circuit for multiplication of two 8-bit two’s complement integers, using the Booth Multiplication Algorithm. The input-side operand registers used in the datpath of your multiplier should have “parallel load” capabilities such that the 8-bit operands can be loaded in each of them in one clock cycle. Come up with a proper interface for your design. Suggestion: you can adopt synchronous control signals in your design, to minimize the hardware footprint. (20 marks)

  • Assignment-6-qgohbn.zip