BY: Suraj Kurapati (snk) DATE: 2007-08-02 05:42 SUBJECT: RE: Having trouble dumping a vcd file
Suraj Kurapati wrote: > Calvin Wong wrote: >> I also modify the advance_time method in the vpi.rb file to get >> the current time (using vpi_get_time routine) and then add the >> aNumSteps to it to produce a monotonically increasing time steps. > > This is not necessary because the cbReadWriteSynch callback is relative to the > current simulation time. Hmm, it seems that VCS and GPL Cver differ in their treatment of the cbReadWriteSynch callback. Use the cbAfterDelay callback instead, and VCS will correctly acknowledge the passage of time: alarm.reason = CbAfterDelay