From ca2319153fe64cf4a8b5c100396f3024c37bf274 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 9 Mar 2012 23:00:27 +0000 Subject: [PATCH] V0.9 - Fix for pr3499807. Output a "sorry" message to inform the user that tranif delays are not supported. --- elaborate.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/elaborate.cc b/elaborate.cc index 1d36a80c7..9c5512abf 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2011 Stephen Williams (steve@icarus.com) + * Copyright (c) 1998-2012 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 @@ -726,6 +726,10 @@ void PGBuiltin::elaborate(Design*des, NetScope*scope) const log->pin(0).drive0(drive_type(strength0())); log->pin(0).drive1(drive_type(strength1())); + } else if (rise_time || fall_time || decay_time) { + cerr << get_fileline() << ": sorry: bi-directional pass " + << "switch delays are not supported in V0.9." << endl; + des->errors += 1; } cur[idx]->set_line(*this);