OpenCores
URL https://opencores.org/ocsvn/s1_core/s1_core/trunk

Subversion Repositories s1_core

[/] [s1_core/] [trunk/] [hdl/] [rtl/] [sparc_core/] [lsu_stb_ctldp.v] - Blame information for rev 105

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 95 fafa1971
// ========== Copyright Header Begin ==========================================
2
// 
3
// OpenSPARC T1 Processor File: lsu_stb_ctldp.v
4
// Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
5
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
6
// 
7
// The above named program is free software; you can redistribute it and/or
8
// modify it under the terms of the GNU General Public
9
// License version 2 as published by the Free Software Foundation.
10
// 
11
// The above named program is distributed in the hope that it will be 
12
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
// General Public License for more details.
15
// 
16
// You should have received a copy of the GNU General Public
17
// License along with this work; if not, write to the Free Software
18
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
19
// 
20
// ========== Copyright Header End ============================================
21
//FPGA_SYN enables all FPGA related modifications
22
 
23
 
24
 
25
 
26
 
27
module lsu_stb_ctldp (/*AUTOARG*/
28
   // Outputs
29
   so, stb_state_si_0, stb_state_si_1, stb_state_si_2,
30
   stb_state_si_3, stb_state_si_4, stb_state_si_5, stb_state_si_6,
31
   stb_state_si_7, stb_state_rtype_0, stb_state_rtype_1,
32
   stb_state_rtype_2, stb_state_rtype_3, stb_state_rtype_4,
33
   stb_state_rtype_5, stb_state_rtype_6, stb_state_rtype_7,
34
   stb_state_rmo,
35
   // Inputs
36
   rclk, si, se, stb_clk_en_l, lsu_stb_va_m, lsu_st_rq_type_m,
37
   lsu_st_rmo_m
38
   );
39
 
40
   input rclk;
41
   input si;
42
   input se;
43
//   input tmb_l;
44
 
45
   output so;
46
 
47
   input [7:0] stb_clk_en_l;
48
 
49
   input [7:6] lsu_stb_va_m;
50
   input [2:1] lsu_st_rq_type_m;
51
   input       lsu_st_rmo_m;
52
 
53
   output [3:2] stb_state_si_0;
54
   output [3:2] stb_state_si_1;
55
   output [3:2] stb_state_si_2;
56
   output [3:2] stb_state_si_3;
57
   output [3:2] stb_state_si_4;
58
   output [3:2] stb_state_si_5;
59
   output [3:2] stb_state_si_6;
60
   output [3:2] stb_state_si_7;
61
 
62
   output [2:1] stb_state_rtype_0;
63
   output [2:1] stb_state_rtype_1;
64
   output [2:1] stb_state_rtype_2;
65
   output [2:1] stb_state_rtype_3;
66
   output [2:1] stb_state_rtype_4;
67
   output [2:1] stb_state_rtype_5;
68
   output [2:1] stb_state_rtype_6;
69
   output [2:1] stb_state_rtype_7;
70
 
71
   output [7:0] stb_state_rmo;
72
 
73
 
74
   wire [7:0] stb_clk;
75
 
76
   wire       clk;
77
   assign     clk = rclk;
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
 
118
 
119
 
120
 
121
 
122
 
123
 
124
 
125
 
126
 
127
 
128
 
129
 
130
 
131
 
132
 
133
 
134
 
135
 
136
 
137
 
138
 
139
 
140
 
141
 
142
 
143
 
144
 
145
 
146
 
147
 
148
 
149
 
150
 
151
 
152
 
153
 
154
 
155
 
156
 
157
 
158
 
159
 
160
 
161
 
162
  dffe #(5)  ff_spec_write_0         (
163
        .din    ({lsu_stb_va_m[7:6], lsu_st_rq_type_m[2:1],
164
                                      lsu_st_rmo_m}),
165
        .q      ({stb_state_si_0[3:2], stb_state_rtype_0[2:1],
166
                                       stb_state_rmo[0]}    ),
167
        .en (~(stb_clk_en_l[0])), .clk(clk),
168
        .se     (se), .si (), .so ()
169
        );
170
 
171
 
172
 
173
 
174
 
175
 
176
 
177
 
178
 
179
 
180
 
181
 
