Skip to content

Commit

Permalink
V0.9 - Fix for pr3499807.
Browse files Browse the repository at this point in the history
Output a "sorry" message to inform the user that tranif delays are
not supported.
  • Loading branch information
Martin Whitaker authored and caryr committed Mar 12, 2012
1 parent 0210d49 commit ca23191
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit ca23191

Please sign in to comment.