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

Subversion Repositories zet86

[/] [zet86/] [trunk/] [soc/] [vga/] [rtl/] [ram2k_b16.v] - Rev 39

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

`timescale 1ns/10ps
 
module ram_2k (clk, rst, cs, we, addr, rdata, wdata);
  // IO Ports
  input clk;
  input rst;
  input cs;
  input we;
  input [10:0] addr;
  output [7:0] rdata;
  input [7:0] wdata;
 
  // Net declarations
  wire dp;
 
  // Module instantiations
  RAMB16_S9 ram (.DO(rdata),
                 .DOP (dp),
                 .ADDR (addr),
                 .CLK (clk),
                 .DI (wdata),
                 .DIP (dp),
                 .EN (cs),
                 .SSR (rst),
                 .WE (we));
 
    defparam ram.INIT_00 = 256'h554456_2043504F53_20302E3176_20726F737365636F7270_2074655A;
/*
    defparam ram.INIT_00 = 256'h3130393837363534333231303938373635343332313039383736353433323130;
    defparam ram.INIT_01 = 256'h3332313039383736353433323130393837363534333231303938373635343332;
    defparam ram.INIT_02 = 256'h3534333231303938373635343332313039383736353433323130393837363534;
    defparam ram.INIT_03 = 256'h3736353433323130393837363534333231303938373635343332313039383736;
    defparam ram.INIT_04 = 256'h3938373635343332313039383736353433323130393837363534333231303938;
    defparam ram.INIT_05 = 256'h3130393837363534333231303938373635343332313039383736353433323130;
    defparam ram.INIT_06 = 256'h3332313039383736353433323130393837363534333231303938373635343332;
    defparam ram.INIT_07 = 256'h3534333231303938373635343332313039383736353433323130393837363534;
    defparam ram.INIT_08 = 256'h3736353433323130393837363534333231303938373635343332313039383736;
    defparam ram.INIT_09 = 256'h3938373635343332313039383736353433323130393837363534333231303938;
*/
endmodule

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

powered by: WebSVN 2.1.0

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