From: Stephen W. <st...@ic...> - 2019-11-20 23:31:56
|
I think that you already have what you need. cbAtStartOfSimTime is already implemented, and cbReadOnlySync can then be scheduled to be called at the end of the simulation time. On Wed, Nov 20, 2019 at 12:00 AM fuyong <fuy...@gm...> wrote: > > Hi, > > At first, I think cbAtEndOfSimTime and cbAtBeginOfSimTime could be used similarly, as the data at the end of one Sim Time is the beginning of the next Sim Time. We have a project , to partition a big design into several pieces. Each piece will run in one simulator. VPI put/get_value are used to communicate in between the several iverilog processes. So the question is, if we use AtStartofSimTime, the data passed from partition #1 to partition #2 will be the data of the previous simulation time slot, then the waveform will show like one cycle delayed. to pass data use AtEndOfSimTime will not have this issue in commercial simulator. > > Any plan to implement AtStarOfSimTime? > > > _______________________________________________ > Iverilog-devel mailing list > Ive...@li... > https://lists.sourceforge.net/lists/listinfo/iverilog-devel -- Steve Williams "The woods are lovely, dark and deep. st...@ic... But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." |