From fcb64232def22d45e61b155beb1591d15e664abb Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 19 Mar 2022 12:17:44 +0000 Subject: [PATCH] Report correct net name in synthesis "sorry" message (issue #649). (cherry picked from commit b7f948193ab3a3beae00a0c8210997d059643f07) --- synth2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synth2.cc b/synth2.cc index fa79a6eac..7a5d7aaf2 100644 --- a/synth2.cc +++ b/synth2.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2020 Stephen Williams (steve@icarus.com) + * Copyright (c) 2002-2022 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -1847,7 +1847,7 @@ bool NetCondit::synth_sync(Design*des, NetScope*scope, if (!all_bits_driven(tmp_masks[pin])) { cerr << get_fileline() << ": sorry: Not all bits of '" - << nex_map[idx].lnk.nexus()->pick_any_net()->name() + << nex_map[pin].lnk.nexus()->pick_any_net()->name() << "' are asynchronously set or reset. This is " << "not currently supported in synthesis." << endl; des->errors += 1;