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

Subversion Repositories or1k

[/] [or1k/] [tags/] [rel_26/] [or1200/] [rtl/] [verilog/] [or1200_spram_2048x32.v] - Diff between revs 504 and 1063

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 504 Rev 1063
Line 60... Line 60...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.1  2002/01/03 08:16:15  lampret
 
// New prefixes for RTL files, prefixed module names. Updated cache controllers and MMUs.
 
//
// Revision 1.8  2001/11/02 18:57:14  lampret
// Revision 1.8  2001/11/02 18:57:14  lampret
// Modified virtual silicon instantiations.
// Modified virtual silicon instantiations.
//
//
// Revision 1.7  2001/10/21 17:57:16  lampret
// Revision 1.7  2001/10/21 17:57:16  lampret
// Removed params from generic_XX.v. Added translate_off/on in sprs.v and id.v. Removed spr_addr from dc.v and ic.v. Fixed CR+LF.
// Removed params from generic_XX.v. Added translate_off/on in sprs.v and id.v. Removed spr_addr from dc.v and ic.v. Fixed CR+LF.
Line 86... Line 89...
`include "timescale.v"
`include "timescale.v"
// synopsys translate_on
// synopsys translate_on
`include "or1200_defines.v"
`include "or1200_defines.v"
 
 
module or1200_spram_2048x32(
module or1200_spram_2048x32(
 
`ifdef OR1200_BIST
 
        // RAM BIST
 
        scanb_rst, scanb_si, scanb_so, scanb_en, scanb_clk,
 
`endif
        // Generic synchronous single-port RAM interface
        // Generic synchronous single-port RAM interface
        clk, rst, ce, we, oe, addr, di, do
        clk, rst, ce, we, oe, addr, di, do
);
);
 
 
//
//
// Default address and data buses width
// Default address and data buses width
//
//
parameter aw = 11;
parameter aw = 11;
parameter dw = 32;
parameter dw = 32;
 
 
 
`ifdef OR1200_BIST
 
//
 
// RAM BIST
 
//
 
input                   scanb_rst,
 
                        scanb_si,
 
                        scanb_en,
 
                        scanb_clk;
 
output                  scanb_so;
 
`endif
 
 
//
//
// Generic synchronous single-port RAM interface
// Generic synchronous single-port RAM interface
//
//
input                   clk;    // Clock
input                   clk;    // Clock
input                   rst;    // Reset
input                   rst;    // Reset
Line 112... Line 130...
 
 
//
//
// Internal wires and registers
// Internal wires and registers
//
//
 
 
 
`ifdef OR1200_VIRTUALSILICON_SSP
 
`else
 
`ifdef OR1200_BIST
 
assign scanb_so = scanb_si;
 
`endif
 
`endif
 
 
`ifdef OR1200_ARTISAN_SSP
`ifdef OR1200_ARTISAN_SSP
 
 
//
//
// Instantiation of ASIC memory:
// Instantiation of ASIC memory:
Line 186... Line 210...
// Virtual Silicon Single-Port Synchronous SRAM
// Virtual Silicon Single-Port Synchronous SRAM
//
//
`ifdef UNUSED
`ifdef UNUSED
vs_hdsp_2048x32 #(1<<aw, aw-1, dw-1) vs_ssp(
vs_hdsp_2048x32 #(1<<aw, aw-1, dw-1) vs_ssp(
`else
`else
 
`ifdef OR1200_BIST
 
vs_hdsp_2048x32_bist vs_ssp(
 
`else
vs_hdsp_2048x32 vs_ssp(
vs_hdsp_2048x32 vs_ssp(
`endif
`endif
 
`endif
 
`ifdef OR1200_BIST
 
        // RAM BIST
 
        .scanb_rst(scanb_rst),
 
        .scanb_si(scanb_si),
 
        .scanb_so(scanb_so),
 
        .scanb_en(scanb_en),
 
        .canb_clk(scanb_clk),
 
`endif
        .CK(clk),
        .CK(clk),
        .ADR(addr),
        .ADR(addr),
        .DI(di),
        .DI(di),
        .WEN(~we),
        .WEN(~we),
        .CEN(~ce),
        .CEN(~ce),

powered by: WebSVN 2.1.0

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