tyvis update


Subject: tyvis update
From: Dhananjai Madhava Rao (dmadhava@ECECS.UC.EDU)
Date: Wed Apr 11 2001 - 07:07:48 MDT


Update of /home/paw/CVS/tyvis/VHDLKernel
In directory wiley.ececs.uc.edu:/tmp/cvs-serv3878

Modified Files:
        TypeConvert.cc TypeConvert.hh
Log Message:
Fixed a simulation time problem with handling type conversion functions. The
problem was that, the type conversion functions could get called from
different processes, with different contexts/enclosing scope. For instance,
the type conversion function (defined in the architecture) could get callled
from a block statement (nested somewhere within the architecture).

The scope information is necessary for the TCF to access some of the
type definitions whithin the architecture. When code-generating the TCF it is
assumed that the function will be called from within the scope in which it has
been defined. However, as suggested above, this may not be the case and the
simulations would seg.fault.

Fixed this problem by ensuring that the kernel passed in the correct scope
information to the TCF. The scope information is specified when the ports
(involving type conversions) are associated with the formal and actual signals
at the time of simulation.



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