Question: Consider the function F ( W , x , Y , Z ) = ( 1 , 2 , 3 , 6 , 1 3
Consider the function where is the MSB and is the LSB
The don't care function Answer the following questions:
a Write the truth table of
b Using Kmap, find the most optimized version of in the SOP form. Hint: To find the SOP form, you need to consider the s in the Kmap.
c Write a Verilog code for the logic expression of found in part b using structural representation.
d Write and simulate the Verilog code in part c using Vivado. Take screenshots of your code, test bench code and your simulation results. Label the inputs and outputs clearly on the screenshots. Hint: you must use the first input combinations from the truth table in your testbench to verify your code.
e Using Kmap, find the most optimized version of F in the POS form. Hint: To find the POS form, you need to consider the s in the Kmap.
f Write a Verilog code for the logic expression of found in part e using the assign statement.
g Write and simulate the Verilog code in part f using Vivado. Take screenshots of your code, test bench code and your simulation results. Label the inputs and outputs clearly on the screenshots. Hint: you must use the first input combinations from the truth table in your testbench to verify your code.
h Do the simulation results in parts d and g match? Explain your answer.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
