Describe a basic encryption algorithm and how it works.
April 28, 2020Discuss the criteria or decisions that the company had to make with regard to whether or not to outsource, insource, or backsource.
April 28, 2020Question Description
n
nnEach bit in a 4 digit number is represented by the variables A,B,C,D where A is the most significant bit. I wish to have a function F that equals 1 when the 4 bit number is evenly divisible by either 2 or 3 and equals 0 if it is not. For example 1010 is evenly divisible by 2 so F=1, 0011 is evenly divisible by 3 so F=1, and 1101 is not evenly divisible by 2 or 3 so F=0.n
- n
- Use a Karnaugh map to find a logic equation for F.
- Write the Verilog program to implement F.
- Write the test bench program to test that your program is correct for all input combinations. Use edaplayground.com (Links to an external site.) for the simulation. Use Icarus Verilog 0.9.7 as the tool.
n
n
n
nSubmit:n
- n
- The Verilog source for the F module and test bench.
- A screen capture of the test-bench results.
n
n
n