aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opt/opt_expr_cmp.v
blob: 7eb65d5316e9a1270913dd808505cbab05782bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
module top(...);
  input [3:0] a;
  output o1 = 4'b0000 >  a;
  output o2 = 4'b0000 <= a;
  output o3 = 4'b1111 <  a;
  output o4 = 4'b1111 >= a;
  output o5 = a <  4'b0000;
  output o6 = a >= 4'b0000;
  output o7 = a >  4'b1111;
  output o8 = a <= 4'b1111;
endmodule