- #1
shamieh
- 539
- 0
Figured this would be the safest place to post a question about Verilog Code seeing as how the people answering all my questions have obviously took this class. If there is another place I should post it then please inform me.
Just need someone to check my work.
Question: Write the verilog module test that implements the following function: f(x,y,z,)- X*Y+Y*Z+X*Z
My Answer:
Just need someone to check my work.
Question: Write the verilog module test that implements the following function: f(x,y,z,)- X*Y+Y*Z+X*Z
My Answer:
Code:
Module test1(f,x,y,z);
input x,y,z;
output f;
assign f = x&y | y&z | x&z;
endmodule