A
Amartya Saikia
Guest
1.Design the required circuit(s) for the following
Input: two 4-bit numbers
a.) If a code â01â is selected two numbers will be added.
b.) If a code â10â is selected XOR operation will be performed on the two numbers.
c.) If a code â11â is selected both the numbers become zero.. (0000, 0000)
2. Write the required Verilog code to implement the above.
I am a Chemical Major and was given to solve this, I have no prior experience and due to unjust rules, I have to submit it within a few days. Can you help me solve it?
Input: two 4-bit numbers
a.) If a code â01â is selected two numbers will be added.
b.) If a code â10â is selected XOR operation will be performed on the two numbers.
c.) If a code â11â is selected both the numbers become zero.. (0000, 0000)
2. Write the required Verilog code to implement the above.
I am a Chemical Major and was given to solve this, I have no prior experience and due to unjust rules, I have to submit it within a few days. Can you help me solve it?