-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSEnter_2_32.v
33 lines (31 loc) · 934 Bytes
/
SEnter_2_32.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
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 00:22:10 11/03/2014
// Design Name:
// Module Name: Input_2_32bit
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module SEnter_2_32(input clk,
input[2:0] BTN, //对应SAnti_jitter列按键
input [4:0] Ctrl, //{SW[7:5],SW[15],SW[0]}
input D_ready, //对应SAnti_jitter扫描码有效
input [4:0]Din,
output reg readn, //=0读扫描码
output reg[31:0]Ai=32'h87654321, //输出32位数一:Ai
output reg[31:0]Bi=32'h12345678, //输出32位数二:Bi
output reg [7:0 ]blink //单键输入指示
);
endmodule