Page 1 of 1

Q.1. Given that X is a 4-bit signed number represented using 2's complement representation. It is required to design a c

Posted: Mon May 09, 2022 7:55 am
by answerhappygod
Q 1 Given That X Is A 4 Bit Signed Number Represented Using 2 S Complement Representation It Is Required To Design A C 1
Q 1 Given That X Is A 4 Bit Signed Number Represented Using 2 S Complement Representation It Is Required To Design A C 1 (32.37 KiB) Viewed 29 times
Q.1. Given that X is a 4-bit signed number represented using 2's complement representation. It is required to design a combinational circuit to compute the equation Y=4X+5.
d) (7 points) Write a Verilog module for modeling your circuit by using an assign statement for each output equation. e) (5 points) Write a Verilog test bench to test the correctness of your circuit for the following input values: X=0, X=-1, X=7, and X=-8. Allow a period of 20 ps between two consecutive test cases. f) Repeat (d)&(e) using HA/FA modules.