summaryrefslogtreecommitdiff
path: root/tests/hana/test_simulation_always_17_test.v
blob: 2d5abc4a632094dd1a2beeaa03ea88bd63b5dcdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module test(a, b, c, d, z);
input a, b, c, d;
output z;
reg z, temp1, temp2;

always @(a or b or c or d)
begin
    temp1 = a ^ b;
	temp2 = c ^ d;
	z = temp1 ^ temp2;
end	

endmodule