From a0b9db8a88535ea875c67e1b975932b60007d5bd Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 17 Jul 1999 03:07:27 +0000 Subject: [PATCH] pevent objects have initial values. --- vvm/vvm_gates.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/vvm/vvm_gates.h b/vvm/vvm_gates.h index 82ad0f9e4..690edb8a2 100644 --- a/vvm/vvm_gates.h +++ b/vvm/vvm_gates.h @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: vvm_gates.h,v 1.11 1999/06/09 00:58:29 steve Exp $" +#ident "$Id: vvm_gates.h,v 1.12 1999/07/17 03:07:27 steve Exp $" #endif # include "vvm.h" @@ -438,6 +438,11 @@ template class vvm_pevent { value_[idx] = val; } + void init(int idx, vvm_bit_t val) + { assert(idx < WIDTH); + value_[idx] = val; + } + private: vvm_sync*target_; vvm_bitset_t value_; @@ -450,6 +455,9 @@ template class vvm_pevent { /* * $Log: vvm_gates.h,v $ + * Revision 1.12 1999/07/17 03:07:27 steve + * pevent objects have initial values. + * * Revision 1.11 1999/06/09 00:58:29 steve * Support for binary | (Stephen Tell) *