OpenFPGA/yosys/manual/APPNOTE_011_Design_Investig.../primetest.v

5 lines
105 B
Coq
Raw Normal View History

module primetest(p, a, b, ok);
input [15:0] p, a, b;
output ok = p != a*b || a == 1 || b == 1;
endmodule