[myhdl-list] timescale in _toVerilog and cosimulation
Brought to you by:
jandecaluwe
From: Jos H. <jos...@gm...> - 2013-04-26 19:03:50
|
In a cosimulation (with icarus in this case) you can generate 2 .vcd files, one from myhdl and one from icarus (using $dumpfile). When viewing both using gtkwave the clock period is x10 different. I think this is caused by the `timescale 1ns/10ps directive in generated verilog. At least when replacing it by 1ns/1ps solves the issue. Is this the way to do it? -- Jos |