182
  dffe #(5)  ff_spec_write_1         (
183
        .din    ({lsu_stb_va_m[7:6], lsu_st_rq_type_m[2:1],
184
                                      lsu_st_rmo_m}),
185
        .q      ({stb_state_si_1[3:2], stb_state_rtype_1[2:1],
186
                                   stb_state_rmo[1]}    ),
187
        .en (~(stb_clk_en_l[1])), .clk(clk),
188
        .se     (se), .si (), .so ()
189
        );
190
 
191
 
192
 
193
 
194
 
195
 
196
 
197
 
198
 
199
 
200
 
201
 
202
  dffe #(5)  ff_spec_write_2         (
203
        .din    ({lsu_stb_va_m[7:6], lsu_st_rq_type_m[2:1],
204
                                    lsu_st_rmo_m}),
205
        .q      ({stb_state_si_2[3:2], stb_state_rtype_2[2:1],
206
                                   stb_state_rmo[2]}    ),
207
        .en (~(stb_clk_en_l[2])), .clk(clk),
208
        .se     (se), .si (), .so ()
209
        );
210
 
211
 
212
 
213
 
214
 
215
 
216
 
217
 
218
 
219
 
220
 
221
  dffe #(5)  ff_spec_write_3         (
222
        .din    ({lsu_stb_va_m[7:6], lsu_st_rq_type_m[2:1],
223
                                    lsu_st_rmo_m}),
224
        .q      ({stb_state_si_3[3:2], stb_state_rtype_3[2:1],
225
                                   stb_state_rmo[3]}    ),
226
        .en (~(stb_clk_en_l[3])), .clk(clk),
227
        .se     (se), .si (), .so ()
228
        );
229
 
230
 
231
 
232
 
233
 
234
 
235
 
236
 
237
 
238
 
239
 
240
  dffe #(5)  ff_spec_write_4         (
241
        .din    ({lsu_stb_va_m[7:6], lsu_st_rq_type_m[2:1],
242
                                    lsu_st_rmo_m}),
243
        .q      ({stb_state_si_4[3:2], stb_state_rtype_4[2:1],
244
                                   stb_state_rmo[4]}    ),
245
        .en (~(stb_clk_en_l[4])), .clk(clk),
246
        .se     (se), .si (), .so ()
247
        );
248
 
249
 
250
 
251
 
252
 
253
 
254
 
255
 
256
 
257
 
258
 
259
  dffe #(5)  ff_spec_write_5         (
260
        .din    ({lsu_stb_va_m[7:6], lsu_st_rq_type_m[2:1],
261
                                    lsu_st_rmo_m}),
262
        .q      ({stb_state_si_5[3:2], stb_state_rtype_5[2:1],
263
                                   stb_state_rmo[5]}    ),
264
        .en (~(stb_clk_en_l[5])), .clk(clk),
265
        .se     (se), .si (), .so ()
266
        );
267
 
268
 
269
 
270
 
271
 
272
 
273
 
274
 
275
 
276
 
277
 
278
  dffe #(5)  ff_spec_write_6         (
279
        .din    ({lsu_stb_va_m[7:6], lsu_st_rq_type_m[2:1],
280
                                    lsu_st_rmo_m}),
281
        .q      ({stb_state_si_6[3:2], stb_state_rtype_6[2:1],
282
                                   stb_state_rmo[6]}    ),
283
        .en (~(stb_clk_en_l[6])), .clk(clk),
284
        .se     (se), .si (), .so ()
285
        );
286
 
287
 
288
 
289
 
290
 
291
 
292
 
293
 
294
 
295
 
296
 
297
 
298
  dffe #(5)  ff_spec_write_7         (
299
        .din    ({lsu_stb_va_m[7:6], lsu_st_rq_type_m[2:1],
300
                                    lsu_st_rmo_m}),
301
        .q      ({stb_state_si_7[3:2], stb_state_rtype_7[2:1],
302
                             stb_state_rmo[7]}    ),
303
        .en (~(stb_clk_en_l[7])), .clk(clk),
304
        .se     (se), .si (), .so ()
305
        );
306
 
307
 
308
 
309
 
310
 
311
 
312
 
313
 
314
 
315
 
316
 
317
 
318
endmodule // lsu_stb_ctldp

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.