Re: [Gtkwave-users] Negative timestamps support
Brought to you by:
gtkwave,
joel1234567
|
From: Rida S. <rid...@gm...> - 2020-05-18 16:24:19
|
Hi Tony, Thanks for your help. I tested this on a sample VCD file and it seems working now. I will test it with larger VCD files and update you. On Mon, May 18, 2020 at 6:39 PM <by...@nc...> wrote: > You can't have any negative values in your VCD file. > > If for example, -1000 is your minimum time value, then put that in the > $timezero directive and the rest of the values start at zero and go up > monotonically. > > That is, you dump (actual value - $timezero_value) > > See if that works for you. > > -Tony > > ----------------------------------------- > From: "Rida Shamasneh" > To: gtk...@li... > Cc: > Sent: Monday May 18 2020 4:08:10AM > Subject: Re: [Gtkwave-users] Negative timestamps support > > Hi all, > > Thanks for your fast response. I really appreciate that. > > I tried to create such a VCD file with "$timezero -1000 $end" but tool > gets stuck. > > Is the attached VCD file valid? > > On Mon, May 18, 2020 at 2:53 AM <by...@nc...> wrote: > >> The tool doesn't directly support negative timestamps. >> >> You can try adding something like this before you initially dump scopes >> to see if you can achieve the results you want >> >> $timezero -1000 $end >> >> ...in that case, -1000 would be the initial negative value which would >> map to a timestamp of #0 as this will offset all the time stamps by the >> specified value. I don't know if this will cause issues in the tool using >> negative values as I have never tested that. >> >> -Tony >> >> ----------------------------------------- >> From: "Rida Shamasneh" >> To: gtk...@li... >> Cc: >> Sent: Sunday May 17 2020 6:24:39PM >> Subject: [Gtkwave-users] Negative timestamps support >> >> Hi all, >> >> First of all; Thanks for this masterpiece you have created :D >> >> I have a question regarding negative timestamps; I created a VCD with >> negative timestamps but GTKWAVE skipped all signals in negative timestamps >> and started from 0 timestamps :( >> >> Is there a configuration variable to enable negative timestamps support >> in GTKWAVE? >> >> -- >> -- >> Thanks, >> Rida Shamasneh >> <red...@ho...> >> _______________________________________________ >> Gtkwave-users mailing list >> Gtk...@li... >> <https://lists.sourceforge.net/lists/listinfo/gtkwave-users> >> https://lists.sourceforge.net/lists/listinfo/gtkwave-users >> > > > -- > -- > Thanks, > Rida Shamasneh > <red...@ho...> > _______________________________________________ > Gtkwave-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtkwave-users > -- -- Thanks, Rida Shamasneh <red...@ho...> |