-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsequence_generator.v
More file actions
117 lines (96 loc) · 2.32 KB
/
sequence_generator.v
File metadata and controls
117 lines (96 loc) · 2.32 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
// Copyright (C) 2020 Intel Corporation. All rights reserved.
// Your use of Intel Corporation's design tools, logic functions
// and other software and tools, and any partner logic
// functions, and any output files from any of the foregoing
// (including device programming or simulation files), and any
// associated documentation or information are expressly subject
// to the terms and conditions of the Intel Program License
// Subscription Agreement, the Intel Quartus Prime License Agreement,
// the Intel FPGA IP License Agreement, or other applicable license
// agreement, including, without limitation, that your use is for
// the sole purpose of programming logic devices manufactured by
// Intel and sold by Intel or its authorized distributors. Please
// refer to the applicable agreement for further details, at
// https://fpgasoftware.intel.com/eula.
// PROGRAM "Quartus Prime"
// VERSION "Version 20.1.1 Build 720 11/11/2020 SJ Lite Edition"
// CREATED "Tue Jan 05 19:17:46 2021"
module sequence_generator(
CLK,
CE,
CLR,
D,
E,
I,
F
);
input wire CLK;
input wire CE;
input wire CLR;
output wire D;
output wire E;
output wire I;
output wire F;
reg DFFE_inst5;
wire SYNTHESIZED_WIRE_6;
wire SYNTHESIZED_WIRE_1;
reg DFFE_inst1;
wire SYNTHESIZED_WIRE_3;
reg DFFE_inst3;
reg DFFE_inst4;
assign D = DFFE_inst3;
assign E = DFFE_inst4;
assign I = DFFE_inst5;
assign F = SYNTHESIZED_WIRE_3;
assign SYNTHESIZED_WIRE_1 = ~DFFE_inst5;
always@(posedge CLK or negedge SYNTHESIZED_WIRE_6)
begin
if (!SYNTHESIZED_WIRE_6)
begin
DFFE_inst1 <= 0;
end
else
if (CE)
begin
DFFE_inst1 <= SYNTHESIZED_WIRE_1;
end
end
assign SYNTHESIZED_WIRE_3 = ~DFFE_inst1;
assign SYNTHESIZED_WIRE_6 = ~CLR;
always@(posedge CLK or negedge SYNTHESIZED_WIRE_6)
begin
if (!SYNTHESIZED_WIRE_6)
begin
DFFE_inst3 <= 0;
end
else
if (CE)
begin
DFFE_inst3 <= SYNTHESIZED_WIRE_3;
end
end
always@(posedge CLK or negedge SYNTHESIZED_WIRE_6)
begin
if (!SYNTHESIZED_WIRE_6)
begin
DFFE_inst4 <= 0;
end
else
if (CE)
begin
DFFE_inst4 <= DFFE_inst3;
end
end
always@(posedge CLK or negedge SYNTHESIZED_WIRE_6)
begin
if (!SYNTHESIZED_WIRE_6)
begin
DFFE_inst5 <= 0;
end
else
if (CE)
begin
DFFE_inst5 <= DFFE_inst4;
end
end
endmodule