From a0ef6c4b627381b1275d3d3373aa7dfbb7a0d6fb Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Wed, 11 Sep 2019 22:14:03 +0100 Subject: [PATCH] Fix design dump to correctly report cast operations. --- design_dump.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/design_dump.cc b/design_dump.cc index b5f52cfad..9f06d5643 100644 --- a/design_dump.cc +++ b/design_dump.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2017 Stephen Williams (steve@icarus.com) + * Copyright (c) 1998-2019 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 @@ -1711,7 +1711,7 @@ void NetECast::dump(ostream&fd) const { if (op_=='2') fd << "bool<" << expr_width() << ">(" << *expr_ << ")"; - else if (op_=='4') + else if (op_=='v') fd << "logic<" << expr_width() << ">(" << *expr_ << ")"; else NetEUnary::dump(fd);