top_hc164_driver.v
来自「用verilog写的HC164的驱动程序」· Verilog 代码 · 共 44 行
V
44 行
`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 + =
减小字号Ctrl + -
显示快捷键?