verilog Voltage Control Oscillator

OP #5320734
Rate this post
• ▲ useful
▼ not useful
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
Attached files:

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.