pass zero-delay values immediately.

This commit is contained in:
steve 2000-07-08 22:39:32 +00:00
parent 9b59001cf9
commit 9c12fcffe4
1 changed files with 10 additions and 3 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if !defined(WINNT) && !defined(macintosh) #if !defined(WINNT) && !defined(macintosh)
#ident "$Id: vvm_gates.cc,v 1.16 2000/05/11 01:37:33 steve Exp $" #ident "$Id: vvm_gates.cc,v 1.17 2000/07/08 22:39:32 steve Exp $"
#endif #endif
# include "vvm_gates.h" # include "vvm_gates.h"
@ -77,8 +77,12 @@ void vvm_1bit_out::output(vpip_bit_t val)
else else
val = driveX_; val = driveX_;
vvm_event*ev = new vvm_out_event(val, this); if (delay_) {
ev -> schedule(delay_); vvm_event*ev = new vvm_out_event(val, this);
ev -> schedule(delay_);
} else {
set_value(val);
}
} }
@ -350,6 +354,9 @@ void vvm_not::take_value(unsigned, vpip_bit_t val)
/* /*
* $Log: vvm_gates.cc,v $ * $Log: vvm_gates.cc,v $
* Revision 1.17 2000/07/08 22:39:32 steve
* pass zero-delay values immediately.
*
* Revision 1.16 2000/05/11 01:37:33 steve * Revision 1.16 2000/05/11 01:37:33 steve
* Calculate the X output value from drive0 and drive1 * Calculate the X output value from drive0 and drive1
* *