Hi All,
Very new to Verilog, but am having a go at simulating a PLL, and part of that is simulating the VCO.
When I add the following line:
always #(1500 - Vctl) vco <= ~vco;
.. in the testbench code, it complains about not having a $timescale set. (Vctl is the output from a module, which nneds to control the VCO frequency/period)
If I add the line:
`timescale 1na/10ps
.. at the top of the testbench code, it then complains that my modules may have differing timing ...
I tries putting the same line in my module file, but then back to original error: How do I resolve this?
Thanks