V0.9 - Fix for pr3499807.

Output a "sorry" message to inform the user that tranif delays are
not supported.
This commit is contained in:
Martin Whitaker 2012-03-09 23:00:27 +00:00 committed by Cary R
parent 0210d49cf8
commit ca2319153f
1 changed files with 5 additions and 1 deletions

View File

@ -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);