diff options
-rw-r--r-- | tests/wasm_compile_simple_module/test.v | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/wasm_compile_simple_module/test.v b/tests/wasm_compile_simple_module/test.v index 49aa5be..686a7fc 100644 --- a/tests/wasm_compile_simple_module/test.v +++ b/tests/wasm_compile_simple_module/test.v @@ -184,6 +184,8 @@ module wasm_compile_test(); address += 1; end + address -= 4; + if (found_value !== expected_value) begin $display("error: expected h%x at h%x, but got h%x", expected_value, address, found_value); |