-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathP2S.v
34 lines (33 loc) · 815 Bytes
/
P2S.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
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 14:16:41 03/11/2015
// Design Name:
// Module Name: parallel2serial
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module P2S(input wire clk, //parallel to serial
input wire rst,
input wire Serial,
input wire[DATA_BITS-1:0] P_Data,
output reg s_clk,
output wire s_clrn,
output wire sout,
output reg EN
);
parameter
DATA_BITS = 64, // data length
DATA_COUNT_BITS = 6;
endmodule