yosys/techlibs/ice40/tests/test_arith.v

4 lines
115 B
Coq
Raw Normal View History

2015-04-18 02:33:34 -05:00
module test(input [4:0] a, b, c, output [4:0] y);
assign y = ((a+b) ^ (a-c)) - ((a*b) + (a*c) - (b*c));
endmodule