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

Subversion Repositories alternascope

[/] [alternascope/] [tags/] [Devel/] [VGA/] [CharDecode/] [d_CharDecodeSmall.v] - Blame information for rev 31

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

Line No. Rev Author Line
1 14 smpickett
//==================================================================//
2
// File:    d_CharDecodeSmall.v                                     //
3
// Version: 0.0.0.1                                                 //
4
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
5
// Copyright (C) Stephen Pickett                                    //
6
//   Jun 17, 2005                                                   //
7
//                                                                  //
8
// This program is free software; you can redistribute it and/or    //
9
// modify it under the terms of the GNU General Public License      //
10
// as published by the Free Software Foundation; either version 2   //
11
// of the License, or (at your option) any later version.           //
12
//                                                                  //
13
// This program is distributed in the hope that it will be useful,  //
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of   //
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    //
16
// GNU General Public License for more details.                     //
17
//                                                                  //
18
// If you have not received a copy of the GNU General Public License//
19
// along with this program; write to:                               //
20
//     Free Software Foundation, Inc.,                              //
21
//     51 Franklin Street, Fifth Floor,                             //
22
//     Boston, MA  02110-1301, USA.                                 //
23
//                                                                  //
24
//------------------------------------------------------------------//
25
// Revisions:                                                       //
26
// Ver 0.0.0.1     Jun 17, 2005   Initial Development Release       //
27
//                                Based on "d_CharDecode.v"         //
28
//                                                                  //
29
//==================================================================//
30
 
31
module CharacterDisplay(
32
    MASTER_CLK, MASTER_RST,
33
    CLK_VGA, HCNT, VCNT,
34
    RGB_OUT
35
    );
36
 
37
//==================================================================//
38
// PARAMETER DEFINITIONS                                            //
39
//==================================================================//
40
parameter P_black   = 3'b000;
41
parameter P_yellow  = 3'b110;
42
parameter P_cyan    = 3'b011;
43
parameter P_green   = 3'b010;
44
parameter P_white   = 3'b111;
45
parameter P_blue    = 3'b111;
46
 
47
//==================================================================//
48
// VARIABLE DEFINITIONS                                             //
49
//==================================================================//
50
//----------------------//
51
// INPUTS / OUTPUTS     //
52
//----------------------//
53
input MASTER_CLK;                // System wide clock
54
input MASTER_RST;               // System wide reset
55
input CLK_VGA;                  // Pixel Clk
56
input[9:0] HCNT;                // Horizontal Sync Counter
57
input[9:0] VCNT;                // Vertical Sync Counter
58
output[2:0] RGB_OUT;            // The RGB data
59
 
60
 
61
//----------------------//
62
// WIRES / NODES        //
63
//----------------------//
64
wire MASTER_CLK, MASTER_RST, CLK_VGA;
65
wire[9:0] HCNT, VCNT;
66
reg[2:0]  RGB_OUT;
67
 
68
 
69
 
70
//----------------------//
71
// REGISTERS            //
72
//----------------------//
73
reg[3:0] cnt_charPxls;
74
reg[6:0] cnt_Hchar;
75
reg[10:0] cnt_Vchar;
76
wire     charRow1, charRow2, charRow3, charRow4, charRow5, charRow6, charRow7, charRow8;
77
 
78
wire[10:0] addr_charRamRead;
79
wire[7:0]  data_charRamRead;
80
 
81
reg[7:0]   mask_charMap;
82
wire[10:0] addr_charMap;
83
wire[7:0]  data_charMap;
84
 
85
 
86
//==================================================================//
87
// FUNCTIONAL DEFINITIONS                                           //
88
//==================================================================//
89
 
90
 
91
 
92
//------------------------------------------------------------------//
93
// Character Input / Storage                                        //
94
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
95
// A useful description could go here!                              //
96
//------------------------------------------------------------------//
97
 
98
 
99
 
100
 
101
 
102
//------------------------------------------------------------------//
103
// Character Decode                                                 //
104
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
105
// A useful description could go here!                              //
106
//------------------------------------------------------------------//
107
 
108
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
109
// DECODE the Character RAM Address via HCNT and VCNT               //
110
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
111
 
112
always @ (posedge CLK_VGA or posedge MASTER_RST) begin
113
    if(MASTER_RST) begin
114
        cnt_charPxls <= 4'd5;
