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

Subversion Repositories zet86

[/] [zet86/] [trunk/] [soc/] [vga/] [rtl/] [ram2k_b16.v] - Blame information for rev 39

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

Line No. Rev Author Line
1 39 zeus
`timescale 1ns/10ps
2
 
3
module ram_2k (clk, rst, cs, we, addr, rdata, wdata);
4
  // IO Ports
5
  input clk;
6
  input rst;
7
  input cs;
8
  input we;
9
  input [10:0] addr;
10
  output [7:0] rdata;
11
  input [7:0] wdata;
12
 
13
  // Net declarations
14
  wire dp;
15
 
16
  // Module instantiations
17
  RAMB16_S9 ram (.DO(rdata),
18
                 .DOP (dp),
19
                 .ADDR (addr),
20
                 .CLK (clk),
21
                 .DI (wdata),
22
                 .DIP (dp),
23
                 .EN (cs),
24
                 .SSR (rst),
25
                 .WE (we));
26
 
27
    defparam ram.INIT_00 = 256'h554456_2043504F53_20302E3176_20726F737365636F7270_2074655A;
28
/*
29
    defparam ram.INIT_00 = 256'h3130393837363534333231303938373635343332313039383736353433323130;
30
    defparam ram.INIT_01 = 256'h3332313039383736353433323130393837363534333231303938373635343332;
31
    defparam ram.INIT_02 = 256'h3534333231303938373635343332313039383736353433323130393837363534;
32
    defparam ram.INIT_03 = 256'h3736353433323130393837363534333231303938373635343332313039383736;
33
    defparam ram.INIT_04 = 256'h3938373635343332313039383736353433323130393837363534333231303938;
34
    defparam ram.INIT_05 = 256'h3130393837363534333231303938373635343332313039383736353433323130;
35
    defparam ram.INIT_06 = 256'h3332313039383736353433323130393837363534333231303938373635343332;
36
    defparam ram.INIT_07 = 256'h3534333231303938373635343332313039383736353433323130393837363534;
37
    defparam ram.INIT_08 = 256'h3736353433323130393837363534333231303938373635343332313039383736;
38
    defparam ram.INIT_09 = 256'h3938373635343332313039383736353433323130393837363534333231303938;
39
*/
40
endmodule

powered by: WebSVN 2.1.0

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