Welcome to our community

Be a part of something great, join today!

Verilog Code


Active member
Sep 13, 2013
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:

Module test1(f,x,y,z);
         input x,y,z;
         output f;

         assign f = x&y | y&z | x&z;