Re: [Gtkwave-users] Negative timestamps support
Brought to you by:
gtkwave,
joel1234567
|
From: <by...@nc...> - 2020-05-18 15:38:53
|
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 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... [2] 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 [3] _______________________________________________ Gtkwave-users mailing list Gtk...@li... [4] [5]https://lists.sourceforge.net/lists/listinfo/gtkwave-users [6] -- -- Thanks, Rida Shamasneh [7] Links: ------ [1] mailto:by...@nc... [2] mailto:gtk...@li... [3] mailto:red...@ho... [4] mailto:Gtk...@li... [5] https://lists.sourceforge.net/lists/listinfo/gtkwave-users [6] https://lists.sourceforge.net/lists/listinfo/gtkwave-users [7] mailto:red...@ho... |