📄 top_hc164_driver.v
字号:
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 17:20:23 11/13/2007
// Design Name:
// Module Name: top_hc164_driver
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module top_hc164_driver(iCLK50M,
iRST_N,
oHC_SI,
oHC_CP);
input iCLK50M;
input iRST_N;
output oHC_SI;
output oHC_CP;
///直接对相应位进行复制即可,驱动已完成转换功能
hc164_driver hc164_driver_inst(
.iCLK50M (iCLK50M),
.iRST_N (iRST_N),
.iLED_SEL (4'b1010),
.iLED_VALUE (16'ha51c),
.iDOT_SEL (4'b0000),
.oHC_SI (oHC_SI),
.oHC_CP (oHC_CP)
);
endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -