Re: [myhdl-list] delta cycles
Brought to you by:
jandecaluwe
From: Thomas H. <th...@ct...> - 2012-04-24 05:56:30
|
>>> When this counter is simulated, count changes a delta cycle after >>> the positive clock edge. When traceSignals is used to write a VCD file, >>> gtkwave shows that the count changes exactly at the same time as the >>> clock edge. This is confusing (at least in more complicated cases) in >>> the timing diagram. >> > But then I decided to poke around GTKwave. And it looks like you can > use the "time warp" feature to do this. I simply selected a signal > (clk) and the used the "Edit->Time Warp->Warp Marked" and then typed in > "-1 ns" and the clk signal was shifted to the left 1ns. > > To make this useful you need to change the "delay" in the clock to > something of significant value (depending how much you want it skewed). > If you use delay(1) and time warp -1 ns you will shift by half a clock > cycle. Cool! Thanks for the hint. Thomas |