Add constant expression attribute to test
authorEddie Hung <eddie@fpgeh.com>
Thu, 29 Aug 2019 16:10:20 +0000 (09:10 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 29 Aug 2019 16:10:20 +0000 (09:10 -0700)
tests/various/hierarchy_defer.ys

index 170bb8c5fb148eb2d1c9868082c16abd91e49185..0bf4de44e858be14897c13cba1a54d1e7387ce07 100644 (file)
@@ -7,6 +7,7 @@ module top(input i, output o);
 sub s0(i, o);
 endmodule
 
+(* constant_expression=1+1?2*2:3/3 *)
 module sub(input i, output o);
 assign o = ~i;
 endmodule