-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSPIO_IO.v
35 lines (34 loc) · 1.1 KB
/
SPIO_IO.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 16:58:11 07/01/2012
// Design Name:
// Module Name: Device_led
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module SPIO(input clk, //时钟
input rst, //复位
input Start, //串行扫描启动
input EN, //PIO/LED显示刷新使能
input [31:0] P_Data, //并行输入,用于串行输出数据
output reg[1:0] counter_set, //用于计数/定时模块控制,本实验不用
output [15:0] LED_out, //并行输出数据
output wire led_clk, //串行移位时钟
output wire led_sout, //串行输出
output wire led_clrn, //LED显示清零
output wire LED_PEN, //LED显示刷新使能
output reg[13:0] GPIOf0 //待用:GPIO
);
endmodule