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

5 lines
105 B
Verilog
Raw Normal View History

2013-12-07 08:11:50 -06:00
module primetest(p, a, b, ok);
input [15:0] p, a, b;
output ok = p != a*b || a == 1 || b == 1;
endmodule