-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAR.v
More file actions
34 lines (31 loc) · 705 Bytes
/
Copy pathAR.v
File metadata and controls
34 lines (31 loc) · 705 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
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 21:22:56 06/03/2018
// Design Name:
// Module Name: AR
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module AR(in,out,rst,to_AR,clk
);
input rst,to_AR,clk;
input [17:0] in;
output reg [17:0] out = 18'b0;
always @(negedge clk)
if (rst)
out <= 18'b0;
else if(to_AR)
out <= in;
endmodule