yosys/techlibs/ice40/tests/test_arith.v
2015-04-18 09:33:34 +02:00

3 lines
115 B
Verilog

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