⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 state.v

📁 verilog写的分频程序,可以对输入的频率分频
💻 V
字号:
module state(clk,rst,st,sp,con,crst,hold);
input clk,rst,st,sp;
output con,crst,hold;

reg con,crst,hold;
always @(posedge clk or negedge rst)
begin 
    if (rst==0)
        begin 
           con=1'b0;
           crst=1'b1;
           hold=1'b0;
         end
    else 
	begin
		if(st)
		begin
		con=;
		crst=;
		hold=;
		end
		if(sp)
		begin
		con=;
		crst=;
		hold=;
		end
	end
end
endmodule
		
		
		
		
		
		

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -