aboutsummaryrefslogtreecommitdiffstats
path: root/manual/APPNOTE_011_Design_Investigation/primetest.v
blob: 6cb766b73376ffda67acd76002571834a80e2567 (plain)
1
2
3
4
module primetest(p, a, b, ok);
input [15:0] p, a, b;
output ok = p != a*b || a == 1 || b == 1;
endmodule