I am facing a problem create an instant of the PLL I setup from the Clocking Wizard. My goal is to provide my PWM module a much faster clock than the 100MHz one. I am extremely new on verilog programming (I know nothing of this stuff yet lol). My current code throw my 16 errors code that I know absolutely nothing about. Any helps on this would be greatly appreciate.
Question
skylape
Hello everyone,
I am facing a problem create an instant of the PLL I setup from the Clocking Wizard. My goal is to provide my PWM module a much faster clock than the 100MHz one. I am extremely new on verilog programming (I know nothing of this stuff yet lol). My current code throw my 16 errors code that I know absolutely nothing about. Any helps on this would be greatly appreciate.
Thank you reading
P/s: The below text is my top module.
module top(
input CLK,
input fastClk,
output pwm_out1,
output pwm_out2,
output pwm_out3,
wire rst,
wire lck
);
clk_wiz_0(.clk_out1(fastClk),.reset(rst),.locked(lck),.clk_inl(CLK));
pwm pwm_output1 (
.clk(fastClk),
.i_duty(10),
.pwm_out(pwm_out1)
);
pwm pwm_output2 (
.clk(fastClk),
.i_duty(45),
.pwm_out(pwm_out2)
);
pwm pwm_output3 (
.clk(fastClk),
.i_duty(80),
.pwm_out(pwm_out3)
);
endmodule
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.