115
    end else if(HCNT >= 10'd6) begin //7
116
        if(cnt_charPxls == 4'd0)
117
            cnt_charPxls <= 4'd5;
118
        else
119
            cnt_charPxls <= cnt_charPxls-1;
120
    end else begin
121
        cnt_charPxls <= 4'd5;
122
    end
123
end
124
 
125
always @ (posedge CLK_VGA or posedge MASTER_RST) begin
126
    if(MASTER_RST) begin
127
        cnt_Hchar <= 7'd0;
128
    end else if(HCNT >= 10'd6 && cnt_charPxls == 4'd0) begin
129
        if(cnt_Hchar == 7'd102)
130
            cnt_Hchar <= 7'd0;
131
        else
132
            cnt_Hchar <= cnt_Hchar+1;
133
    end else if(HCNT < 10'd6) begin
134
        cnt_Hchar <= 7'd0;
135
    end else begin
136
        cnt_Hchar <= cnt_Hchar;
137
    end
138
end
139
 
140
assign charRow1 = ((VCNT <= 512) && (VCNT >= 505));
141
assign charRow2 = ((VCNT <= 503) && (VCNT >= 496));
142
assign charRow3 = ((VCNT <= 494) && (VCNT >= 487));
143
assign charRow4 = ((VCNT <= 485) && (VCNT >= 478));
144
assign charRow5 = ((VCNT <= 476) && (VCNT >= 469));
145
assign charRow6 = ((VCNT <= 467) && (VCNT >= 460));
146
assign charRow7 = ((VCNT <= 458) && (VCNT >= 451));
147
assign charRow8 = ((VCNT <= 449) && (VCNT >= 442));
148
 
149
always @ (charRow1 or charRow2 or charRow3 or charRow4 or charRow5 or charRow6 or charRow7 or charRow8) begin
150
         if(charRow1) cnt_Vchar = 11'd0;
151
    else if(charRow2) cnt_Vchar = 11'd103;
152
    else if(charRow3) cnt_Vchar = 11'd206;
153
    else if(charRow4) cnt_Vchar = 11'd309;
154
    else if(charRow5) cnt_Vchar = 11'd412;
155
    else if(charRow6) cnt_Vchar = 11'd515;
156
    else if(charRow7) cnt_Vchar = 11'd618;
157
    else if(charRow8) cnt_Vchar = 11'd721;
158
    else              cnt_Vchar = 11'd0;
159
end
160
 
161
assign addr_charRamRead = cnt_Vchar + cnt_Hchar;
162
 
163
 
164
 
165
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
166
// DECODE the Character Map via HCNT and VCNT and CHAR_DATA         //
167
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
168
always @ (posedge CLK_VGA or posedge MASTER_RST) begin
169
    if(MASTER_RST) begin
170
        mask_charMap <= 8'd0;
171
    end else if(VCNT <= 10'd512) begin
172
        if(HCNT == 10'd0) begin
173
            if(mask_charMap == 8'd0)
174
                mask_charMap <= 8'b10000000;
175
            else
176
                mask_charMap <= mask_charMap >> 1;
177
        end else
178
            mask_charMap <= mask_charMap;
179
    end else begin
180
        mask_charMap <= 8'd0;
181
    end
182
end
183
 
184
 
185
 
186
assign addr_charMap = ((data_charRamRead * 8'd5) + cnt_charPxls);
187
 
188
 
189
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
190
// DECODE the VGA_OUTPUT via the Character Map                      //
191
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
192
reg[2:0] rgb_buf;
193
 
194
always @ (mask_charMap or data_charMap) begin
195
    if((charRow1 | charRow2 | charRow3 | charRow4 | charRow5 | charRow6 | charRow7 | charRow8) && ((mask_charMap & data_charMap) != 8'b0) && (cnt_charPxls != 4'd5) && (HCNT >= 10'd7) && (HCNT <= 10'd632))
196
        rgb_buf = P_yellow;
197
    else
198
        rgb_buf = P_black;
199
end
200
 
201
always @ (posedge CLK_VGA) begin
202
    RGB_OUT <= rgb_buf;
203
end
204
 
205
 
206
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
207
// COUNTER TESTING                                                  //
208
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
209
reg[63:0] test_cnt;
210
reg[10:0] test_cntAddr;
211
reg[7:0]  data_time;
212
always @ (posedge MASTER_CLK or posedge MASTER_RST) begin
213
    if(MASTER_RST)
214
        test_cnt <= 64'd0;
215
    else
216
        test_cnt <= test_cnt+1;
217
end
218
 
219
always @ (posedge MASTER_CLK or posedge MASTER_RST) begin
220
    if(MASTER_RST)
221
        test_cntAddr <= 11'd41;
222
    else if(test_cntAddr == 11'd56)
223
        test_cntAddr <= 11'd41;
224
    else
225
        test_cntAddr <= test_cntAddr+1;
226
end
227
 
228
always @ (test_cntAddr or test_cnt) begin
229
         if(test_cntAddr == 11'd41) data_time[3:0] = test_cnt[63:60];
230
    else if(test_cntAddr == 11'd42) data_time[3:0] = test_cnt[59:56];
231
    else if(test_cntAddr == 11'd43) data_time[3:0] = test_cnt[55:52];
232
    else if(test_cntAddr == 11'd44) data_time[3:0] = test_cnt[51:48];
233
    else if(test_cntAddr == 11'd45) data_time[3:0] = test_cnt[47:44];
234
    else if(test_cntAddr == 11'd46) data_time[3:0] = test_cnt[43:40];
235
    else if(test_cntAddr == 11'd47) data_time[3:0] = test_cnt[39:36];
236
    else if(test_cntAddr == 11'd48) data_time[3:0] = test_cnt[35:32];
237
    else if(test_cntAddr == 11'd49) data_time[3:0] = test_cnt[31:28];
238
    else if(test_cntAddr == 11'd50) data_time[3:0] = test_cnt[27:24];
239
    else if(test_cntAddr == 11'd51) data_time[3:0] = test_cnt[23:20];
240
    else if(test_cntAddr == 11'd52) data_time[3:0] = test_cnt[19:16];
241
    else if(test_cntAddr == 11'd53) data_time[3:0] = test_cnt[15:12];
242
    else if(test_cntAddr == 11'd54) data_time[3:0] = test_cnt[11:8];
243
    else if(test_cntAddr == 11'd55) data_time[3:0] = test_cnt[7:4];
244
    else if(test_cntAddr == 11'd56) data_time[3:0] = test_cnt[3:0];
245
    else                            data_time[3:0] = 4'b0000;
246
end
247
 
248
always begin
249
    data_time[7:4] = 4'b0;
250
end
251
 
252
 
253
 
254
 
255
 
256
 
257
 
258
 
259
 
260
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
261
// Character Decode RAM INSTANTIATION                               //
262
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
263
// A useful description could go here!                              //
264
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - //
265
wire VCC, GND;
266
assign VCC = 1'b1;
267
assign GND = 1'b0;
268
 
269
RAMB16_S9_S9 #(
270
//                  6666555555555544444444443333333333222222222211111111110000000000
271
//    .INIT_00(256'h920de29292928ee0101010fe449292927c668A9292662242FE02027C8282827C),
272
      .INIT_00(256'h920de29292928ee0101010fe449292927c668A9292660042FE02007C86BAC27C),
273
//                  CCCCCCCCBBBBBBBBBBAAAAAAAAAA999999999988888888887777777777666666
274
      .INIT_01(256'h828282c6Fe9292926c7e9090907e609292927d6d9292926d808698a0C07d9292),
275
//                  JJIIIIIIIIIIHHHHHHHHHHGGGGGGGGGGFFFFFFFFFFEEEEEEEEEEDDDDDDDDDDCC
276
      .INIT_02(256'h808282F78282F7101010F77c829294d7Fe909090c0Fe929292c6FE8282827c7c),
277
//                  PPPPPPOOOOOOOOOONNNNNNNNNNMMMMMMMMMMLLLLLLLLLLKKKKKKKKKKJJJJJJJJ
278
      .INIT_03(256'h9090607C8282827CF7403804F7F7402040F7F702020206F7102844818482FC80),
279
//                  VVVVVVVVVVUUUUUUUUUUTTTTTTTTTTSSSSSSSSSSRRRRRRRRRRQQQQQQQQQQPPPP
280
      .INIT_04(256'h78040204787C0202027CC080F780C064929292467C909894627C828A7C027C90),
281
//                                --space---ZZZZZZZZZZYYYYYYYYYYXXXXXXXXXXWWWWWWWWWW
282
      .INIT_05(256'h0000000000000000000000008286BAC28280403740806281028C6F7040804F7),
283
      .INIT_06(256'h0000000000000000000000000000000000000000000000000000000000000000),
284
      .INIT_07(256'h0000000000000000000000000000000000000000000000000000000000000000),
285
      .INIT_08(256'h0000000000000000000000000000000000000000000000000000000000000000),
286
      .INIT_09(256'h0000000000000000000000000000000000000000000000000000000000000000),
287
      .INIT_0A(256'h0000000000000000000000000000000000000000000000000000000000000000),
288
      .INIT_0B(256'h0000000000000000000000000000000000000000000000000000000000000000),
289
      .INIT_0C(256'h0000000000000000000000000000000000000000000000000000000000000000),
290
      .INIT_0D(256'h0000000000000000000000000000000000000000000000000000000000000000),
291
      .INIT_0E(256'h0000000000000000000000000000000000000000000000000000000000000000),
292
      .INIT_0F(256'h0000000000000000000000000000000000000000000000000000000000000000),
293
      .INIT_10(256'h0000000000000000000000000000000000000000000000000000000000000000),
294
      .INIT_11(256'h0000000000000000000000000000000000000000000000000000000000000000),
295
      .INIT_12(256'h0000000000000000000000000000000000000000000000000000000000000000),
296
      .INIT_13(256'h0000000000000000000000000000000000000000000000000000000000000000),
297
      .INIT_14(256'h0000000000000000000000000000000000000000000000000000000000000000),
298
      .INIT_15(256'h0000000000000000000000000000000000000000000000000000000000000000),
299
      .INIT_16(256'h0000000000000000000000000000000000000000000000000000000000000000),
300
      .INIT_17(256'h0000000000000000000000000000000000000000000000000000000000000000),
301
      .INIT_18(256'h0000000000000000000000000000000000000000000000000000000000000000),
302
      .INIT_19(256'h0000000000000000000000000000000000000000000000000000000000000000),
303
      .INIT_1A(256'h0000000000000000000000000000000000000000000000000000000000000000),
304
      .INIT_1B(256'h0000000000000000000000000000000000000000000000000000000000000000),
305
      .INIT_1C(256'h0000000000000000000000000000000000000000000000000000000000000000),
306
      .INIT_1D(256'h0000000000000000000000000000000000000000000000000000000000000000),
307
      .INIT_1E(256'h0000000000000000000000000000000000000000000000000000000000000000),
308
      .INIT_1F(256'h0000000000000000000000000000000000000000000000000000000000000000),
309
      .INIT_20(256'h0000000000000000000000000000000000000000000000000000000000000000),
310
      .INIT_21(256'h0000000000000000000000000000000000000000000000000000000000000000),
311
      .INIT_22(256'h0000000000000000000000000000000000000000000000000000000000000000),
312
      .INIT_23(256'h0000000000000000000000000000000000000000000000000000000000000000),
313
      .INIT_24(256'h0000000000000000000000000000000000000000000000000000000000000000),
314
      .INIT_25(256'h0000000000000000000000000000000000000000000000000000000000000000),
315
      .INIT_26(256'h0000000000000000000000000000000000000000000000000000000000000000),
316
      .INIT_27(256'h0000000000000000000000000000000000000000000000000000000000000000),
317
      .INIT_28(256'h0000000000000000000000000000000000000000000000000000000000000000),
318
      .INIT_29(256'h0000000000000000000000000000000000000000000000000000000000000000),
319
      .INIT_2A(256'h0000000000000000000000000000000000000000000000000000000000000000),
320
      .INIT_2B(256'h0000000000000000000000000000000000000000000000000000000000000000),
321
      .INIT_2C(256'h0000000000000000000000000000000000000000000000000000000000000000),
322
      .INIT_2D(256'h0000000000000000000000000000000000000000000000000000000000000000),
323
      .INIT_2E(256'h0000000000000000000000000000000000000000000000000000000000000000),
324
      .INIT_2F(256'h0000000000000000000000000000000000000000000000000000000000000000),
325
      .INIT_30(256'h0000000000000000000000000000000000000000000000000000000000000000),
326
      .INIT_31(256'h0000000000000000000000000000000000000000000000000000000000000000),
327
      .INIT_32(256'h0000000000000000000000000000000000000000000000000000000000000000),
328
      .INIT_33(256'h0000000000000000000000000000000000000000000000000000000000000000),
329
      .INIT_34(256'h0000000000000000000000000000000000000000000000000000000000000000),
330
      .INIT_35(256'h0000000000000000000000000000000000000000000000000000000000000000),
331
      .INIT_36(256'h0000000000000000000000000000000000000000000000000000000000000000),
332
      .INIT_37(256'h0000000000000000000000000000000000000000000000000000000000000000),
333
      .INIT_38(256'h0000000000000000000000000000000000000000000000000000000000000000),
334
      .INIT_39(256'h0000000000000000000000000000000000000000000000000000000000000000),
335
      .INIT_3A(256'h0000000000000000000000000000000000000000000000000000000000000000),
336
      .INIT_3B(256'h0000000000000000000000000000000000000000000000000000000000000000),
337
      .INIT_3C(256'h0000000000000000000000000000000000000000000000000000000000000000),
338
      .INIT_3D(256'h0000000000000000000000000000000000000000000000000000000000000000),
339
      .INIT_3E(256'h0000000000000000000000000000000000000000000000000000000000000000),
340
      .INIT_3F(256'h0000000000000000000000000000000000000000000000000000000000000000)
341
) RAM_Character_Map (
342
    .DOA(),         .DOB(data_charMap),
343
    .DOPA(),        .DOPB(),
344
    .ADDRA(11'b111),  .ADDRB(addr_charMap),
345
    .CLKA(GND),     .CLKB(MASTER_CLK),
346
    .DIA(8'b0),     .DIB(8'b0),
347
    .DIPA(GND),     .DIPB(GND),
348
    .ENA(GND),      .ENB(VCC),
349
    .WEA(GND),      .WEB(GND),
350
    .SSRA(GND),     .SSRB(GND)
351
    );
352
 
353
 
354
RAMB16_S9_S9 #(
355
      .INIT_00(256'h3633636363636363636363636F0E0D0C0B0A0908070605040302010036363636),
356
      .INIT_01(256'h3636363636363636363636363636363636363636363636363636363636363636),
357
      .INIT_02(256'h3636363636363636363636363636363636363636363636363636363636363636),
358
      .INIT_03(256'h3636363636363636363636363636363636363636363636363636363636363636),
359
      .INIT_04(256'h3636363636363636363636363636363636363636363636363636363636363636),
360
      .INIT_05(256'h3636363636363636363636363636363636363636363636363636363636363636),
361
      .INIT_06(256'h3636363636363636363636363636363636363636363636363636363636363636),
362
      .INIT_07(256'h3636363636363636363636363636363636363636363636363636363636363636),
363
      .INIT_08(256'h3636363636363636363636363636363636363636363636363636363636363636),
364
      .INIT_09(256'h3636363636363636363636363636363636363636363636363636363636363636),
365
      .INIT_0A(256'h3636363636363636363636363636363636363636363636363636363636363636),
366
      .INIT_0B(256'h3636363636363636363636363636363636363636363636363636363636363636),
367
      .INIT_0C(256'h3636363636363636363636363636363636363636363636363636363636363636),
368
      .INIT_0D(256'h3636363636363636363636363636363636363636363636363636363636363636),
369
      .INIT_0E(256'h3636363636363636363636363636363636363636363636363636363636363636),
370
      .INIT_0F(256'h3636363636363636363636363636363636363636363636363636363636363636),
371
      .INIT_10(256'h3636363636363636363636363636363636363636363636363636363636363636),
372
      .INIT_11(256'h3636363636363636363636363636363636363636363636363636363636363636),
373
      .INIT_12(256'h3636363636363636363636363636363636363636363636363636363636363636),
374
      .INIT_13(256'h3636363636363636363636363636363636363636363636363636363636363636),
375
      .INIT_14(256'h3636363636363636363636363636363636363636363636363636363636363636),
376
      .INIT_15(256'h3636363636363636363636363636363636363636363636363636363636363636),
377
      .INIT_16(256'h3636363636363636363636363636363636363636363636363636363636363636),
378
      .INIT_17(256'h3636363636363636363636363636363636363636363636363636363636363636),
379
      .INIT_18(256'h3636363636363636363636363636363636363636363636363636363636363636),
380
      .INIT_19(256'h3636363636363636363636363636363636363636363636363636363636363636),
381
      .INIT_1A(256'h0000000000000000000000000000000000000000000000000000000000000000),
382
      .INIT_1B(256'h0000000000000000000000000000000000000000000000000000000000000000),
383
      .INIT_1C(256'h0000000000000000000000000000000000000000000000000000000000000000),
384
      .INIT_1D(256'h0000000000000000000000000000000000000000000000000000000000000000),
385
      .INIT_1E(256'h0000000000000000000000000000000000000000000000000000000000000000),
386
      .INIT_1F(256'h0000000000000000000000000000000000000000000000000000000000000000),
387
      .INIT_20(256'h0000000000000000000000000000000000000000000000000000000000000000),
388
      .INIT_21(256'h0000000000000000000000000000000000000000000000000000000000000000),
389
      .INIT_22(256'h0000000000000000000000000000000000000000000000000000000000000000),
390
      .INIT_23(256'h0000000000000000000000000000000000000000000000000000000000000000),
391
      .INIT_24(256'h0000000000000000000000000000000000000000000000000000000000000000),
392
      .INIT_25(256'h0000000000000000000000000000000000000000000000000000000000000000),
393
      .INIT_26(256'h0000000000000000000000000000000000000000000000000000000000000000),
394
      .INIT_27(256'h0000000000000000000000000000000000000000000000000000000000000000),
395
      .INIT_28(256'h0000000000000000000000000000000000000000000000000000000000000000),
396
      .INIT_29(256'h0000000000000000000000000000000000000000000000000000000000000000),
397
      .INIT_2A(256'h0000000000000000000000000000000000000000000000000000000000000000),
398
      .INIT_2B(256'h0000000000000000000000000000000000000000000000000000000000000000),
399
      .INIT_2C(256'h0000000000000000000000000000000000000000000000000000000000000000),
400
      .INIT_2D(256'h0000000000000000000000000000000000000000000000000000000000000000),
401
      .INIT_2E(256'h0000000000000000000000000000000000000000000000000000000000000000),
402
      .INIT_2F(256'h0000000000000000000000000000000000000000000000000000000000000000),
403
      .INIT_30(256'h0000000000000000000000000000000000000000000000000000000000000000),
404
      .INIT_31(256'h0000000000000000000000000000000000000000000000000000000000000000),
405
      .INIT_32(256'h0000000000000000000000000000000000000000000000000000000000000000),
406
      .INIT_33(256'h0000000000000000000000000000000000000000000000000000000000000000),
407
      .INIT_34(256'h0000000000000000000000000000000000000000000000000000000000000000),
408
      .INIT_35(256'h0000000000000000000000000000000000000000000000000000000000000000),
409
      .INIT_36(256'h0000000000000000000000000000000000000000000000000000000000000000),
410
      .INIT_37(256'h0000000000000000000000000000000000000000000000000000000000000000),
411
      .INIT_38(256'h0000000000000000000000000000000000000000000000000000000000000000),
412
      .INIT_39(256'h0000000000000000000000000000000000000000000000000000000000000000),
413
      .INIT_3A(256'h0000000000000000000000000000000000000000000000000000000000000000),
414
      .INIT_3B(256'h0000000000000000000000000000000000000000000000000000000000000000),
415
      .INIT_3C(256'h0000000000000000000000000000000000000000000000000000000000000000),
416
      .INIT_3D(256'h0000000000000000000000000000000000000000000000000000000000000000),
417
      .INIT_3E(256'h0000000000000000000000000000000000000000000000000000000000000000),
418
      .INIT_3F(256'h0000000000000000000000000000000000000000000000000000000000000000)
419
) RAM_Character_Test (
420
    .DOA(),                 .DOB(data_charRamRead),
421
    .DOPA(),                .DOPB(),
422
    .ADDRA(test_cntAddr),   .ADDRB(addr_charRamRead),
423
    .CLKA(MASTER_CLK),      .CLKB(MASTER_CLK),
424
    .DIA(data_time),        .DIB(8'b0),
425
    .DIPA(GND),             .DIPB(GND),
426
    .ENA(VCC),              .ENB(VCC),
427
    .WEA(VCC),              .WEB(GND),
428
    .SSRA(GND),             .SSRB(GND)
429
    );
430
 
431
 
432
 
433
 
434
 
435
 
436
 
437
 
438
endmodule

powered by: WebSVN 2.1.0

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