Hello, from the theory in the attached photo i have implemented the
formula in the VERILOG code bellow, the syntax check was fine but when
i tried in XILINX to force values the simulation gives me an empty
screen and says:
# run 1.00us
INFO: Simulator is stopped.
where did i go wrong in entering the coefficients?
Thanks
1 | module vvco(fo,vctl,kv);
|
2 | input fo,vctl,kv;
|
3 |
|
4 | reg vco_b=1'b0;
|
5 | reg fo_b=3'b0;
|
6 | reg vctl_b=3'b0;
|
7 | reg kv_b=3'b0;
|
8 |
|
9 |
|
10 | always #((1/fo_b-vctl_b*kv_b/fo_b^2)/2) vco_b<=~vco_b;
|
11 |
|
12 | endmodule
|