From: Eddie Hung Date: Thu, 29 Aug 2019 16:10:20 +0000 (-0700) Subject: Add constant expression attribute to test X-Git-Tag: working-ls180~1078^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67587bad7fb1adf14ca9598bb1a01d0ffda6a018;p=yosys.git Add constant expression attribute to test --- diff --git a/tests/various/hierarchy_defer.ys b/tests/various/hierarchy_defer.ys index 170bb8c5f..0bf4de44e 100644 --- a/tests/various/hierarchy_defer.ys +++ b/tests/various/hierarchy_defer.ys @@ -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