aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40/tests/test_arith.v
blob: 77f79b973d75d96f55fb67cfe102ba4dc9b515db (plain)
1
2
3
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