From 7ddec5093f09640db0f502dfa341c25e4028563f Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 10 Jan 2023 17:04:06 +0100 Subject: sim: Improvements and fixes for yw cosim * Fixed $cover handling * Improved sparse memory handling when writing traces * JSON summary output --- kernel/yw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/yw.cc') diff --git a/kernel/yw.cc b/kernel/yw.cc index 4a6e37a13..73e7710db 100644 --- a/kernel/yw.cc +++ b/kernel/yw.cc @@ -161,7 +161,7 @@ ReadWitness::ReadWitness(const std::string &filename) : signal.offset = signal_json["offset"].int_value(); if (signal.offset < 0) log_error("Failed to parse `%s`: Invalid offset for signal `%s`\n", filename.c_str(), signal_json.dump().c_str()); - signal.init_only = json["init_only"].bool_value(); + signal.init_only = signal_json["init_only"].bool_value(); signals.push_back(signal); } -- cgit v1.2.3