verilog homework
Each 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 …