From ce7a6fa0da0b4f46406c2a0f491b97fe14ac4cc5 Mon Sep 17 00:00:00 2001 From: Cary R Date: Fri, 14 Jan 2011 10:34:41 -0800 Subject: [PATCH] Add uwire to the multiple driver error message. The original message talks about an unresolved net which may be something different/more encompassing. This patch explicitly adds uwire to the message to make it clear to the user that a uwire could cause this message. --- elab_net.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elab_net.cc b/elab_net.cc index 8442de6e7..452ef8e6a 100644 --- a/elab_net.cc +++ b/elab_net.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999-2010 Stephen Williams (steve@icarus.com) + * Copyright (c) 1999-2011 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 @@ -424,8 +424,8 @@ NetNet* PEIdent::elaborate_lnet_common_(Design*des, NetScope*scope, } if (sig->type() == NetNet::UNRESOLVED_WIRE && sig->pin(0).is_linked()) { - cerr << get_fileline() << ": error: Unresolved net " << sig->name() - << " cannot have multiple drivers." << endl; + cerr << get_fileline() << ": error: Unresolved net/uwire " + << sig->name() << " cannot have multiple drivers." << endl; des->errors += 1; return 0; }