随笔分类 -  fpga

摘要:数码管动态显示时间 首先建立一个计时一秒的模块,作为数码管显示的需要 module timer_s( input wire clk, input wire rst_n, output wire [31:0] timer ); reg [25:0] cnt; reg [31:0] timer_num; 阅读全文
posted @ 2021-08-25 17:15 顾事 阅读(64) 评论(0) 推荐(0)
摘要:实现一个呼吸灯的项目 打开quartus ii 建立工程 步骤就不讲了 新建一个pwm.v文件内容 module PWM ( input sys_clk, input sys_rst_n, input [WIDTH-1:0] duty_cycle, //output ports output wir 阅读全文
posted @ 2021-08-25 12:06 顾事 阅读(111) 评论(0) 推荐(0)