FPGA基础项目训练(一)——————数字时钟(一)
一、功能描述
1.数码管显示时间(时、分、秒)
二、代码部分
顶层代码
module top_clock_key(
input sys_clk, //50M时钟信号
input rst_n ,
//按键
input [3:0] key ,
//数码管
output [5:0] sel ,
output [7:0] seg_led
);
parameter POINT = 6'b010100;
//wire
原创
2021-08-19 17:58:28 ·
720 阅读 ·
0 评论