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

Subversion Repositories z80control

[/] [z80control/] [trunk/] [CII_Starter_USB_API_v1/] [HW/] [SRAM_16Bit_512K.v] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 tylerapohl
//Legal Notice: (C)2006 Altera Corporation. All rights reserved. Your
2
//use of Altera Corporation's design tools, logic functions and other
3
//software and tools, and its AMPP partner logic functions, and any
4
//output files any of the foregoing (including device programming or
5
//simulation files), and any associated documentation or information are
6
//expressly subject to the terms and conditions of the Altera Program
7
//License Subscription Agreement or other applicable license agreement,
8
//including, without limitation, that your use is for the sole purpose
9
//of programming logic devices manufactured by Altera and sold by Altera
10
//or its authorized distributors.  Please refer to the applicable
11
//agreement for further details.
12
 
13
module  SRAM_16Bit_512K(//      Host Data
14
                                                oDATA,iDATA,iADDR,
15
                                                iWE_N,iOE_N,
16
                                                iCE_N,
17
                                                iUB_N,iLB_N,
18
                                                //      SRAM
19
                                                SRAM_DQ,
20
                                                SRAM_ADDR,
21
                                                SRAM_UB_N,
22
                                                SRAM_LB_N,
23
                                                SRAM_WE_N,
24
                                                SRAM_CE_N,
25
                                                SRAM_OE_N
26
                                                );
27
//      Host Side
28
input   [15:0]   iDATA;
29
output  [15:0]   oDATA;
30
input   [17:0]   iADDR;
31
input                   iWE_N,iOE_N;
32
input                   iCE_N;
33
input                   iUB_N,iLB_N;
34
//      SRAM Side
35
inout   [15:0]   SRAM_DQ;
36
output  [17:0]   SRAM_ADDR;
37
output                  SRAM_UB_N,
38
                                SRAM_LB_N,
39
                                SRAM_WE_N,
40
                                SRAM_CE_N,
41
                                SRAM_OE_N;
42
 
43
assign  SRAM_DQ         =       SRAM_WE_N ? 16'hzzzz : iDATA;
44
assign  oDATA           =       SRAM_DQ;
45
assign  SRAM_ADDR       =       iADDR;
46
assign  SRAM_WE_N       =       iWE_N;
47
assign  SRAM_OE_N       =       iOE_N;
48
assign  SRAM_CE_N       =       iCE_N;
49
assign  SRAM_UB_N       =       SRAM_UB_N;
50
assign  SRAM_LB_N       =       SRAM_LB_N;
51
 
52
endmodule

powered by: WebSVN 2.1.0

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