From f462785ee0894432e1e1d07793aba73b5ec20134 Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Mon, 21 Sep 2020 13:42:41 +0200 Subject: fix memory verification in wasm_compile tests --- tests/wasm_compile_simple_module/test.v | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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); -- cgit v1.2.3