我是初学者菜鸟,求大神告诉这个程序是什么意思。
时间:10-02
整理:3721RD
点击:
// gen a 200K CLK for work counter count
always @(posedge sys_clk or negedge sys_rst_n) begin
if (sys_rst_n ==1'b0)
clk_200k = 0 ) && (counter_div = 125) && (counter_div = 250) && (counter_div = 375) && (counter_div = 500) && (counter_div = 625) && (counter_div = 750) && (counter_div = 875) && (counter_div < 1000))
clk_200k <= 10'b1;
else ;
always @(posedge sys_clk or negedge sys_rst_n) begin
if (sys_rst_n ==1'b0)
clk_200k = 0 ) && (counter_div = 125) && (counter_div = 250) && (counter_div = 375) && (counter_div = 500) && (counter_div = 625) && (counter_div = 750) && (counter_div = 875) && (counter_div < 1000))
clk_200k <= 10'b1;
else ;
这是 LM75 温度控制器(LED 显示)中的一个程序
PWM波输出控制温度