-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathda_ctrl.v
More file actions
39 lines (34 loc) · 795 Bytes
/
da_ctrl.v
File metadata and controls
39 lines (34 loc) · 795 Bytes
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
36
37
38
39
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 19:08:19 02/23/2020
// Design Name:
// Module Name: da_ctrl
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module da_ctrl
(
input en,
input [13:0] din,
output dac_wrt,
output dac_clk,
output [13:0] dac_data
);
wire wrt_phase_delay;
wire clk_phase_delay;
assign dac_wrt = en ? wrt_phase_delay : 0;
assign dac_clk = en ? clk_phase_delay : 0;
assign dac_data = en ? din : 0;
endmodule