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.
Q.1. Given that X is a 4-bit signed number represented using 2's complement representation. It is required to design a c
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Q.1. Given that X is a 4-bit signed number represented using 2's complement representation. It is required to design a c
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!