tyvis update


Subject: tyvis update
From: Dhananjai Madhava Rao (dmadhava@ECECS.UC.EDU)
Date: Fri Aug 31 2001 - 05:44:19 MDT


Update of /home/paw/CVS/tyvis/VHDLKernel
In directory bc.ececs.uc.edu:/home/dmadhava/research/tyvis/VHDLKernel

Modified Files:
        SharedFileType.hh SignalBase.cc VHDLKernel.cc
        VHDLKernel_state.cc
Log Message:
Fixed a few serious memory errors and inconsistent typecasts that purify indicated.

SharedFileState.hh:
   Initialized pointer to wait list to NULL. Without this initialization the
destructor would attempt to delete the pointer resulting in seg. faults.

SignalBase.cc:
   Added to code initialized the counter that keeps track of unique signal
transaction ids for the marking processes to work.

VHDLKernel.cc:
   Added checks to ensure that type casting of events from the parent class to
the child classes was correctly done. Without this check, some of the derived
classes used to get incorrectly typecasted leading to spurious behaviors during
simulation.

VHDLKernel_state.cc:
   Added checks to ensure NULL pointers don't get deleted.



This archive was generated by hypermail 2b25 : Mon Mar 18 2002 - 13:00:12 MST