diff options
Diffstat (limited to 'examples/aiger/demo.v')
-rw-r--r-- | examples/aiger/demo.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/aiger/demo.v b/examples/aiger/demo.v index bb54ba4ef..b98287424 100644 --- a/examples/aiger/demo.v +++ b/examples/aiger/demo.v @@ -4,7 +4,7 @@ module demo(input clk, reset, ctrl); initial counter[NBITS-2] = 0; initial counter[0] = 1; always @(posedge clk) begin - counter <= reset ? 0 : ctrl ? counter + 1 : counter - 1; + counter <= reset ? 1 : ctrl ? counter + 1 : counter - 1; assume(counter != 0); assume(counter != 1 << (NBITS-1)); assert(counter != (1 << NBITS)-1); |